OnlineToolYardFAST & PRIVATE

JSON to TOON Converter — Token-Oriented Object Notation

Convert JSON to TOON format — compact, LLM-optimised notation that cuts token costs by 30–60%.

TOON Output
TOON format quick reference

Nested object

JSON
{"user":{"id":1,"name":"Alice"}}
TOON
user:
  id: 1
  name: Alice

Scalar array

JSON
{"tags":["admin","ops","dev"]}
TOON
tags[3]: admin,ops,dev

Uniform object array (tabular)

JSON
{"rows":[{"id":1,"name":"Alice"},{"id":2,"name":"Bob"}]}
TOON
rows[2]{id,name}:
  1,Alice
  2,Bob

String quoting

JSON
{"url":"http://example.com:8080","val":"true"}
TOON
url: "http://example.com:8080"
val: "true"

How to Use

  1. Paste your JSON into the left pane — the tool also accepts JSON5 (trailing commas, comments).
  2. The TOON output appears instantly in the right pane, following the official TOON specification.
  3. The token savings bar shows the estimated token count for both formats and the percentage reduction (based on ~4 characters per token).
  4. Click Copy to copy the TOON output and paste it directly into your LLM prompt.

Frequently Asked Questions

Related Tools

JSON & DataJSON to YAML Converter

Convert JSON to YAML or YAML to JSON instantly — bidirectional, lenient parser, swap button.

JSON & DataJSON to TOML Converter

Convert JSON to TOML or TOML to JSON — bidirectional, client-side, instant.

JSON & DataJSON Encoder & Decoder

Format, validate, and encode/decode JSON with Monaco editor — lenient parsing, local save, all client-side.

JSON & DataJSON to XML Converter

Convert JSON to XML or XML to JSON instantly — bidirectional, configurable root tag.

JSON & DataTOON to JSON Converter

Convert TOON format back to JSON — bidirectional, client-side, instant.

JSON & DataJSON to Kotlin Data Class

Generate Kotlin data classes from a JSON object, complete with @SerialName annotations.