TOON Converter
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.
Input
Settings
From
Key Folding
Delimiter
Tab indents, Shift+Tab outdents. Press Escape, then Tab to leave the editor.
Lines: 0Characters: 0JSON
Output (TOON)
TOON output will appear here...
About TOON
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.