INI Parser
Parse and convert INI configuration files to JSON instantly. Supports sections, comments, and quoted values. All processing done in your browser.
Parsed JSON will appear here...
How to Use INI Parser
Paste INI
Enter or paste your INI configuration content into the input area.
Parse
Click the Parse button to convert your INI to JSON.
Copy JSON
Review the generated JSON output and copy it to your clipboard.
What is an INI File?
INI files are a simple text-based configuration file format commonly used on Windows and in many applications. They use a straightforward structure of sections, keys, and values that is easy for both humans and machines to read.
INI Structure
Sections
Denoted by [section_name] headers to group related settings
Key-Value Pairs
Simple key = value assignments within sections or globally
Comments
Lines starting with ; or # are treated as comments
Frequently Asked Questions
This parser supports sections, key=value pairs, comments (using ; or #), quoted string values, and multiline values. It also handles boolean and numeric type detection.
This parser handles standard INI format. Some PHP-specific extensions like constant substitution and special operators may not be supported.
When duplicate keys are found in the same section, the last value takes precedence. This follows standard INI parsing behavior.