INI <-> JSON Converter

Convert INI config files into readable JSON, or turn JSON objects back into INI sections and keys.

Last updated: June 2026 | By Patchworkr Team

Result
5
JSON
3

Parse key/value pairs and section headers into JSON.

{
  "name": "Patchworkr",
  "version": "1.0.0",
  "server": {
    "host": "localhost",
    "port": "4321",
    "secure": "false"
  }
}

Quick Reference

SectionKeyValue
(root)namePatchworkr
(root)version1.0.0
serverhostlocalhost
serverport4321
serversecurefalse

What does INI conversion do?

INI files are simple configuration files made from sections and key/value pairs. This tool can normalize them into JSON and flatten JSON objects back into an INI-friendly format.

How to use it

INI to JSON

Paste an INI file with optional sections and turn it into a readable JSON object.

JSON to INI

Use a JSON object with top-level keys and nested objects, then convert it into sectioned INI text.

Example

Patchworkr Config

[server] host=localhost port=4321
Ready for config files
Format Foundry

Related Tools