Free JSON to TOON Converter
Convert JSON to TOON format and cut LLM prompt tokens by up to 60%.
About this tool
How to use
Frequently Asked Questions
TOON is an ultra-minimal data serialization format optimized for LLMs. It removes quotes around keys, removes commas, and uses a simplified indentation/type system. LLMs understand it perfectly natively because they are trained on vast amounts of structured text.
Minified JSON removes spaces but keeps all the quotes and brackets, which tokenizers split into separate tokens. TOON removes the syntax characters entirely, resulting in far fewer actual tokens, which saves you money and context space.
Yes! Modern LLMs (GPT-4, Claude 3, Gemini) excel at reading structured text. Because TOON uses clear key-value pairs and indentation, LLMs parse it just as accurately as JSON, but much faster.
No. TOON strictly preserves arrays, objects, strings, numbers, and booleans. Converting JSON to TOON and back to JSON will result in the exact same data structure.
