TOML to JSON help

TOML to JSON reads a TOML document into a JSON structure and writes a JSON object back out as TOML.

Steps

  1. Paste your TOML or JSON and pick the direction.
  2. Read the converted output.
  3. Copy the result.

Common questions

Is this a full TOML implementation?

No. It is a practical subset that handles the cases most config files use. Very unusual TOML may not round-trip.

How are dates handled?

Datetime and time values are kept as strings, since JSON has no date type.

Does it preserve comments?

No. Comments are dropped, like in most format converters.

Everything runs in your browser. Nothing you enter or drop is uploaded.

Back to TOML to JSON