Workspaces1/10

Active workspace: Personal. Open tools and saved data belong to this workspace.

TOON Converter

Local processing
Convert JSON or XML to TOON (Token-Oriented Object Notation) and back — compare compact structured text with local token counts
Standards, sources and review dates
  • TOON · 4.4 working draft · selected syntax · Reviewed

    Two-space, comma-delimited TOON subset with strict counts and precision checks. Keyed tables, nested field groups and alternate delimiters are unsupported. Review interval: 7 days.

Runnable debugging guides
Format:
in:0 tok
out:0 tok
delta: 0 (0.0%)
chars:297 → 167 (44%)
Input
JSON
Output
TOON
How TOON compresses
Tabular arrays share one field header instead of repeating the same keys for every row.
JSON
[
  {"id":1,"name":"Ada","role":"admin"},
  {"id":2,"name":"Bob","role":"user"},
  {"id":3,"name":"Cora","role":"user"}
]
TOON
data[3]{id,name,role}:
  1,Ada,admin
  2,Bob,user
  3,Cora,user

Frequently asked questions