Converters

TOML to JSON Converter

Paste TOML below to convert it into JSON.

What does this tool do?

Paste TOML below to convert it into JSON. Everything runs locally using JavaScript in your browser — nothing you paste or upload is ever sent to a server.

How to use this tool

  1. Paste your toml input into the left-hand box.
  2. Click Convert to JSON.
  3. Copy the json output from the right-hand box.

Frequently asked questions

What TOML features are supported?

Key-value pairs, [section] and [nested.section] tables, strings, numbers, booleans, and inline arrays of simple values.

Are arrays of tables ([[table]]) supported?

No — this converter covers everyday config-style TOML (as used by Cargo.toml or pyproject.toml) but doesn't parse the array-of-tables syntax or multi-line strings.

Where is TOML commonly used?

TOML is the config format for tools like Rust's Cargo, Python's pyproject.toml, and Hugo — converting to JSON makes that config easy to consume programmatically.