PapaTools

Free TOML to JSON Converter

Something not working? Report a problem

About the TOML ↔ JSON Converter

Convert TOML to JSON and JSON back to TOML instantly — with pretty-print and clear error messages for invalid input, all in your browser with no upload.

How to use the TOML ↔ JSON Converter

  1. 1Pick the direction: TOML → JSON or JSON → TOML.
  2. 2Paste your document — the conversion appears instantly.
  3. 3Any syntax errors are shown with the location in the input.
  4. 4Click Copy to grab the result.

Frequently asked questions

What is TOML?

TOML (Tom's Obvious, Minimal Language) is a config file format designed to be easy to read. It's used by Rust (Cargo.toml), Python packaging (pyproject.toml), Hugo, and many other tools.

Are TOML comments preserved when converting to JSON?

No — JSON has no comment syntax, so comments are dropped. Everything else (strings, integers, floats, booleans, arrays, tables) converts faithfully.

What TOML version is supported?

TOML v1.0, the current stable specification.

Is my data uploaded anywhere?

No. Conversion runs entirely in your browser using the smol-toml library — nothing leaves your device.

More file converters

View all