TOON Chrome Extension

Convert JSON to TOON from any tab: select text, right-click, and the TOON version is on your clipboard, with the tokens it saved.

Add to Chrome (free)

What it does

The extension turns structured text into TOON, a compact format for LLM prompts that uses about 43% fewer tokens than JSON on average (42.6% in the official TOON v4.1 benchmark). It is handy when you copy API responses, logs or docs examples into ChatGPT or Claude and want the smaller version.

  • Right-click conversion: select text on any page and choose json2toon → Convert to TOON (or any other format). The result is copied to your clipboard and a toast shows the token savings.
  • Popup converter: click the toolbar icon (or press Alt+Shift+J), paste text, and the output updates as you type, with input and output token counts.
  • Formats: JSON, TOON, TONL, YAML, CSV, XML, TOML and Protobuf, the same converters the website runs. The input format is detected automatically.
  • Open in editor: send the popup input or a selection to the full converter on json2toon.co. The data travels in the URL hash, which never reaches the server.
  • Settings: indentation (2 or 4 spaces) and delimiter (comma, tab, pipe or semicolon), saved between sessions.
  • Local only: the converters and the o200k tokenizer are bundled in the extension, so nothing is sent to a server.

How to use it

  1. Install it from the Chrome Web Store.
  2. Select JSON, YAML, XML or CSV text on any page.
  3. Right-click the selection and choose json2toon → Convert to TOON.
  4. Paste the TOON into your prompt.

Extension, website, API or MCP?

The extension is the quickest path for snippets you see in the browser. For big files, diffs, batch conversion and other tokenizers, use the online converter. To see the savings before you convert, try the TOON token calculator. For scripts and backends use the TOON API, and inside AI assistants use the MCP server.

FAQ

Is the TOON Chrome extension free?

Yes. It is free on the Chrome Web Store with no account.

Does the extension send my data anywhere?

No. The parsers, encoders and tokenizer are bundled inside the extension, and it makes no network requests to convert. Text is converted in your browser and copied to your clipboard.

Which formats can it convert?

The same eight formats as the website: JSON, TOON, TONL, YAML, CSV, XML, TOML and Protobuf. The input format is detected automatically, or you can pick it in the popup.

Can it convert TOON back to JSON?

Yes. Paste TOON into the popup and pick JSON as the target, or select TOON on a page and choose Convert to JSON from the right-click menu.

Does it work on local files?

Yes, if you enable “Allow access to file URLs” for the extension in Chrome's extension settings.