A short companion for TOML to JSON: when it is useful, what it expects, and what to check before using the result.

What it does

Convert TOML to JSON, turning tables into nested objects and arrays of tables into arrays. Dates and datetimes are kept as strings in their TOML form.

Use the tool

Open TOML to JSON, add the input the tool asks for, run it, and check the output before using it elsewhere.

Input and output

  • Input: text.
  • Output: text.
  • Category: Formats.

Privacy and processing

Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

Questions

How are TOML dates represented?

JSON has no date type, so they become ISO 8601 strings — the same text, with the type information lost. That is a limitation of the target format.

Related guide

For broader background, see Working With Structured Data.