TOML ↔ JSON Converter
Paste TOML or JSON and convert in either direction. Sample data for Cargo.toml, pyproject.toml, netlify.toml. Sort keys, inline small tables, choose quote style, format with configurable indent.
Input
Paste TOML or JSON, upload a file, or start with a sample.
354 bytes24 lines
Output
JSON regenerates live as you type.
{
"title": "uxTools demo",
"released": "2026-05-16",
"owner": {
"name": "Siraç",
"handle": "@siracozmen"
},
"server": {
"host": "api.uxtools.dev",
"port": 443,
"tls": true,
"limits": {
"rps": 200,
"burst": 500
}
},
"plugins": [
{
"slug": "toml-json-converter",
"audience": "developer"
},
{
"slug": "json-workbench",
"audience": "developer"
}
],
"features": {
"flags": [
"beta",
"labs",
"ai"
]
}
}523 bytes34 lines
Options
Indent
Sort keys
Alphabetize keys at every level. Stable diffs, predictable output.
Datetime → ISO string
Render TOML dates as ISO 8601 text instead of Date instances.