CurlyJSON
Tools

JSON to TOML Converter

Paste JSON — get TOML for Cargo, pyproject.toml, Hugo or Netlify config files.

JSON
TOML

JSON to TOML, without surprises

Converters often change your data quietly. This one keeps values exact and tells you whenever something can’t be carried over.

Hand-written style
[tables] and [[array tables]] instead of long inline objects.
Nothing silent
Values TOML can’t represent are listed, not quietly dropped.
Exact numbers
Integers are kept exactly, up to TOML’s 64-bit limit.
Private & free
Runs in your browser — config files with secrets never leave your computer.
Paste, drop or open
Drop a .json file anywhere on the input, or switch direction with one click.

Frequently asked questions

What happens to null values?+

TOML has no null, so keys with null values are left out — and CurlyJSON tells you, so nothing disappears silently.

Can I convert a JSON array?+

TOML files must be a table (an object) at the top level. Wrap the array in an object first, like {"items": [...]}.

How are nested objects written?+

As [section] tables, and arrays of objects as [[section]] array tables — the way Cargo.toml and pyproject.toml are written by hand.

Is my data uploaded?+

No. Conversion runs in your browser.