Skip to content
Code Recycle
Free Β· open sourceMITUnclaimed listing

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

Go to the project β†—Open live demo β†—

Every claim on this page is refundable if it is untrue β€” refund policy.

toonformat.dev

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

typescript

03Community

No endorsements yet

No 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.

Open an issue

Sign in to confirm β€” weight comes from verified usage, not vote count.

Nobody has reported anything yet β€” a success counts as a report too.

04Trust Passport

Full passport β†’
–/100

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.

VersionChannelReleasedNotes
0.0.0stableOct 12, 2026Indexed listing β€” see the upstream repository for real release history.