Convert structured data formats (JSON, YAML, TOML) to Token-Oriented Object Notation (TOON) – a compact, LLM-friendly format that reduces token count while maintaining structure.
TOON output will appear here...
TOON (Token-Oriented Object Notation) is a compact, human-readable format designed for LLM prompts. It encodes the same data as JSON but with ~40% fewer tokens, making it ideal for AI applications where token efficiency matters.
TOON uses YAML-like indentation for objects and CSV-style tabular arrays for uniform data. Array lengths are explicitly declared with [N] syntax, helping LLMs validate structure and detect truncation.