A local date
A date without a time becomes a calendar-date string, not a UTC timestamp.
shipped = 2024-05-01
Paste TOML. Dates become strings and comments are dropped.
TOML datetimes become YAML strings. Offset datetimes keep their offset, local dates stay calendar dates, and local times stay clock times. Comments are not kept.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
A date without a time becomes a calendar-date string, not a UTC timestamp.
shipped = 2024-05-01
Repeated [[products]] tables become a YAML list of mappings.
[[products]] name = "Widget" [[products]] name = "Gadget"
Convert one YAML document to TOML in the browser. Comments are dropped, null is rejected, and multi-document streams are not merged.
Convert TOML 1.1 configuration to JSON in the browser, including tables, arrays, strings, booleans, dates, and numbers, with explicit notes where the types differ.
Convert valid JSON into YAML with 2-space or 4-space indentation. Nested objects, arrays, and multiline strings are preserved, and invalid JSON is reported instead of repaired.