CSV to JSON
Convert spreadsheet CSV exports to JSON, or turn JSON arrays back into CSV for Excel.
Convert between CSV and JSON locally. Nothing is uploaded.
Other useful tools
Free tools that often go together. Everything runs in your browser.
How to use this tool
- Paste CSV or JSON into the input box.
- Choose CSV to JSON or JSON to CSV.
- Click Convert, then copy the output.
Frequently asked questions
What does CSV to JSON conversion do?
CSV is plain text with commas separating columns, the format spreadsheets export to. JSON is structured data made of objects and arrays, the format most APIs and apps expect. This tool converts between the two, so you can turn a spreadsheet export into JSON for a script or API call, or turn a JSON array back into a CSV file that opens cleanly in Excel or Google Sheets.
Who is this for?
Developers importing a spreadsheet export into code, analysts moving survey or sales data into a script for further processing, and students learning how a table of rows and columns maps onto JSON objects.
Does CSV need a header row?
Yes, for CSV to JSON. The first row becomes the property names used on every object in the resulting array.
What JSON shape is required for CSV?
JSON to CSV expects an array of objects that all share the same keys, for example [{"name":"Ada","score":"10"}]. Each object becomes one row, and the keys become the header row.
Is my data uploaded?
No. Parsing and conversion run entirely in your browser. Nothing you paste is sent to our servers.
What about quoted commas in CSV?
Standard quoted fields, like a value containing a comma wrapped in quotes, are supported. Unusual encodings or multi-line cells inside a single CSV field may need cleanup in a spreadsheet app first.
Can I convert large files?
Large pasted tables are held in memory, so very big exports may slow the tab. Split the data into smaller chunks if it feels sluggish.
Processed locally in your browser. Your files are never uploaded to our servers.