Free · Private · In-Browser

INI To JSON

Convert INI sections and key-value pairs into JSON.

Output
 

Convert INI to JSON

INI files organize config into sections and key-value pairs, but most programs and APIs want JSON. This converter parses INI sections and keys into a structured JSON object, so you can move legacy or tool config into a format your code can consume.

It handles the common INI conventions and produces clean, nested JSON. Paste your INI contents, get the JSON equivalent, and copy it — useful for migrating configuration or inspecting an unfamiliar settings file.

Sections to JSON, locally

It maps INI sections to nested objects and key-value pairs to properties, ready for code that expects JSON. Converted in your browser with nothing sent to a server.

Frequently asked questions

How are INI sections converted?

Each [section] becomes a JSON object, and the key=value lines under it become its properties.

Are values converted to numbers or booleans?

No. Values stay as strings, because INI has no types. Convert them in your code if needed.

Which comment styles are supported?

Lines starting with ; or # are ignored.

Take it further
Developer Tools

Practical utilities for everyday web development work.

Learn more