Category: Developer tools
INI to JSON
Convert INI config files into JSON locally
Paste INI text with `[section]` headers, `key=value` pairs and `;` or `#` comments to convert it into a JSON object. Runs entirely in your browser.
{
"server": {
"host": "localhost",
"port": "8080"
},
"database": {
"name": "app_db",
"user": "admin"
}
}Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
INI is a simple config format used by many desktop apps, build tools and legacy services: keys before any section header become top-level values, and each `[section]` groups the keys that follow it until the next header. This tool parses that structure, skips full-line comments starting with `;` or `#`, and strips a single layer of matching quotes from a value, producing a JSON object with one property per section (plus any global keys) so the config can be read by JavaScript or fed into a JSON-based tool.
How to use it
- Paste INI text, or load the example.
- Review the parsed JSON, or the error if a line couldn't be read.
- Copy the JSON result.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my INI file uploaded anywhere?
- No. Parsing happens in JavaScript running in the page, so nothing you paste ever leaves your device.
- What happens to keys before the first section?
- They become top-level properties of the JSON object, alongside one property per section, matching how most INI readers treat global keys.
- Are values converted to numbers or booleans?
- No, every value stays a string, since INI has no native type system; convert specific fields afterwards if your use case needs numbers or booleans.