Developer tool
CSV to JSON Converter
Convert CSV tables to JSON objects. Quoted fields, commas inside quotes and line breaks inside quotes are handled.
How to use CSV to JSON Converter
- Paste CSV with a header row.
- Convert to JSON.
- Copy or download the array of objects.
Examples
Quoted comma
Name,City\n"Smith, Ana",Lisbon becomes {"Name":"Smith, Ana","City":"Lisbon"}.
Escaped quote
A field written as "She said ""hi""" becomes She said "hi".
Privacy
Spreadsheet data stays in the browser.
FAQ
Does the first row have to be headers?
Yes. Header cells become object keys. Empty headers are named column_1, column_2, and so on.
What if a quote is left open?
The converter reports an unclosed quote instead of guessing.
Are types inferred?
No. Every cell stays a string so you do not lose leading zeros.