Boneyard Tools

INI to JSON Converter

Paste an INI file to get JSON instantly. Sections become nested objects, comments are dropped and values can be coerced to numbers and booleans. Your data stays in your browser.

How to convert INI to JSON

  1. Paste or type your INI config. Use [section] headers to group keys.
  2. Toggle Parse values to keep numbers and booleans typed, or leave everything as strings.
  3. Copy the JSON or download it as a .json file.

Examples

Sections become nested objects

[db]
host=localhost
port=5432
; comment
ssl=true
{
  "db": {
    "host": "localhost",
    "port": 5432,
    "ssl": true
  }
}

Frequently asked questions

Is my INI file uploaded anywhere?

No. The conversion runs entirely in your browser, so your config never leaves your device.

How are sections handled?

Each [section] header becomes a nested object in the JSON. Keys that appear before any section land at the top level.

What happens to comments and blank lines?

Lines starting with ; or # are treated as comments and dropped, and blank lines are ignored.

Are numbers and booleans converted?

With Parse values on, true and false become real booleans and numeric values become numbers. Turn it off to keep every value as a string.

Does it support key: value as well as key=value?

Yes. Both the equals and colon separators work, and surrounding single or double quotes are stripped from values.

What if a key appears twice?

The last value wins. Repeated [section] headers are merged into the same object rather than overwritten.

Related tools