TOML to JSON Converter
runs in your browserno sign-upfree
Convert TOML config files (Cargo.toml, pyproject.toml, Hugo, Netlify) to JSON — tables, arrays of tables, dates and big integers handled exactly. TOML 1.0.
Converted to JSON
About this tool
Convert TOML to JSON instantly. Paste a Cargo.toml, pyproject.toml, Hugo or Netlify config and get the same data as JSON: [tables] become objects, [[arrays of tables]] become lists, inline tables, dotted keys and multi-line strings are all supported (TOML 1.0). Errors are shown with their line, and nothing leaves your browser.
How to use
- Paste your TOML into the left box.
- The JSON appears on the right — choose the indent.
- Copy it or download it as a .json file.
FAQ
What is TOML?
TOML (Tom’s Obvious Minimal Language) is a config-file format designed to be easy to read: key = value pairs grouped under [section] headers. Rust (Cargo.toml), Python (pyproject.toml), Hugo, Netlify and many other tools use it.
How are dates and big numbers handled?
TOML dates and times become text in the standard format (e.g. 1979-05-27T07:32:00-08:00), keeping the time zone. Integers beyond JavaScript’s safe range (up to TOML’s 64-bit limit) are kept exact. inf and nan have no JSON equivalent and become null — you’ll get a note.
Is my config uploaded?
No. Conversion happens in your browser — configs often contain secrets, and they never leave your device.