Back to Toon

Tools and Playgrounds

docs/ecosystem/tools-and-playgrounds.md

4.1.11.6 KB
Original Source

Tools and Playgrounds

Experiment with TOON format interactively using these tools for token comparison, format conversion, and validation.

Playground

The TOON Playground lets you convert JSON or YAML to TOON in real time, compare token counts, and share your experiments via URL.

CLI Tool

The official TOON CLI provides command-line conversion, token statistics, and all encoding/decoding features. See the CLI reference for full documentation.

bash
npx @toon-format/cli input.json --stats -o output.toon

Editor Support

VS Code

TOON Language Support – Syntax highlighting, validation, conversion, and token analysis.

Install from the VS Code Marketplace or via command line:

bash
code --install-extension vishalraut.vscode-toon

Tree-sitter Grammar

tree-sitter-toon – Grammar for Tree-sitter-compatible editors (Neovim, Helix, Emacs, Zed).

Neovim

toon.nvim – Lua-based plugin for Neovim.

Other Editors

Use YAML syntax highlighting as a close approximation. Most editors allow associating .toon files with YAML language mode.

Databases

ToonStore

ToonStore – Redis-compatible embedded database (Rust) that stores data in TOON format.

MCP

Tooner

Tooner – MCP proxy that converts JSON tool responses to TOON.