Code · Made a little simpler
TOON Validator
Validate Token-Oriented Object Notation with strict decoding. Find malformed arrays and inspect or download the decoded JSON locally.
Find TOON Row Count and Syntax Errors
Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
TOON Validator: how to use it
- Paste the saved TOON document, open a UTF-8 file or select Load example.
- Select Validate TOON. If decoding fails, compare the declared counts, columns and indentation with the data below each header.
- Read Decoded JSON when validation succeeds. Check its types and values, then copy it or download decoded.json.
Limits and notes
Runs in your browser with strict TOON 4.4 decoding and two spaces per indentation level. Accepts up to 250,000 input characters and UTF-8 files up to 1 MB. Shows the decoded data as JSON.
How your privacy works →TOON Validator: common questions
What does [2] mean in a TOON array header?
It declares two array items. For a tabular array, there must be two rows and each row has to match the field list.
Why does my valid TOON decode a value as a string?
Quotes mark a string. In the JSON result, false represents a boolean and "false" represents text. Compare the type with the data you expect.
Can I check TOON that uses pipes or tabs?
Yes. The parser reads the delimiter from the array header. For example, [2|] declares a pipe-delimited array with two items.