JSON to TOML

Convert a JSON object into a TOML config file, with control over how null values are handled.

Runs entirely in your browser. Nothing you type is uploaded, stored or sent to analytics.

Limit reached: only the first 1,000,000 characters are kept. Split the data into smaller parts.

About this tool

  • TOML needs a JSON object at the top level. Nested objects become tables and arrays stay arrays.
  • TOML has no null. Choose to leave null values out, turn them into empty strings, or stop with an error.
  • Numbers keep their value, but TOML distinguishes integers from floats, which JSON does not.

Limits

To keep your browser responsive, input is limited to 1,000,000 characters, 200 levels of nesting and 300,000 values.