Skip to content

JSON to INI Converter

JSON into INI sections — dotted section names for nesting, three list styles.

Drop a JSON file here, or click to choose one

Converted on your device — the file is never uploaded

INI

Quick Tool Overview

The JSON to INI Converter writes JSON as an INI file: objects become [sections], deeper objects become dotted sections, and arrays take whichever of three list styles your reader expects.

What it does
Converts JSON to INI configuration
You give it
A JSON object
You get back
An INI file with sections and keys
Best for
php.ini-style and desktop application config
Converters Free, unlimited use No sign-up Runs in your browser

About the JSON to INI Converter

INI files refuse to die: php.ini, my.cnf, Git config, desktop entries, countless Windows and game settings all use the same simple sections-and-keys format. When the settings you have are JSON — from an API, an export or a modern config — you need them rewritten in a shape those readers understand.

Paste JSON and get INI. Top-level values are written first, objects become [sections], and objects inside objects become dotted sections such as [database.options] — the nesting convention PHP’s parse_ini_file, Python’s configparser and most other readers follow. Arrays can be written as repeated key[] lines in PHP style, as numbered key[0] entries, or joined onto a single comma-separated line. Values containing ; # = or a quote are quoted, because an unquoted ; starts a comment and would silently truncate the value.

Key features of the JSON to INI Converter

Dotted sections

Nested objects become [database.options], the convention most INI readers use.

Three list styles

key[] for PHP, key[0] for indexes, or one comma-separated line.

Comment-safe values

Values containing ; or # are quoted so they are not truncated when read back.

Boolean style

Write true/false or on/off to match what the reader expects.

Optional header

Add a generated-on comment at the top of the file.

How to use the JSON to INI Converter

  1. 1

    Paste the JSON

    It must be an object — an INI file is a set of named keys.

  2. 2

    Choose the list style

    key[] for PHP, key[0] for numbered entries, or one comma-separated line.

  3. 3

    Pick the details

    true/false or on/off, spaces around the equals sign, an optional header comment.

  4. 4

    Copy or download the .ini

    Drop it into your application or service configuration.

Frequently asked questions

One level becomes a [section]. Deeper levels become dotted sections such as [database.options], which PHP, configparser and most INI readers understand as nesting.

Reviews of the JSON to INI Converter

What people who use the JSON to INI Converter think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the JSON to INI Converter. It takes half a minute and no account.

Write the first review

More converters