What Is TOON Format? JSON to TOON for LLM Prompts
Token-Oriented Object Notation, TOON for short, is a new serialization format built for one purpose: sending structured data to language models in fewer tokens. If you're wondering what is toon format doing that JSON doesn't, the trick is simple. Uniform arrays of objects stop repeating their keys on every record and become compact tables instead. The data is identical and converts back to JSON exactly, but on typical tabular payloads the token count drops 30 to 60 percent. This article covers how the encoding works, a real before and after, and the cases where plain JSON is still the right call.