CSV to JSON
Convert CSV files to a JSON array of objects, one per row, keyed by the header row, in bulk and offline.
Runs in your browserNothing uploadedWorks offline
Set up for this job. It runs on Spreadsheet converter, where every option is there to change.
Loading CSV to JSONRuns on this device. Nothing is uploaded.
Questions
What does the JSON look like?
An array with one object per row. The first row of the CSV gives the keys, and empty cells become empty strings.
Are numbers turned into JSON numbers?
No. Values keep the exact text from the CSV, so they come out as strings, and codes with leading zeros stay intact.
Are my files uploaded?
No. They are converted with the SheetJS library in this tab. Nothing leaves your device.
Related tools
All text and documents toolsText and documentscsv tsv txtCSV editorOpen a CSV or TSV file in a fast, sortable, editable table that handles 50,000 rows, add or delete rows and columns, and save it back as CSV.Text and documentsxlsx xls odsCSV to ExcelTurn CSV files into Excel .xlsx workbooks in bulk, with the separator detected for you and nothing uploaded.Text and documentsxlsx xls odsExcel to CSVConvert Excel .xlsx and .xls sheets to CSV files, one sheet or all of them, in bulk and right in your browser.Text and documentstxt md csvFind and replaceFind and replace text with plain words or regular expressions with capture groups, a live match count and highlighted matches.Text and documentsxlsx xls odsJSON to CSVConvert a JSON array of objects into a CSV file, with every key that appears in any object as a column.Text and documentscsv tsv mdMarkdown table generatorBuild a GitHub Markdown table in a grid, or paste cells from Excel, Google Sheets or a CSV, set column alignment and copy neat Markdown.