INI to JSON Converter

Paste any INI or CFG configuration file and instantly get a clean, valid JSON equivalent.

Copied!

Summary

Paste any INI or CFG configuration file and instantly get a clean, valid JSON equivalent.

How it works

  1. Paste or type your INI content into the input panel.
  2. The converter parses sections (bracketed headers) and key-value pairs.
  3. Comments starting with ; or # are stripped from the output.
  4. Numeric values and booleans are cast to their native JSON types.
  5. The resulting JSON appears in the output panel ready to copy.

Use cases

  • Convert legacy application config files to modern JSON format.
  • Transform PHP or Python INI settings for use in Node.js projects.
  • Migrate Windows Registry exports (.ini format) to JSON.
  • Debug and inspect configuration files in a readable tree structure.
  • Prepare config data for ingestion into JSON-only APIs or pipelines.
  • Convert game configuration files that use INI format to JSON.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu