Converters

JSON to TOML Converter

Paste JSON below to convert it into TOML.

What does this tool do?

Paste JSON below to convert it into TOML. Everything runs locally using JavaScript in your browser — nothing you paste or upload is ever sent to a server.

How to use this tool

  1. Paste your your json into the left-hand box.
  2. Click Convert to TOML.
  3. Copy the toml output from the right-hand box.

Frequently asked questions

How are nested JSON objects represented?

Each nested object becomes its own [section] table, with dotted paths for deeper nesting, e.g. [database.credentials].

Are arrays supported?

Arrays of simple values (strings, numbers, booleans) are written as inline TOML arrays; arrays of objects aren't supported since TOML's array-of-tables syntax is out of scope for this tool.

Is this a full TOML implementation?

It covers the common subset used in everyday config files — key-values, nested sections, and simple arrays — not the entire TOML spec.