JSON to TOON

What is TOON?

Token-Oriented Object Notation is a compact, human-readable encoding of the JSON data model that minimizes tokens and makes structure easy for models to follow. It's intended for LLM input as a drop-in, lossless representation of your existing JSON.

TOON combines YAML's indentation-based structure for nested objects with a CSV-style tabular layout for uniform arrays. TOON's sweet spot is uniform arrays of objects.

Think of it as a translation layer: use JSON programmatically, and encode it as TOON for LLM input.

Input (JSON)
0 Tokens 0 Chars
Output (TOON) 0% Saved
0 Tokens 0 Chars
Copied to clipboard!