Modern Data Serialization
Built for Blockchain

Toon is an efficient, type-safe data serialization format optimized for decentralized systems. Smaller payloads, human-readable syntax, and seamless integration with your blockchain applications.

JSON (Traditional)

342 bytes
{
  "transaction": {
    "from": "0x742d35...",
    "to": "0x5A0b54...",
    "amount": "1000000000",
    "timestamp": 1699564800,
    "signature": "0x8f3b2..."
  }
}

Toon (Optimized)

187 bytes (-45%)
tx:
  from: 0x742d35...
  to: 0x5A0b54...
  amt: 1000000000
  ts: 1699564800
  sig: 0x8f3b2...

What is Toon?

A next-generation data serialization format designed specifically for blockchain and decentralized applications

Efficient by Design

Up to 45% smaller payloads compared to JSON. Optimized for blockchain transactions where every byte counts and gas fees matter.

Type-Safe

Built-in type validation and schema support. Catch errors at compile-time, not at runtime. Perfect for smart contract interactions.

Human-Readable

Clean, intuitive syntax that developers can read and write easily. No cryptic binary formats or complex encoding schemes.

Why Toon?

Traditional serialization formats weren't built for the unique challenges of blockchain development

JSON is Too Verbose

High gas costs due to large payload sizes. Inefficient for on-chain storage and cross-chain messaging.

Protocol Buffers Too Complex

Requires schema files, code generation, and complex tooling. Not human-readable in raw form.

CBOR Lacks Adoption

Binary format with limited tooling support. Debugging and development experience suffers.

Compact & Efficient

Reduced payload sizes mean lower gas costs and faster transaction processing on blockchain networks.

Developer-Friendly

Simple syntax, easy to learn, human-readable. No compilation step required for development and debugging.

Blockchain-Native

Built specifically for decentralized applications, smart contracts, and cross-chain communication.

Key Features

Compact Encoding

Up to 45% smaller than JSON

Schema Support

Optional type definitions and validation

Zero Dependencies

Lightweight implementation, no bloat

Fast Parsing

Optimized for performance

Blockchain-Ready

Designed for on-chain use cases

Open Source

Community-driven development

Frequently Asked Questions

Everything you need to know about TOON format

What is TOON?

Getting Started

Format Basics

Key Features

Working with LLMs

Limitations

Ready to Get Started?

Join the community building the future of blockchain data serialization