INI Parser & Formatter Free Online
Parse, validate, and convert INI files to JSON. Explore sections and keys, format your .ini config, and get a clean JSON representation. Runs entirely in your browser.
INI Input
JSON Output
Section Explorer
Pro — INI to TOML/YAML, multi-file merge, diff view, API access
API access · Priority queue · Team workspace
How It Works
Paste Your INI
Paste any .ini or .cfg config file into the input panel. You can also click Sample to load a typical INI with multiple sections, comments, and key=value pairs.
Explore Sections
The Section Explorer lists every section and its keys with their values. This gives you an instant overview of the config structure without having to scroll through the raw text.
Copy JSON
The parsed INI is shown as pretty-printed JSON with each section as an object. Click Copy JSON to put it on your clipboard, ready for use in code or other conversion tools.
INI Parser Features
Parse, explore, and convert INI config files to JSON in one tool
Full INI Support
Parses sections ([section]), key=value and key: value pairs, inline comments (# and ;), blank lines, and global (no-section) keys. Handles both Windows and Unix line endings.
Section Explorer
Every section and its keys are listed in a structured explorer view, making it easy to find any key without searching through long raw config files.
JSON Conversion
The parsed INI is output as pretty-printed JSON with each section as a nested object, making it easy to use INI config data in APIs, scripts, and JavaScript.
Real-Time Parsing
Results update as you type — no submit button needed. Instantly see how any edit changes the section structure and the JSON output.
Validation
Duplicate keys and malformed lines are flagged with a status badge so you can fix problems before deploying config files to servers or CI/CD pipelines.
100% Offline
All parsing runs in your browser. No config data — including passwords, tokens, or DB connection strings — is ever sent to a server.
Free vs Pro
| Feature | Free | Pro |
|---|---|---|
| INI parsing & validation | ||
| JSON conversion | ||
| Section explorer | ||
| INI → TOML / YAML conversion | — | |
| Multi-file merge | — | |
| REST API access | — |
Frequently Asked Questions
An INI file is a plain-text configuration format that organises settings into named sections ([section]) containing key=value pairs. It is used by Windows system files, Python's configparser, PHP, many games, and classic desktop apps.
Both # and ; are recognised as comment prefixes. Inline comments (key=value ; comment) are also stripped. Comments are excluded from the JSON output but are visible in the raw input.
Yes. Keys that appear before any section header are grouped under a special "global" key in the JSON output, keeping them separate from section keys.
If the same key appears more than once in a section, the last value wins (standard behavior). A warning is shown in the status badge so you are aware of the duplication.
Common extensions include .ini, .cfg, .conf, .inf, and .properties (Java). The parser works on all of these as long as they follow the key=value under [section] structure.
No. All parsing runs in your browser with JavaScript. Nothing is transmitted to any server, keeping credentials, API tokens, and database passwords in your config completely private.