utilities.dev

INI JSON Converter

Convert between INI config format and JSON for settings and config workflows.

Conversion runs in your browser; your config data is never sent to a server.

Conversion Direction
Choose whether to convert INI to JSON or JSON to INI
Input INI
Paste your INI config here
Output JSON
Converted JSON result

How to use this tool

  1. Paste INI or JSON into the input area.
  2. Choose INI to JSON or JSON to INI and click Convert.
  3. Copy the result for config migration or API use.

About INI JSON Converter

This utility helps you move between INI (common in Windows configs, PHP, and legacy apps) and JSON (common in modern APIs and Node configs). Use it when migrating config files, normalizing settings for APIs, or debugging config structure.

Common use cases

  • Migrating legacy INI configs to JSON-based systems
  • Converting JSON settings to INI for PHP or Windows apps
  • Normalizing config structure for API or tool integration

FAQ

What is the difference between INI to JSON and JSON to INI?
INI to JSON reads section headers and key=value pairs, producing a nested object. JSON to INI does the reverse, turning an object with string keys and nested objects into INI sections and key=value lines.
Is my config data sent to a server?
No, all conversion happens in your browser. Your INI or JSON config never leaves your device.
Does it support INI comments and empty lines?
Yes, lines starting with ; or # and empty lines are ignored when parsing INI. Comments are not preserved when converting JSON back to INI.
Why does my JSON to INI output have a different section order?
Section order is sorted alphabetically with the global section first. JSON object key order is not guaranteed, so we normalize for deterministic output.

Related tools