JSON to TOML Converter
runs in your browserno sign-upfree
Convert JSON to TOML: objects become [tables], lists of objects become [[arrays of tables]]. Values TOML can’t hold, like null, are listed rather than lost.
Converted to TOML
About this tool
Convert JSON to TOML for config files. Objects become [tables], lists of objects become [[arrays of tables]], and everything else becomes key = value lines, quoted where needed. TOML needs an object at the top and has no null, so the converter explains anything it can’t write instead of losing it silently.
How to use
- Paste your JSON into the left box.
- The TOML appears on the right, with a note about any values left out.
- Copy it or download it as a .toml file.
FAQ
Why are some values missing from the TOML?
TOML has no null (empty) value, so keys set to null can’t be written. The converter leaves them out and lists exactly which ones, so you can decide to remove them or give them a value such as "" or false.
Why do I get “TOML needs a table at the top”?
A TOML file is always a table (an object). If your JSON is a list or a single value, wrap it in an object first, e.g. {"items": [ … ]} — the list then becomes [[items]] sections.
Is my config uploaded?
No. Conversion happens in your browser — configs often contain secrets, and they never leave your device.