Apps / File & Data Converters / .ini ↔ JSON Converter

πŸ—‚ .ini ↔ JSON Converter

Convert an INI config file to a nested JSON object β€” one level per [section] β€” or JSON back to INI. Nothing leaves your browser.

INI β†’ JSON: each [section] becomes a top-level JSON key holding its key=value pairs; any keys that appear before the first section header are collected under a special top-level key, "(global)". Comments starting with ; or # and blank lines are ignored. JSON β†’ INI: a "(global)" key (or any scalar top-level key) is written before any section headers; other object-valued top-level keys become [section] blocks. INI has no native nesting β€” a value that is itself an object/array is embedded as JSON text in one line.

1. Input

2. Result