Tool · Re-run the lab report's measurement yourself

TOON ↔ JSON size and token comparator

Paste JSON and this page converts it to TOON, then shows the bytes, characters and tokens of the three formats side by side. Everything is computed in this browser, and your input is never sent to a server.

0 lines · 0 B
TOON output
The converted TOON appears here.

Results

@toon-format/toon 4.1.1 · gpt-tokenizer 4.0.0 (o200k_base)

No results yet. Load the example or paste your JSON, then press “Convert to TOON”.

  • Token counts use OpenAI's o200k_base tokenizer. Other models, such as Claude, count tokens differently.
  • Compact JSON is the browser's JSON.stringify output; pretty JSON is the same call with 2-space indentation.
  • The tokenizer (about 1 MB) is downloaded only the first time you convert.
  • On narrow screens the characters and ratio columns are left out of the table.