Paste your JSON data and instantly get clean TOML output. Supports nested objects, arrays, strings, numbers, booleans, and dates. Includes key sorting for organized configuration files.
Paste your JSON data and instantly get clean TOML output. Supports nested objects, arrays, strings, numbers, booleans, and dates. Includes key sorting for organized configuration files.
Common questions and answers about this topic.
JSON uses curly braces and strict quoting rules, while TOML uses a flat key-value syntax with sections (tables). TOML supports comments, native date/time types, and is designed to be more human-readable for configuration files.
TOML is widely used for configuration files including Rust's Cargo.toml, Python's pyproject.toml, Hugo site config, and many CLI tools. Its readable syntax makes it ideal for settings that humans frequently edit.
Yes, the sort keys dropdown allows you to alphabetically order all TOML table keys (A to Z) or retain the original sequence from your JSON. Sorting applies recursively across all nested TOML tables and sub-tables.
No, the JSON-to-TOML conversion is performed entirely in your browser using JavaScript. Your JSON data stays on your device and is never uploaded to any server.