Convertur

Convert TOML to JSON

Convert TOML config files into pretty-printed JSON — parsed locally with smol-toml, nothing uploaded.

Loading tool…

Why convert TOML to JSON?

Read a Cargo.toml or pyproject.toml from a script that only understands JSON, or inspect a config's exact structure as strict JSON.

How the conversion works

Convertur parses the TOML with smol-toml, turning tables into objects and TOML arrays into JSON arrays, then pretty-prints the result.

Quality & compatibility notes

TOML dates become ISO-8601 strings in JSON. Invalid TOML returns a clear parse error rather than partial output.

How to toml to json

  1. Drop a .toml file into the zone above, or paste TOML into the text tab.
  2. Press Convert to parse it locally in your browser.
  3. Preview the JSON, then download it.

Related converters

TOML to JSON — FAQ