INI to JSON Converter
Paste an INI file to get JSON instantly. Sections become nested objects, comments are dropped and values can be coerced to numbers and booleans. Your data stays in your browser.
How to convert INI to JSON
- Paste or type your INI config. Use [section] headers to group keys.
- Toggle Parse values to keep numbers and booleans typed, or leave everything as strings.
- Copy the JSON or download it as a .json file.
Examples
Sections become nested objects
[db] host=localhost port=5432 ; comment ssl=true
{
"db": {
"host": "localhost",
"port": 5432,
"ssl": true
}
}Frequently asked questions
Is my INI file uploaded anywhere?
No. The conversion runs entirely in your browser, so your config never leaves your device.
How are sections handled?
Each [section] header becomes a nested object in the JSON. Keys that appear before any section land at the top level.
What happens to comments and blank lines?
Lines starting with ; or # are treated as comments and dropped, and blank lines are ignored.
Are numbers and booleans converted?
With Parse values on, true and false become real booleans and numeric values become numbers. Turn it off to keep every value as a string.
Does it support key: value as well as key=value?
Yes. Both the equals and colon separators work, and surrounding single or double quotes are stripped from values.
What if a key appears twice?
The last value wins. Repeated [section] headers are merged into the same object rather than overwritten.
Related tools
YAML to JSON
Convert YAML to JSON online. Paste YAML and get clean, pretty-printed JSON with the indentation you choose. Runs entirely in your browser.
JSON to CSV
Convert JSON to CSV online. Paste an array of objects and get clean, spreadsheet-ready CSV with the right headers. Runs in your browser.
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.
Binary to Hex
Convert binary to hexadecimal online. Paste a binary number and get exact hex, with optional uppercase. Handles huge values. Runs in your browser.
Celsius to Fahrenheit
Convert Celsius to Fahrenheit instantly. Type a temperature in C and get F, with the formula and a quick reference table. Runs in your browser.