CSV to JSON
Drop or paste CSV on the left, get a JSON array of objects on the right. Live conversion.
Indent:
CSV Input
JSON Output
CSV Input
JSON Output
How to use CSV to JSON
Add CSV input
Drop a CSV file or paste CSV text into the left pane. Toggle the header-row option if your data has no headers.
Choose indentation
Pick two spaces, four spaces, or tab indentation for the output JSON.
Read the live JSON
The right pane updates as you type. With headers on, you get an array of keyed objects; with headers off, an array of arrays.
Download the .json file
Click Download to save the result, or Copy to put it on your clipboard.
FAQ
- Does this tool upload my CSV?
- No. Every parse, transform, and download runs entirely in your browser using JavaScript and Web Workers. The file never leaves your device — there is no upload endpoint and no server-side processing.
- What if a CSV cell contains a comma or quote?
- PapaParse handles RFC 4180 quoting, so quoted fields with embedded commas, quotes, and newlines convert correctly.
- Can I get an array of arrays instead of objects?
- Yes — turn off the header-row toggle. Each row becomes a string array in the same order as the input columns.