CSV to JSON
Pick file or take photo
More tools
- JSON to CSVTurn a JSON file into a CSV that opens in Excel and Google Sheets.
- CSV to ExcelConvert a CSV file into an Excel XLSX spreadsheet you can edit.
- Excel to CSVTurn the first sheet of an Excel .xlsx file into a CSV file.
- XML to JSONConvert an XML document to structured JSON in your browser.
- VCF to CSVConvert VCF contacts to a CSV for Excel or Google Sheets.
- Font converterConvert fonts between TTF, OTF and WOFF for use on the web.
- Open winmail.datGet the real attachments out of a winmail.dat file.
- JSON to XMLConvert a JSON file to readable XML with consistent indentation.
- WhatsApp chat to ExcelConvert a WhatsApp chat export to a spreadsheet with dates and senders.
- Photo to PDFTurn smartphone photos into one PDF for forms, email, or WhatsApp.
- Scan to PDFPhotograph paper pages with your phone and save them as one PDF.
- TIFF to PDFTurn a TIFF scan into a PDF, one page per picture.
How to prepare column names for JSON
When a CSV becomes JSON, the header row determines the field names your code reads. Use names that communicate meaning, and fix missing or repeated headers in your spreadsheet before conversion.
Open the JSON and compare an entry with an empty field and an entry with an identifier starting with zero. Treat IDs and codes as text unless a consuming system explicitly needs a number.
FAQ
Should I leave an unnamed CSV column in a file used by code?
Give it a clear, distinct name or remove it before converting. Then confirm the output keys match the names your importer expects.
How do I convert CSV to JSON?
Choose the CSV file and press Convert to JSON. Each row becomes an object and the first row gives the key names.
What if my file uses semicolons or tabs?
The page looks at the first line and picks a comma, a semicolon or a tab, whichever it uses most.
Are numbers kept as numbers?
No. Every value is kept as text exactly as it is in the CSV, so leading zeros and long ID numbers are not changed.
What happens to a column with no heading?
It is named column_2, column_3 and so on, by its position.
Can it read quoted cells with commas and line breaks?
Yes. Cells in double quotes may hold commas, line breaks and doubled quotes.
Is my file uploaded?
No. The file is converted inside your browser and never sent to a server. It is free.