JSON to TONL Converter
Convert JSON to TONL online — turn JSON arrays and objects into compact, token-efficient TONL for LLM prompts. Free and browser-based.
Input Settings
TONL Settings
About JSON to TONL Converter
Paste JSON and convert it to TONL, a compact line-oriented notation built to fit structured data into LLM prompts with fewer tokens than JSON. The conversion runs in your browser and shows the estimated token savings.
JSON to TONL is ideal when you are feeding arrays of records — users, events, rows — into a model and want to preserve structure while trimming token cost. Tune the TONL encoding and delimiter to fit your data.
How to use JSON to TONL Converter
Paste your JSON
Paste JSON into the input editor (an example is preloaded).
Set TONL options
Choose smart encoding, type hints, delimiter, and indentation.
Convert
Click Convert → TONL to generate the output and see token savings.
Copy the TONL
Copy the result for your prompt or pipeline.
Frequently asked questions
Related developer tools
Looking for the full tool? Open the complete converter.