Code · Made a little simpler

JSON to TOON

Convert JSON to Token-Oriented Object Notation using a comma, tab or pipe delimiter. Check the decoded values and download TOON locally.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

JSON to TOON: how to use it

  1. Paste one JSON value, open a UTF-8 file or select Load example.
  2. Choose Comma, Tab or Pipe under TOON delimiter and select Convert to TOON.
  3. Review TOON output and download converted.toon. Use TOON Validator to inspect the decoded JSON.

Limits and notes

Runs in your browser. Accepts up to 250,000 input characters and UTF-8 files up to 1 MB. Rejects duplicate JSON keys and numbers it cannot preserve.

How your privacy works →

JSON to TOON: common questions

When does JSON become a TOON table?

A uniform array can share one list of field names. For example, two objects with the same primitive fields become a tabular array. Mixed shapes can use indented list entries instead.

Does converting JSON change a string such as true into a boolean?

The encoder quotes strings that resemble booleans or numbers. A JSON string such as "true" remains text, and true remains a boolean.

Will a pipe delimiter change the JSON I get back?

The delimiter changes the TOON representation. The decoded keys, values and array order stay the same.

Guides