What Is TOON Format? JSON to TOON for LLM Prompts
Token-Oriented Object Notation, TOON for short, is a young serialization format built for one purpose: sending structured data to language models in fewer tokens. 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, and on table-shaped payloads the token count drops noticeably. This article covers how the encoding works, a real before and after, how to read the converter's estimates, and the cases where plain JSON is still the right call.