What is TOON format?
TOON (Token-Oriented Object Notation) is a compact, token-efficient format for LLMs. This tool converts it back to standard JSON for easier reading and processing.
Convert TOON format back to standard JSON - lossless bidirectional conversion
Decode and view multiple level JSON strings with ease
Convert any JSON string to one line without spaces or indentation
Generate a JSON schema from a JSON string
Convert a JSON schema to a JSON string
Compare two JSON objects and highlight the differences
Convert JSON to TOON format for LLM-optimized token efficiency
Convert TOON format back to standard JSON. Lossless conversion preserves all your data structure perfectly.
TOON key-value pairs convert directly to JSON object properties.
name: Dragon Slayer damage: 150 enchanted: true element: fire
{
"name": "Dragon Slayer",
"damage": 150,
"enchanted": true,
"element": "fire"
}Indentation in TOON creates nested JSON objects automatically.
character:
name: Mystic Archer
equipment:
weapon: longbow
armor: leather{
"character": {
"name": "Mystic Archer",
"equipment": {
"weapon": "longbow",
"armor": "leather"
}
}
}TOON arrays with [N] notation expand to full JSON arrays.
skills[3]: fireball,ice storm,lightning buffs[2]: strength,speed
{
"skills": ["fireball", "ice storm", "lightning"],
"buffs": ["strength", "speed"]
}TOON tabular format {fields} expands to array of objects.
party[3]{name,role,hp}:
Luna,healer,80
Thor,tank,150
Zara,dps,100{
"party": [
{"name": "Luna", "role": "healer", "hp": 80},
{"name": "Thor", "role": "tank", "hp": 150},
{"name": "Zara", "role": "dps", "hp": 100}
]
}TOON (Token-Oriented Object Notation) is a compact, token-efficient format for LLMs. This tool converts it back to standard JSON for easier reading and processing.
Use our JSON to TOON converter to transform your JSON into TOON. It's useful when you've received TOON from an LLM or stored data in TOON format.
No, the conversion is lossless. All data from the TOON format is faithfully restored to standard JSON.
The tool will show an error if the TOON format is malformed. Make sure your TOON follows the correct structure—check the JSON to TOON tool for the expected format.
No, this site does not store or share your data in the cloud. Your data remains private and is kept locally on your broswer.
Yes, we welcome all suggestions! Please feel free to share your feedback using the link at the bottom of the page.