TOON Decoder
Decode TOON (Token-Oriented Object Notation) format back to JSON. Convert compact TOON data structures to standard JSON format.
About TOON Decoder
Overview
The TOON Decoder converts TOON (Token-Oriented Object Notation) format back into standard JSON. TOON is a compact serialization format designed for passing structured data to Large Language Models with reduced token usage. This decoder allows you to convert TOON data back to JSON for use in applications and APIs.
Features
- Converts TOON format back to standard JSON
- Live mode for real-time decoding as you type
- Configurable indentation level for TOON parsing
- Pretty print option for formatted JSON output
- File upload support for TOON files
- Drag and drop functionality
- Copy to clipboard with one click
- All processing happens locally in your browser
How to Use
- Enter or paste your TOON formatted data in the input area
- Configure the expected indentation level (default: 2 spaces)
- Choose whether to pretty-print the JSON output
- Click "DECODE FROM TOON" or enable Live Mode for instant decoding
- Copy the JSON result from the output area
FAQ
What is TOON format?
TOON (Token-Oriented Object Notation) is a compact serialization format designed for passing structured data to Large Language Models. It uses indentation-based structure and tabular format to reduce token usage by 30-60% compared to JSON for uniform arrays while maintaining explicit structure for reliable parsing.
Can I decode TOON data with different delimiters?
Yes, the TOON decoder automatically detects the delimiter used in the encoded data. The delimiter is encoded in the array header, so the decoder can handle comma, tab, or pipe delimiters without additional configuration.
What if my TOON indentation does not match the expected value?
If the indentation does not match, the decoder may fail to parse the structure correctly. Make sure to set the expected indentation to match the TOON data. The default is 2 spaces, which is the most common setting.