Convert JSON to TOON format to reduce LLM token usage by 30-60%
{
users:[id|name|email|age]
1|Alice|alice@example.com|28
2|Bob|bob@example.com|34
3|Charlie|charlie@example.com|22,
metadata:{total:3,page:1}
}TOON is a data format designed to minimize token usage when sending data to LLMs. It uses tabular headers for arrays and minimal syntax, reducing tokens by 30-60%.
Use TOON when sending large datasets or repetitive structures to LLMs. It's especially effective for arrays of objects with the same keys.
Yes! Modern LLMs like GPT-4 and Claude can understand TOON format. Just explain the format in your system prompt or include a brief description.
Yes! All conversion happens locally in your browser. Your data never leaves your device.