INI ↔ JSON converter

Convert INI config files to JSON and back — sections nest, dotted keys flatten.

Direction

Converted in this browser. Nothing is sent anywhere.

INI up to 200,000 characters / 50,000 lines. [section.sub] headers nest into objects; values coerce to number/boolean when they look like it, and duplicates keep the last value. →INI direction expects a JSON object and emits dotted section names for nested objects; keys that can't be expressed in INI are skipped with a ; comment.

How to use

  1. Pick a direction.
  2. Paste the INI or JSON.
  3. Copy the result.

What it supports

INI up to 200,000 characters / 50,000 lines. [section.sub] headers nest into objects; values coerce to number/boolean when they look like it; duplicate keys keep the last value. →INI expects a JSON object and emits dotted section names for nesting; keys that can't be expressed in INI are skipped with a ; comment. Comments and quoting styles are normalized away.

Related tools

Related guides