TOML <-> JSON
Convert TOML and JSON in both directions while preserving strings and dates.
Input
Output
About
Convert configuration between TOML and JSON with support for tables, arrays, multiline strings, and date values.
Key Features
- Quoted strings and arrays
- Nested TOML tables
How to use
- 1Select the conversion direction.
- 2Paste configuration and convert it.
Example
Input
[server]
port = 8080
enabled = trueOutput
{"server":{"port":8080,"enabled":true}}Limitations
- Input is limited to 2,000,000 characters to keep the browser responsive.
- JSON null has no TOML equivalent and is rejected when converting to TOML.
- All input is processed locally in your browser and is never uploaded to ToolHub.
Last reviewed: