What is TOON? Token-Oriented Object Notation (TOON) is a compact, human-readable encoding of the JSON data model designed for LLM input. It combines YAML's indentation-based structure with CSV-style tabular arrays to minimize tokens while maintaining clarity. TOON achieves better accuracy with fewer tokens than JSON or YAML, making it ideal for cost-effective AI workflows.
Effortless data transformation, beautifully designed. Json2Toon offers an elegant native interface with support for mixed content parsing, making it useful for AI workflows and prompt engineering. Syntax highlighting helps you see data structure clearly, while the built-in tokenizer tracks token counts to optimize for LLM efficiency.
Multiple syntax themes. Choose from a variety of professionally designed color schemes to match your preferences and enhance readability.
Real-time token counting. See exactly how many tokens your data uses, helping you optimize for LLM efficiency and stay within API limits.
Build powerful automation workflows. Seamlessly integrate Json2Toon into your Shortcuts, creating intelligent pipelines that transform data between your apps. Chain conversions with AI tools and other actions to create sophisticated workflows that save time and boost productivity.
Recruitment & Hiring. This shortcut takes a job candidate's data in JSON format, combines it with a job description, converts both to TOON using Json2Toon, and sends the compact data to an AI prompt. The AI analyzes the candidate and decides whether to interview or reject. By converting to TOON first, you save tokens and get more reliable AI responses when processing structured data.
Convert at the speed of thought. Access Json2Toon instantly through Spotlight without ever leaving your current task. Simply invoke Spotlight, type your command, and transform your data in seconds. Stay in your flow while the app works its magic in the background.
Transform data anywhere, instantly. Json2Toon integrates directly into your system-wide Services menu. Select text in any application, access the Services menu, and watch your data transform in place. It's conversion that works everywhere you do.
Json2Toon is a bidirectional converter between JSON and TOON formats. TOON is a human-readable data format that's easier to read and edit than JSON, especially for complex nested structures. You can convert JSON to TOON for readability, or convert TOON back to JSON for use in APIs and applications.
Available on iOS, iPadOS, macOS, and visionOS.
TOON excels with uniform arrays of objects, but there are cases where other formats are better:
There are several ways:
The conversion happens automatically when you switch to the TOON view.
Converting TOON to JSON is just as easy:
The app preserves your data structure during round-trip conversions.
Yes! Json2Toon intelligently handles mixed content:
Simply paste your mixed content, and the app will extract and convert only the JSON or TOON portions, leaving the rest of your text unchanged.
This is perfect for converting data within documentation, emails, or log files.
The Tokenizer is a special view mode that:
Toggle: Click the number icon # in the toolbar or press ⌘T to show/hide the tokenizer.
This feature is particularly useful when working with AI/LLM applications that have token limits.
Simple values:
name: Alice
age: 30
active: true
Lists:
tags[3]: reading,gaming,coding
Objects:
user:
name: Alice
email: alice@example.com
Arrays of objects:
users[2]{name,age,city}:
Alice,25,NYC
Bob,30,LA
Json2Toon supports these keyboard shortcuts on macOS:
Clipboard:
View Switching:
Zoom:
Tokenizer:
To change the syntax highlighting theme:
Your theme preference is saved and will persist across app launches.
Note: Themes are only available in the standard editor view, not in tokenizer mode.
No! Json2Toon is completely offline and private:
Your data never leaves your device. You can use the app without an internet connection.