Category: Developer tools

JSON to INI

System ideaMissing a tool?

Convert a JSON object into INI config text

Paste a JSON object to generate INI text: top-level scalar values become global keys, and top-level objects become `[section]` blocks. Runs entirely in your browser.

INI text
debug=false

[server]
host=localhost
port=8080

[database]
name=app_db
user=admin

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

This is the reverse of INI to JSON: a scalar property at the top level (a string, number or boolean) is written as a global `key=value` line before any section, and an object property becomes a `[section]` header followed by its own keys. A value nested two levels deep is flattened to `key.subkey=value` inside its section, since INI itself has no further nesting.

How to use it

  1. Paste a JSON object, or load the example.
  2. Review the generated INI text, or the error if the input isn't a JSON object.
  3. Copy the INI result.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Is my JSON uploaded anywhere?
No. Generation happens in JavaScript running in the page, so nothing you paste ever leaves your device.
What happens to arrays?
An array value is written as a single comma-separated line, since INI has no native list syntax that every reader agrees on.
Does it support deeply nested objects?
Only one level of nesting inside a section is flattened to `key.subkey`; INI is a flat format, so deeper structures should be reshaped before converting.