INI Converter
Convert INI configuration files to JSON and back.
About INI Converter
The INI Converter bidirectionally transforms INI configuration files (using the Windows INI format with [Section] headers and key=value pairs) into JSON objects and back, correctly handling section hierarchies, array values from repeated keys, inline comments, and string type coercion. INI files remain widely used in Windows applications, PHP php.ini, Python configparser, and game engines like Unity and Unreal, while modern tooling often prefers JSON — this converter bridges the two worlds without data loss or manual reformatting.
How to Use
Paste an INI file into the input area and click INI to JSON to convert it to a structured JSON object where each INI section becomes a top-level JSON key containing a nested object of its key/value pairs. To convert in reverse, paste a JSON object and click JSON to INI to generate the equivalent INI file with proper section headers. The tool handles multi-line values with continuation characters and preserves comment lines in roundtrip conversion.
Common Use Cases
- DevOps engineers migrating legacy Windows application or PHP configuration files from INI format to JSON for ingestion by modern config management tools, Kubernetes ConfigMaps, or cloud parameter stores
- Python developers bridging configparser-based INI configs with JSON-based application configs by quickly converting between the two formats without writing a custom parsing script
- Game developers editing Unity, Unreal Engine, or Godot INI configuration files as JSON for easier programmatic manipulation, version diff comparison, or templating in CI/CD pipelines
- Developers converting PHP php.ini or MySQL my.cnf configuration dumps to JSON to query, diff, or process them with jq and other JSON-aware command-line tools
- Technical writers generating human-readable INI documentation from JSON schema objects by converting structured JSON config examples into the familiar INI format that end-users expect