An array of tables
Repeated [[products]] tables become a JSON array of objects.
[[products]] name = "Widget" [[products]] name = "Gadget"
Paste TOML. Dates become strings and comments are dropped.
TOML datetimes become JSON strings. Local dates stay calendar dates, local times stay clock times, and offset datetimes keep their offset. 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.
Repeated [[products]] tables become a JSON array of objects.
[[products]] name = "Widget" [[products]] name = "Gadget"
A date without a time stays a calendar date string, not a UTC timestamp.
shipped = 2024-05-01
Convert TOML 1.1 configuration to YAML with 2-space or 4-space indentation. Dates become strings, comments are dropped, and invalid TOML produces no YAML.
Convert a JSON object to TOML in the browser. Null values and mixed arrays are rejected, and invalid JSON produces no TOML.
Check TOML 1.1 syntax without converting or rewriting it. Errors include a line and column when the parser provides them.