What is a CSV to JSON converter?
A CSV to JSON converter turns the rows of a spreadsheet export into a JSON array that code can read, and turns JSON back into CSV for Excel or Google Sheets. You need it when an API wants JSON but your data is in a spreadsheet, or the other way round.
How to convert CSV to JSON
- Pick CSV → JSON or JSON → CSV.
- Paste your data, click Upload, or click Sample.
- Select the Delimiter. Turn Headers and Pretty on or off.
- Click Copy or Download.
My CSV opens as one column. What is wrong?
The file probably uses a different delimiter. Excel in many European and Indonesian locales saves CSV with semicolons, because the comma is the decimal mark there. Select the ; delimiter (or Tab for a TSV file) and convert again.
Frequently Asked Questions
What does the Headers option do?
With Headers on, the first CSV row gives the key names, and each other row becomes a JSON object. With it off, each row becomes an array of values.
How do I convert a TSV file?
Select the Tab delimiter before you convert. The parser reads tab-separated files the same way as CSV.
Why do some CSV values get quotes?
A value that contains the delimiter, a double quote or a line break must be in double quotes (RFC 4180). The converter adds the quotes for you.
Can I convert a JSON array of arrays to CSV?
Yes. Each inner array becomes a CSV row. With an array of objects, the object keys become the header row.
Is my data sent to a server?
No. The conversion runs in your browser. Your CSV and JSON stay on your device.