INI to JSON Converter

Convert INI settings text into JSON. Each [section] becomes a nested object, and each key keeps its name and value.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the INI to JSON Converter

  1. Paste or type your INI text into the box.
  2. Choose whether to keep values as text or convert true, false and numbers.
  3. Pick an indent style and copy the JSON output.

Frequently asked questions

What is an INI file?

An INI file is a plain text settings file. It groups keys under [section] headers and writes each setting as key=value. Lines that start with ; or # are comments.

How are INI sections shown in JSON?

Each section becomes a nested object under its name. Keys that appear before the first section go at the top level of the JSON.

Why are my numbers and booleans in quotes?

INI values are plain text, so they stay strings by default. Choose the convert option to write true, false and numeric values as JSON booleans and numbers.

What happens to repeated keys?

The INI format has no standard list type. If a key appears more than once in the same section, the last value is kept.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.