INI to JSON
Convert INI files to JSON.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout INI to JSON
Free online INI to JSON converter. Parse INI configuration files and convert them to structured JSON format. It runs in your browser. Nothing is sent to a server.
Questions
What is an INI file?
An INI file is a simple configuration format with section headers in [brackets] and key=value pairs. It has been used since early Windows and DOS systems and is still common in many applications.
How are INI sections represented in JSON?
Each INI section becomes a nested JSON object. For example, [database] with host=localhost becomes { "database": { "host": "localhost" } }. Keys outside any section go into the root object.
Does the INI parser handle comments?
Yes, lines starting with ; or # are treated as comments and are skipped during parsing. Comments are not included in the JSON output since JSON does not support comments.
Can I convert PHP ini files with this tool?
Yes, the parser handles standard INI syntax used by PHP (php.ini), MySQL (my.cnf), and other applications. Section headers and key=value pairs are parsed the same way regardless of the source application.
Comments
More in Number & Data Converters
- Unix Timestamp Converter
- Number Base Converter
- Byte Converter
- CRON Expression Parser
- Temperature Converter
- Length Converter
- Weight Converter
- Speed Converter
Comments