docs/ecosystem/tools-and-playgrounds.md
Experiment with TOON format interactively using these tools for token comparison, format conversion, and validation.
The TOON Playground lets you convert JSON to TOON in real-time, compare token counts, and share your experiments via URL.
The official TOON CLI provides command-line conversion, token statistics, and all encoding/decoding features. See the CLI reference for full documentation.
npx @toon-format/cli input.json --stats -o output.toon
TOON Language Support - Syntax highlighting, validation, conversion, and token analysis.
Install from the VS Code Marketplace or via command line:
code --install-extension vishalraut.vscode-toon
tree-sitter-toon - Grammar for Tree-sitter-compatible editors (Neovim, Helix, Emacs, Zed).
toon.nvim - Lua-based plugin for Neovim.
Use YAML syntax highlighting as a close approximation. Most editors allow associating .toon files with YAML language mode.
ToonStore - Redis-compatible embedded database (Rust) that stores data in TOON format.
TORM - ORM that works with the ToonStore database, with SDKs for Node.js, Python, Go, and PHP.
If you're building web applications that work with TOON, you can use the TypeScript library in the browser:
import { decode, encode } from '@toon-format/toon'
// Works in browsers, Node.js, Deno, and Bun
const toon = encode(data)
const data = decode(toon)
See the API Reference for details.