Code converter

INI to JSON converter

To convert INI to JSON, drop your INI file in the box below. It converts straight away; press Download to save the JSON. It all happens in your browser, so your file stays on your device.

Converted on this device, never uploaded

What changes

INI to JSONWhat happens
SectionsOne object each; keys before any section at the top
Repeated keysKept in order as a list, as key[] = is
ValuesNumbers and true/false as values, or every value as text
Comments; and # are left out

How to convert INI to JSON

  1. Add your INI. Drop the file in the box, or click to choose it. It becomes JSON straight away.
  2. Check the result. Look at the preview and the size. The defaults are right for most files.
  3. Download. Press Download to save the JSON.
Why JSON

Turn an INI file, php.ini, setup.cfg or a Windows program’s settings, into JSON that code and tools can read.

Questions

There is no single INI standard. The ones Windows, PHP, Python and Git files share: [sections], = or :, quotes, ; and # comments, continued lines.

No. It is read and converted in your browser and never uploaded.

No. The conversion happens right in your browser, so your file stays on your device. There is no account to make, either.

Related conversions