CSV to JSON
Convert a CSV file into a JSON array of records, numbers kept as numbers.
Processed in your browser — files never leave your deviceDrop a file here
or
Select fileProcessing your file…
0%
Something went wrong
About CSV to JSON
Convert a CSV file into a JSON array of records, keyed by the header row, with numbers, true/false and dates written as JSON values and IDs with leading zeros kept as text. Comma, semicolon and tab separated files are detected automatically. Runs in your browser.
How CSV to JSON works
Each row of the CSV becomes one JSON object, with the header row as the keys. Numbers, true/false and dates become JSON values, while IDs with leading zeros — PIN codes, phone numbers — stay as text, so nothing is changed by accident.
Comma, semicolon and tab separated files are detected automatically. The conversion runs in your browser.
When to use CSV to JSON
- Load a spreadsheet export into a web app or API.
- Make test data for a developer.
- Turn a CSV into the format a no-code tool imports.
How to use CSV to JSON
- Add your CSV. Drop the .csv file into the box above; a preview appears.
- Check the options. Header row, and how values are typed.
- Download. Save the .json file.
Good to know
Frequently asked questions
My CSV has no header row. What then?
Untick First row is the headings: the fields are named Column A, Column B and so on.
Is the JSON an array?
Yes — an array of objects, one per row.
Guides
Related tools
- Excel to JSON Turn an Excel sheet or CSV into a JSON array of records, numbers kept as numbers.
- CSV to Excel Convert CSV files to XLSX with proper columns and headers.
- Excel to CSV Export Excel sheets to CSV, one file per sheet.
- JSON to Excel & CSV Turn a JSON array of records into an Excel sheet or CSV.