About INI to JSON

INI to JSON converts between the INI config format and JSON. Section headers become nested objects, a dotted section name nests further, and keys before any section sit on the root.

Values stay as strings unless you turn on type coercion. It runs in your browser.

How to use it

  1. Paste your INI or JSON and pick the direction.
  2. Turn on type coercion if you want 8080 and true read as a number and a boolean.
  3. Copy the result.

Common questions

Which comment styles are supported?

Lines starting with a semicolon or a hash, and a trailing comment after a value.

How are nested objects written back to INI?

As dotted section names, so a JSON object at server.tls becomes a [server.tls] section.

Does it keep key order?

Yes, both directions preserve the order the keys appear in.

Does anything leave my browser?

No. The tool runs entirely on this page.