Skip to content
LovelyTools
EN

INI to JSON Converter

Convert INI configuration files to JSON.

Processed locally on your device — nothing is uploaded.

About the INI to JSON Converter

INI files are still used by PHP, Windows apps, Git, Python’s configparser and many games. Paste one and get JSON: each [section] becomes an object, dotted sections like [server.tls] become nested objects, and key[] = value lines become arrays.

Comments starting with ; or # are ignored, and numbers and true/false can be converted to real JSON types.

How to use the INI to JSON Converter

  1. Paste an INI file.
  2. Choose whether to convert value types.
  3. Copy or download the JSON.

Features

  • Sections and nested sections
  • Array keys (key[])
  • Comment handling
  • Optional type conversion

Supported formats

  • Plain text

Frequently asked questions

Are duplicate keys merged?

The last value wins, except for key[] entries, which are collected into an array.

Is my text sent anywhere?

No. Everything runs in your browser, so nothing you paste is uploaded or stored.