Skip to content
Input
TOML
Limit
1 MiB
Runtime
Browser

Convert TOML to strict JSON without hidden coercion

Translate TOML tables, arrays, and compatible scalars into strict JSON while exposing representation gaps instead of silently changing values.

Local processingNo sign-upNo content logging

Convert TOML to JSON

Inputs are limited to 1 MiB and stay in this browser tab.

Paste or edit the source. Tool Swim does not upload or save it.

JSON document

Nothing is placed in a URL, account, or remote log.

What this tool does

Strict, bounded, local processing

TOML and JSON do not share an identical type system. Date-times, 64-bit integers, infinity, and NaN must remain visible at the conversion boundary.

Conversion policy protects exact values

JSON has no native TOML date-time, NaN, or infinity values. Large integers can also exceed JavaScript's exact numeric range, so unsupported values produce explicit diagnostics.

Comments are not JSON data

TOML comments and table presentation do not appear in JSON. Keep the source when annotations matter to maintainers.

Primary references

Questions and answers

Related TOML tools