JSON ⇄ TOON Converter

Convert between JSON and TOON (Token-Oriented Object Notation) - the token-efficient format optimized for Large Language Models

What is TOON?

TOON (Token-Oriented Object Notation) is a compact, human-readable format that reduces token usage by 30-60% compared to JSON. It combines YAML-style indentation for objects with CSV-style tabular arrays, making it ideal for LLM prompts and AI applications.

30-60% fewer tokens
Better LLM accuracy
Lossless conversion

JSON Input

Loading...

TOON Output

TOON Format Features

Objects

context:
  task: Description
  location: Boulder
  season: spring_2025

Inline Arrays

friends[3]: ana,luis,sam

Tabular Arrays (CSV-style)

hikes[3]{id,name,distanceKm,elevationGain}:
  1,Blue Lake Trail,7.5,320
  2,Ridge Overlook,9.2,540
  3,Wildflower Loop,5.1,180