toon is by toon-format β not by us.
We indexed this project so people can find it. We are not selling it, we host no copy of the code, and we are not affiliated with or endorsed by its authors β get it from them.
Indexed Oct 12, 2026 Β· 25,492 stars at index time. Maintainers: claiming verifies your identity and unlocks a higher assurance tier. Removal requests are honored.
Component Β· for humans & their agents
toon
unclaimed listingactively maintainedFreeMIT
π Token-Oriented Object Notation (TOON) β compact, human-readable serialization of JSON data for LLM prompts. TypeScrip
by Open Source Community Β· New publisher
Every claim on this page is refundable if it is untrue β refund policy.
toon-format/toon is an open-source project by toon-format: π Token-Oriented Object Notation (TOON) β compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.. Indexed here so it can be found β not resold.
It is free. Get it from the upstream repository: https://github.com/toon-format/toon
From the project's own README (excerpt, reproduced for discovery under its MIT license):
Token-Oriented Object Notation (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.
TOON combines YAML's indentation-based structure for nested objects with CSV-style tabular forms for uniform data. Its sweet spot is uniform objects β same fields across items, whether in an array or keyed by ID β reaching CSV-like compactness while adding explicit structure that helps LLMs parse and validate data reliably. For deeply nested or non-uniform data, JSON may be more efficient.
Think of it as a translation layer: use JSON programmatically, and encode it as TOON for LLM input β a drop-in, lossless representation of the JSON you already have.
> The TOON format is stable, but also an idea in progress. Nothing's set in stone β help shape where it goes by contributing to the spec or sharing feedback.
Table of Contents β’ Why TOON? β’ Key Features β’ When Not to Use TOON β’ Benchmarks β’ Installation & Quick Start β’ CLI β’ Using TOON with LLMs β’ Ecosystem β’ Documentation β’ Media Type & File Extension β’ π Full Specification
Why TOON?
LLM tokens cost money β and JSON spends a lot of them on structure. A weather forecast in TOON:
The same data as JSON β ~117 tokens against TOON's ~66:
Three things are happening at once in the TOON above. Two are forms β one rendering of a value, picked automatically from the data's shape β and the third is a header feature: β’ alerts[2]: frost,wind is inline form: a primitive array on its header line. β’ forecast[3]{day,β¦}: is tabular form: the field list is declared once in the header, then one row per element. β’ temp{min,max} inside that header is a nested field group: the uniform nested temp objects fold into theβ¦
Preview
See what it does before you commit. Previews show behavior, never source code.
01Capabilities
Does
- No capabilities recorded
Doesnβt
- No exclusions declared
02Requirements & stack
Depends on
No declared dependencies
Credentials needed
None declared
Stack
03Community
No endorsements yetNo verified confirmations yet β be the first.
Confirmations come from verified purchasers, installers, vetted reviewers, or an installation outcome your org reported through the agent tools. They grade quality β security is verified separately, and community votes can never override the security gate.
Sign in to confirm β weight comes from verified usage, not vote count.
Issues 0
Open an issueNobody has reported anything yet β a success counts as a report too.
04Trust Passport
Full passport β0/0 automated components pass. An automated score is never a security guarantee.
This listing is unclaimed, so publisher identity cannot be verified and it stays below the βverifiedβ tier by design β that is a statement about the listing, not about the projectβs quality. Our automated scans still ran; a maintainer who claims it unlocks identity verification.
05Versions
Full history β| Version | Channel | Released | Notes |
|---|---|---|---|
| 0.0.0 | stable | Oct 12, 2026 | Indexed listing β see the upstream repository for real release history. |