Data tools

TOML / JSON Converter

Convert TOML (Tom's Obvious Minimal Language) and JSON (JavaScript Object Notation) with explicit value rules.

Runs locally

Direction

  • TOML to JSON: convert Tom’s Obvious Minimal Language to JavaScript Object Notation. Dates and times become strings with their original local or offset meaning. Fractions support up to three digits; quote more precise timestamps.
  • JSON to TOML: convert a top-level object. Strings stay strings, including dates. Null values and unsafe integers are rejected. Comments and layout are not preserved.
Combined input: up to 1 MB. Output: up to 2 MB. Files stay in your browser.
Guide

Convert between TOML (Tom’s Obvious Minimal Language, a configuration format) and JSON (JavaScript Object Notation). Choose the direction that matches your source and review how the supported data values are represented.

  1. Add your documents

    Paste into Input, choose an example or use Open file. Files stay in your browser.

  2. Choose and run

    Choose the format options above the fields. The result updates automatically. Changing conversion direction clears the input to avoid interpreting it in the wrong format.

  3. Read and keep the result

    Read Output. Copy output or Download keeps the result; errors explain what needs changing.

On mobile, choose Output to read the result. Clear removes both fields.

Direction

  • TOML to JSON: convert Tom’s Obvious Minimal Language to JavaScript Object Notation. Dates and times become strings with their original local or offset meaning. Fractions support up to three digits; quote more precise timestamps.
  • JSON to TOML: convert a top-level object. Strings stay strings, including dates. Null values and unsafe integers are rejected. Comments and layout are not preserved.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
Does this preserve every detail?
Conversion preserves the supported values, not original formatting. JSON object order is irrelevant to comparison. Ordered XML keeps mixed content; table cells stay text. Read Guide for the exact rules before converting.
Is my document uploaded or remembered?
No. Documents, schemas, paths and results stay in this tab and are not saved between visits. Only safe conversion and table settings may be remembered on this device.
What limits apply?
Combined input is limited to 1 MB, output to 2 MB and nesting to 100 levels. Processing stops after five seconds. Large results show a shortened preview; Download retains the complete successful output. Tool-specific limits and supported options are listed in Guide.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.