How to use CSV to JSON
- Paste your CSV or upload a .csv file.
- Turn off "First row is header" if your data has no header, or "Detect numbers" if you need text only.
- Copy the JSON.
About CSV to JSON
Most data sits in a spreadsheet at some point, and most APIs want JSON. The first row of your CSV is used as the key names, and each following row becomes one object in an array. The delimiter is detected automatically, so comma, semicolon, tab and pipe files all work.
Quoted fields are handled the way the CSV standard defines: a comma or a line break inside quotes is part of the value, and two double quotes in a row stand for one. Numbers are recognised and written as numbers unless you turn that off, for example when you need to keep leading zeros.