Code · Made a little simpler
CSV to TOON
Convert CSV to Token-Oriented Object Notation. Use the first row as field names, preserve text values and download TOON locally.
Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
CSV to TOON: how to use it
- Paste a comma-separated table with distinct column names in its first row, open a UTF-8 file or select Load example.
- Choose Comma, Tab or Pipe under TOON delimiter and select Convert to TOON.
- Check the declared number of rows and the column names. Copy the output or download converted.toon.
Limits and notes
Runs in your browser. Accepts up to 250,000 input characters and UTF-8 files up to 1 MB. Use unique, nonempty column names and the same number of cells in every data row. All data cells stay strings, including empty cells.
How your privacy works →CSV to TOON: common questions
Will an identifier such as 007 keep its leading zeroes?
Yes. The converter keeps CSV cells as strings. TOON quotes 007 so it can be read back as the same text.
Can I use pipes in the TOON output?
Yes. Select Pipe as the TOON delimiter. The source CSV still uses commas between fields.
Why did my table fail when its first row has two columns named id?
The first row supplies the object keys. Give each column a unique name so each value has a distinct field.