CSV to JSON
The first row becomes the names. Each following row becomes one JSON object.
About this tool
Spreadsheets export CSV; many APIs and static sites want an array of JSON objects. This page treats the first row as column names and every following row as one object. The table is parsed in the browser.
Semicolon-separated European exports are refused with a clear error — this parser wants commas. A file that is already JSON is sent to JSON to CSV instead of being mangled. Quotes and commas inside fields follow ordinary CSV rules.
The file is read as UTF-8 locally (a BOM is stripped). 50 MB. Empty trailing rows are skipped. Duplicate headers are made unique so keys do not collide silently.
How to convert CSV to JSON
- Choose a CSV. It stays on your device.
- Convert. The first row becomes keys.
- Download the JSON.
50 MB. Comma-separated only. Not Excel .xlsx — use Excel to PDF or export CSV from Excel first.
FAQ
- Are spreadsheet rows posted when they become JSON objects?
- No. Parsing is in this tab. We never see the rows.
- First row is data, not names?
- This tool always treats row one as headers. Add a header row in the spreadsheet first.
- Nested JSON?
- No. You get a flat list of objects. Cell text stays strings.
- Are CSV cells coerced to JSON numbers?
- Values stay strings so leading zeros on IDs are not eaten. Parse them in your app if you need types.
- Can I go back?
- JSON to CSV expects a list of objects or one object.
Related tools
Continue
More Office & text tools
- JSON to CSVTurn JSON rows into a CSVJSONCSV
- SRT to VTTTurn an SRT subtitle into WebVTTSRTVTT
- Word to PDFTurn DOCX paragraphs, headings, and simple tables into a PDFDOCXPDF
- Excel to PDFTurn the first sheet of an XLSX into a PDF tableXLSXPDF
- EPUB to PDFReflow an EPUB's words onto PDF pagesEPUBPDF
- PDF to WordExtract PDF text, and simple tables, into a DOCXPDFDOCX
- PDF to ExcelPlace PDF text into spreadsheet cellsPDFXLSX
- PDF to PowerPointTurn each PDF page into a slide of extracted textPDFPPTX