TOML to JSON Converter

Convert TOML (Cargo.toml, pyproject.toml, Hugo and Netlify config) to JSON. Tables, arrays of tables and dates are all supported (TOML 1.0).

How it works

TOML is parsed with a TOML 1.0 compliant parser. Dates and times become ISO 8601 strings in JSON; 64-bit integers beyond 2^53 are shown as strings to avoid precision loss.

Everything above runs in JavaScript inside this tab. Your data is not uploaded. Inputs are remembered in this browser only so they survive a reload; you can switch that off on the privacy page.

Questions

What happens to TOML datetimes?

JSON has no date type, so they become ISO 8601 strings such as "1979-05-27T07:32:00Z".

Is my TOML sent to a server?

No. Conversion happens in your browser. The only network request is the optional AI explanation when your input has an error and you ask for it.