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

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

CSV to TOON: how to use it

  1. Paste a comma-separated table with distinct column names in its first row, open a UTF-8 file or select Load example.
  2. Choose Comma, Tab or Pipe under TOON delimiter and select Convert to TOON.
  3. 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.

Guides