A nested object
A nested JSON object becomes a TOML table.
{
"database": {
"host": "localhost",
"port": 5432
}
}Paste a JSON object. Null and mixed arrays are errors, and no TOML is written.
TOML has no null, and each array must contain one kind of value. The root value must be an object.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
A nested JSON object becomes a TOML table.
{
"database": {
"host": "localhost",
"port": 5432
}
}A homogeneous array stays an array. Mixing a string with a number is an error.
{
"owners": ["Ada", "Grace"]
}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 one YAML document to TOML in the browser. Comments are dropped, null is rejected, and multi-document streams are not merged.
Validate JSON, then pretty-print it with 2 or 4 spaces or minify it. Invalid JSON produces an error and leaves the output empty.