๐Ÿ”„ Format Converter

Convert between JSON and TONL formats with real-time preview. Try the Interactive CLI Demo for command-line experience!

Format Examples
15+
Ready to try
Compression
35%
Average savings
Type Hints
13
Lines

Try Examples

โญ Large Datasets (Best for Demo)

๐ŸŽฏ Common Use Cases

๐Ÿ—๏ธ Complex Structures

๐Ÿ—๏ธ Schema-First Examples

Quick Start

๐Ÿ’ก

Pro Tip: Test Type Hints!

Toggle types to see the difference in output size and validation capability

Tabular format with minimal repetition

See type metadata difference

๐Ÿ“„ Standard
users[3]:{...}
๐Ÿ—๏ธ Schema-First
#schema users{...}
โœ… Types
{id:u32,name:str,...}

JSON Input

bytes ยท tokens ยท lines

TONL Output

bytes ยท tokens ยท

JSON Format Comparison

Compare compact vs pretty JSON sizes

Compact JSON

bytes ยท tokens ยท

Pretty JSON

bytes ยท tokens ยท lines
๐Ÿ”„

See how savings scale with data volume

/
1

Live Token Comparison

Real-time savings as you convert

WINNER: TONL
( fewer tokens)
WINNER: COMPACT JSONJSON
(0 fewer tokens)
Normal JSON: tokens
โ†’ Compact: tokens
JSON Format
tokens
100% baseline
TONL Format
tokens
Token Savings
vs JSON format
Saved Tokens
Great savings! Try larger data

Error