TOML to JSON
Paste TOML, get JSON. Tables become nested objects; array-of-tables become arrays of objects. Reverse direction at JSON → TOML. Useful for piping TOML configs into JSON-only tools.
Paste TOML.
How to convert TOML to JSON
- Paste in either panel.
- The opposite panel updates live. Swap to flip direction.
- TOML output respects the original key order. Nested objects become tables (
[parent.child]); arrays of objects become array-of-tables ([[items]]). - Copy or Download.
FAQ
Does it support TOML dates and datetimes?
Yes — they're serialized as ISO 8601 strings in the JSON output. Re-parsing in your downstream code may need a date-aware deserializer.
What about TOML 1.0 vs 0.x?
TOML 1.0 is the default. Most 0.x docs parse fine, but exotic 0.x corners (inline-table whitespace, dotted-key ordering) may need cleanup.
Will it work offline?
Yes.