AZ Tools

INI ↔ JSON Converter

Convert

Parses INI input section by section (with dotted section names becoming nested objects), infers numbers, booleans, and null from unquoted values, and respects quoted strings to keep them exact. The reverse direction writes a top-level object as the un-sectioned head, then emits each nested object as its own [section], flattening deeper levels with dotted names. Comments (; or #) are read on input but not preserved on output.

Output

Dotted section names like [server.tls] become nested objects. Quoted values stay strings; bare numbers/booleans/null are inferred.

How to use

  1. Pick a direction (INI → JSON or JSON → INI).
  2. Paste your config on the left.
  3. Copy the result on the right. Switching direction feeds the current output back as input.

Frequently asked questions

Why was my unquoted value turned into a number?
INI has no native types, so the parser infers them: bare integers, floats, true/false, and null are converted. Wrap the value in "..." to keep it a string.
Are comments preserved when going back to INI?
No. JSON has no comment construct, so anything you read in is dropped before the round-trip back. Add comments by hand after exporting.

Related tools