Convert JSON to TOML configuration format instantly in your browser. Ideal for Cargo.toml, pyproject.toml and Helm values. Swap to TOML→JSON in one click.
The JSON to TOML converter transforms JSON documents into TOML configuration format using smol-toml — a lightweight, spec-compliant TOML 1.0 parser and serialiser. JSON objects become TOML tables (`[section]`), nested objects become dotted keys or sub-tables, and arrays of objects become TOML arrays of tables (`[[section]]`). Both editors are live — edit JSON and TOML updates instantly, or edit TOML and JSON regenerates. Swap direction with one click.
QDoes TOML support the same types as JSON?
TOML supports strings, integers, floats, booleans, datetimes, arrays, and tables. All JSON primitive types map cleanly. TOML also has a dedicated datetime type, but JSON dates encoded as ISO 8601 strings are output as TOML strings.
QHow are JSON arrays of objects handled?
Arrays of objects become TOML arrays of tables using the `[[section]]` syntax, which is the idiomatic TOML representation.
QIs my data sent to a server?
No. All conversion runs in a Web Worker inside your browser. Nothing is transmitted to any server.