Convert between TOML and JSON in either direction, with validation and formatting.
JSON indent
Input
TOML545 chars · 38 lines
Output
JSONvalid53 lines
Handles tables, nested tables, arrays-of-tables, inline tables, arrays, comments, basic/literal strings, ints/floats/bools, hex/oct/bin, inf/nan. Dates convert to strings (JSON has no date type). TOML has no null type, so JSON null values are flagged as an error rather than silently changed. Everything runs locally in your browser.