Free JSON to INI — sections · key=value · auto-quoting

Convert JSON to INI
Objects become
[sections] instantly.

Convert any JSON object to INI config format. Root scalars first, objects become [sections]. Configurable separator and comment style. Runs entirely in your browser.

Your data never leaves your browser
Objects → [sections]
Auto-quotes special chars
Always free
JSON to INI Converter   100% client-side
JSON input
  INI ready

      

JSON to INI conversion rules

JSONINI outputNotes
"key": "value" at rootkey = valueRoot scalars — placed before any sections
"section": {...}[section]
key = val
Objects become section headers
4242Numbers without quotes
true / falsetrue / falseBooleans as literals
nullkey =Null → empty value
"hello world""hello world"Quoted when contains spaces or ; # = :
[1, 2, 3][1, 2, 3]Arrays as JSON string (INI has no array type)

All data & config formats tools

JSON to valid INI
in your browser. No upload.

Root-level scalar values are placed before any sections — matching the convention of most INI parsers that expect global settings first. Nested objects inside sections are flattened with dot notation since INI has no native sub-section syntax. Values with spaces, semicolons, hashes or equals signs are automatically double-quoted.

Correct INI ordering

Root scalars before sections — the convention expected by configparser, php.ini and most INI parsers.

Auto-quoting

Values with spaces, ; # = : characters are automatically wrapped in double quotes.

Configurable style

Choose = or : separator, ; or # comments, and whether to include a generated-by header.

52 tools, always free

No watermarks, no account. Funded by non-intrusive display advertising only.

Frequently asked questions

How does JSON to INI conversion work?

Root-level scalar values (strings, numbers, booleans, null) are placed at the top without a section header. Each root-level object property becomes an INI [section] containing its key=value pairs. Arrays are serialized as JSON strings since INI has no native array type.

What happens to deeply nested JSON?

INI format only supports one level of nesting (sections with flat key-value pairs). Objects nested inside sections are flattened with dot notation: {database: {connection: {host: "localhost"}}} becomes [database] with connection.host = localhost.

Is the JSON to INI converter free?

Yes, completely free. No account required.
Go up