JSON to TOML

Convert a JSON object to TOML for Rust, Python and static-site generator configs.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile

How to convert JSON to TOML

  1. Paste your JSON or open a file.
  2. Adjust the options if needed.
  3. Copy the TOML or download it as a file.

Frequently asked questions

Why does conversion fail for a JSON array?

A TOML document must be a table (object) at the top level. Wrap your array in an object, for example {"items": [...]}.

Is my data sent to a server?

No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.

Related tools

All Developer Tools →