TOON to YAML converter
TOON and YAML both nest by indentation, so YAML is a comfortable target when you want to read a model's TOON output or hand it to config-style tooling. This tool decodes TOON with the official reference decoder and re-serializes it as standard YAML — arrays expand back to one item per line.
Because the decoder validates as it reads, malformed TOON produces a precise error rather than broken YAML. The conversion is lossless for the underlying data model.
TOON YAML
YAML out
Convert something to print your token receipt.
Questions
- When would I convert TOON to YAML?
- When a model replies in compact TOON and you want indented, human-readable YAML — for config files, fixtures, or simply to review the data more comfortably.
- Is the TOON to YAML conversion lossless?
- Yes for the data model. TOON decodes to the same structure, which is then written as standard YAML; round-trip it through YAML to TOON to confirm.