JSON ⇄ TOON Converter

Convert between JSON and TOON format for efficient LLM token usage

About TOON Format

TOON (Token-Oriented Object Notation) is a compact format designed for LLM inputs. It achieves ~40% fewer tokens compared to JSON while maintaining lossless conversion.

  • YAML-style indentation for nested structures
  • CSV-like tabular layouts for uniform arrays
  • Explicit array length declarations
  • Reduced quoting requirements

Learn more: github.com/toon-format/toon