INI to JSON
Convert INI config files into clean JSON.
How to use
- 1 Paste or type your INI configuration into the input box.
- 2 Choose your preferred JSON indentation.
- 3 Read the converted JSON on the right.
- 4 Copy the JSON to your clipboard.
About INI to JSON
The INI to JSON tool turns classic INI configuration files into structured JSON you can drop straight into modern apps, APIs and scripts.
INI is still everywhere — desktop apps, game configs, PHP settings, Git config and countless legacy services rely on its simple "[section]" and "key = value" layout.
JSON, on the other hand, is the lingua franca of web tooling, so converting between the two is a common chore.
Paste your INI text on the left and the JSON appears instantly on the right.
Each "[section]" header becomes a nested object, and every key/value pair under it becomes a property of that object.
Top-level keys that appear before any section are kept at the root.
The parser is smart about types: it recognises true and false as booleans and whole or decimal numbers as numbers, while matching single or double quotes around a string are stripped automatically.
Comment lines starting with ";" or "#" and blank lines are ignored, just like a real INI reader.
You can choose two-space, four-space or minified output, then copy the result with one click.
Everything happens locally in your browser, so even sensitive credentials in a config file never leave your machine, and the tool keeps working offline once loaded.
FAQ
How are INI sections represented in JSON?
Each "[section]" header becomes a nested object whose properties are the key/value pairs beneath it. Keys before any section stay at the root level.
Are values typed automatically?
Yes. true/false become booleans and numeric values become numbers; everything else is treated as a string, with surrounding quotes removed.
Is my configuration uploaded anywhere?
No. Parsing happens entirely in your browser, so secrets and credentials never leave your device.