100% Client-Side Processing
Your data never leaves your browser
TOON Converter
Transform JSON, YAML, XML, and CSV into compact TOON format. Reduce data size with real-time token analysis.
TOON Converter
Transform structured data to compact TOON format
TOON output will appear here...
What is TOON Format?
TOON (Token-Oriented Object Notation) is a compact, schema-aware data format optimized for LLM prompts. Created by @toon-format, it reduces token count by 30-60% compared to JSON.
[count]{key1,key2}: header with comma-separated rows
Eliminates curly braces, brackets, colons, and quotes on every row
Models parse it naturally once they see the pattern
Example Conversion
[
{"id": 1, "name": "Alice", "role": "admin"},
{"id": 2, "name": "Bob", "role": "user"}
][2]{id,name,role}:
1,Alice,admin
2,Bob,userWhy Use This Converter?
Real-time Conversion
Instant conversion as you type with live token count
Multi-Format Support
JSON, YAML, XML, and CSV input formats supported
100% Private
All processing happens in your browser. No uploads.
Example Datasets
Try pre-built examples to see the format in action
Supported Input Formats
JSON
JavaScript Object Notation - the most common data format
YAML
Human-friendly data serialization format
XML
Extensible Markup Language for structured data
CSV
Comma-separated values from spreadsheets
Frequently Asked Questions
Does my data leave the browser?
No. All conversion happens locally in your browser. Your data is never sent to any server.
How is token count calculated?
We estimate tokens based on words and special characters. It's an approximation, not an exact count.
When does TOON save the most space?
TOON is most efficient for uniform arrays of objects, where repeated keys can be reduced to a single header row.
Can I convert TOON back to JSON?
This tool focuses on one-way conversion. TOON is designed for human readability and compact storage.