CSV to JSON
Turn a CSV or TSV file into JSON, as a list of objects or of rows, with numbers and true/false kept as real values.
Runs in your browser. Files stay on this device.Built with Papa Parse (MIT)
How to use CSV to JSON
- 1Paste CSV, or drop a CSV or TSV file. The separator is found for you.
- 2Choose objects (one per row, keyed by the header) or plain rows.
- 3Copy the JSON or download it as a .json file.
Questions
What does “Detect numbers” do?
Cells like 42, 3.5, true and false become real JSON numbers and booleans, and empty cells become null. Codes with leading zeros, like 007 or a PIN code, stay as text so nothing is lost.
What if two columns have the same name?
The second becomes name_2 so neither is overwritten. A blank header becomes column_3, using its position.
Is my file uploaded?
No. It is converted by your browser on this device.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DataCSV StudioOpen a CSV or TSV file as a table. Search, sort and pick columns, then save it as CSV, TSV or JSON.
- DataJSON to CSVTurn a JSON list into a CSV you can open in Excel or Google Sheets. Nested fields become their own columns.
- DataCSV AnalyzerProfile a CSV file: the type of each column, empty cells, distinct values, number ranges and outliers, plus rows and headers that are broken.
- DataCSV CleanerTidy a CSV file: trim cells, remove duplicate and empty rows, rename, split or merge columns, and save it with the separator you need.
- DataCSV to ChartTurn a CSV file into a bar, line, histogram, scatter or pie chart. Pick the columns, add a title and save it as PNG or SVG.
- DataJSON DiffCompare two JSON documents by structure, ignoring key order, and see every added, removed and changed path.