Skip to main content

JSON to INI

New

Convert JSON data to INI configuration file format.

convertiniconfig
Read the guide
Shortcuts:⌘ KSearch

Frequently Asked Questions

Why are some keys outside any section in the INI output?

Top-level primitive values stay as plain `key = value` lines by default. If you want those wrapped, enable the option that puts top-level primitives inside a `[general]` section.

How are nested objects represented in an INI file?

Top-level objects become sections like `[database]`. Anything deeper is flattened with dotted keys inside that section, such as `connection.host = localhost`.

What happens to arrays when converting JSON to INI?

You can choose comma-separated output like `ports = 5432, 5433` or repeated keys like `ports[] = 5432`. The setting only changes array formatting; the rest of the object structure stays the same.

Why does the tool reject my JSON array at the root?

This converter only accepts a JSON object as the root value. Arrays, numbers, strings, and booleans at the top level trigger the `JSON input must be an object` error.

Does it quote strings or preserve null specially?

Not really. Booleans and numbers are stringified as-is, and null or undefined become empty values. The tool does not add INI-specific escaping or quoting rules for special characters.

Related Tools