Skip to content
Input
JSON
Limit
1 MiB
Runtime
Browser

Convert strict JSON objects into TOML

Parse strict JSON and serialize a top-level object into TOML with predictable tables, arrays, strings, numbers, and booleans.

Local processingNo sign-upNo content logging

Convert JSON to TOML

Inputs are limited to 1 MiB and stay in this browser tab.

Paste or edit the source. Tool Swim does not upload or save it.

TOML document

Nothing is placed in a URL, account, or remote log.

What this tool does

Strict, bounded, local processing

TOML maps to a root table and has no null value. Incompatible JSON fails instead of dropping a property or turning null into an ambiguous string.

A table-shaped root is required

A JSON array, scalar, or null cannot become TOML's nameless root table. Nested null values also fail because omission and the string null both change meaning.

Generated layout is deliberate

Object members become keys or tables under a fixed serialization policy. Review arrays of objects and nested tables before adopting generated source.

Primary references

Questions and answers

Related TOML tools