TOON
Some data may be outdated — see provenance labels.
🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks. observed · 2026-10-01
Health v2 · maintenance only
78/100
- Activity 93
- Release rhythm 89
- Longevity 25
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 363
- days_rel: 76
- days_push: 47
- n_releases_24m: 31
Adoption not part of the score
25440 stars · 1124 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.97
TOON (Token-Oriented Object Notation) is a compact, human‑readable serialization format for JSON data designed for LLM prompts. It provides a TypeScript SDK, CLI tools, and implementations in multiple languages.
Use cases
- Reduce token usage when sending JSON data to large language models.
- Serialize structured data for LLM prompts with deterministic, lossless round‑trips.
- Convert JSON to a compact, human‑readable format for AI‑driven applications.
- Benchmark token efficiency of data representations for LLM interactions.
When to choose
- You need a token‑efficient representation of JSON for cost‑sensitive LLM calls.
- Human readability and easy editing of the serialized data are important.
- Your workflow involves multiple programming languages with a shared data spec.
When to avoid
- You are not interacting with LLMs and token cost is irrelevant.
- A binary or highly performant serialization format is required.
- Your ecosystem does not support the available TOON SDKs or CLI.
Facets
library · maturity active
serialization cli artificial-intelligence large-language-models data-science cli cross-platform token-efficient compact human-readable json-alternative multi-language benchmark-driven nodejs
3 sources
- readme: https://github.com/toon-format/toon · fetched 2026-10-01 · 63ed34a92f80
- homepage: https://toonformat.dev · fetched 2026-09-28 · f53a63c2f085
- site_page: https://toonformat.dev/guide/getting-started.html · fetched 2026-09-28 · fb01668e2bfa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| toon-format/toon | main | 78 |
| toon-format/toon-python | sdk | 54 |
| toon-format/spec | docs | 77 |
| toon-format/toon-rust | sdk | 66 |
| toon-format/toon-java | sdk | 82 |
| toon-format/toon-go | sdk | 38 |
| toon-format/toon-dotnet | sdk | 46 |
| toon-format/toon-swift | sdk | 82 |
For agents
markdown · JSON · MCP: product_card(name="toon-format/toon")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem