Convert CSV to JSONC
Turn CSV files into JSONC. An array with one object per row, keyed by the header row.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CSV files on the dialor turn it to pick what to do
A JSONC array with one object per row.Each row of the CSV becomes an object, keyed by the header row.
What you get
A JSONC file that holds an array. Each row is one object, and the keys come from the header row.
Numbers, lowercase true and false, and empty cells are typed. Values with a leading zero stay text.
How it is written
The output is plain JSON, which every JSONC reader accepts. No comments are added.
Choosing the delimiter
When Delimiter is left out, it is guessed from the rows. Set Delimiter to comma, semicolon, tab or pipe if you know which character separates the fields. Spreadsheets in many European locales use semicolons.
CSV and JSONC.What each format is, and the options this conversion takes.
- 01 · delimiter
Delimiter
The character between fields. It is guessed from the rows when left out. Spreadsheets in many European locales use semicolons.
commaA comma.semicolonA semicolon.tabA tab.pipeA vertical bar.
The formats
CSV
Rows of comma-separated values. The plainest way to move a table between programs.
- Extensions
- .csv
- MIME type
- text
/csv - Kind
- Text and data
JSON with Comments
JSON that allows comments, as in editor and TypeScript configuration files.
- Extensions
- .jsonc
- MIME type
- text
/x -jsonc - Kind
- Text and data
In your code.The same CSV to JSONC conversion through the API, for your app or your agent.
$ cv convert sheet.csv sheet.jsonc$ cv convert sheet.csv sheet.jsoncQuestions.What people ask about CSV to JSONC.
No. It is written as plain JSON, and no comments are added. Any JSONC reader accepts it.
Yes. Numbers are typed. A value with a leading zero stays text.
Set Delimiter to semicolon. If you leave it out, the delimiter is guessed from the rows.
The header row. Each row becomes one object keyed by those headers.