Syntax errors with line and column. Pretty-print with 2- or 4-space indent, or minify. JSON Schema Draft-07. Lint duplicate keys, unsafe keys, and values the parser rejects. TOML stays in your browser — nothing is uploaded.
Paste or type TOML and get syntax errors with a line and column when the parser provides them. Open a finding to jump to that spot in the editor.
Pretty indents keys inside tables by 2 or 4 spaces. Minify is the most compact round-trip smol-toml can emit. Formatting runs only when the document parses. Output is not byte-identical: inline tables and dotted keys become standard tables, comments are dropped, 1.0 may become 1, and dates may gain millisecond precision.
Paste a JSON Schema to check the parsed value. Schema checks use JSON Schema Draft-07. Remote $ref values are not fetched.
Duplicate keys and redefined tables are reported and block formatting. Keys the parser treats as
unsafe (__proto__ and constructor) are reported on documents that still
parse. Invalid escapes, leading zeros, and integers that cannot be stored exactly are reported
with line and column. Impossible calendar dates that the legacy date parser rolls forward are
reported when the source literal and the parsed date disagree.
Validation, formatting, and schema checks run on your device. Nothing is uploaded.
It validates, formats and lints TOML in your browser, with optional JSON Schema Draft-07.
No. Nothing is uploaded.
JSON Schema Draft-07 for the document shape.
Keys, escapes and values, with line and column.