JSON to INI
Turn a JSON object into INI config text.
How to use
- 1 Paste a JSON object into the input box.
- 2 Watch the equivalent INI appear on the right.
- 3 Resolve any error messages about arrays or deep nesting.
- 4 Copy the generated INI configuration.
About JSON to INI
The JSON to INI tool reverses the usual flow: it takes a JSON object and writes it out as a tidy INI configuration file.
This is handy when a tool, game or legacy service expects an INI file but your data lives in JSON — from an API response, a build script or a settings export.
Rather than reformatting by hand, you paste the JSON and copy the generated INI.
The mapping follows INI conventions closely.
Top-level scalar properties — strings, numbers and booleans — become global "key = value" lines at the top of the file.
Top-level properties that are themselves objects become "[section]" blocks, with their own key/value pairs indented beneath the header.
Because INI has no agreed way to express arrays or objects nested more than one level deep, the tool flags those cases with a clear, specific error instead of guessing, so you always know exactly what could not be represented.
Output is generated live as you type and can be copied in a single click.
Like every My Tools Garage utility it runs entirely client-side: your JSON is never uploaded, logged or stored, which makes it safe for configuration that contains tokens, hostnames or other private values, and it continues to work offline once the page has loaded.
FAQ
How does it decide what becomes a section?
Top-level properties whose value is an object become "[section]" blocks; scalar top-level properties become global key/value lines above the sections.
Why does it reject arrays?
INI has no standard syntax for arrays or objects nested more than one level deep, so the tool reports those clearly instead of producing ambiguous output.