CSV to JSON Converter
Turn a CSV file into JSON in one click: an array of objects keyed by the header row, ready for code, APIs and databases. Free and private.
- Array of objects or arrays
- Separator detected
- Numbers typed safely
- Nothing uploaded
Options
Your data is converted on your own device. Nothing is uploaded, stored or seen by us.
How it works
How to convert CSV to JSON
Add your CSV
Drop a CSV file on the box, or paste CSV text and click Convert. The separator is detected for you.
Pick the JSON shape
An array of objects uses the first row as keys. An array of arrays keeps every row as a list.
Download or copy
Save a .json file or copy the JSON to your clipboard.
Why this converter
Clean JSON from messy CSV
Safe types
Numbers and true/false become real JSON values, but IDs and ZIP codes with leading zeros stay as strings.
Any separator
Comma, semicolon, tab or pipe, with quoted fields and line breaks inside cells handled properly.
Unique keys
Blank or repeated header names get unique keys, like column_3 or email_2, so no value is overwritten.
Private
Your CSV never leaves your computer.
More converters: JSON to CSV · CSV to JSON · JSON to Excel · TXT to CSV · XML to CSV · XLSX to CSV · CSV to Excel · XLS to XLSX · PDF to Excel
FAQ
Questions
How do I convert CSV to JSON?
Drop your CSV onto the converter or paste it and click Convert. Choose Array of objects to use the header row as keys, then download or copy the JSON.
Are numbers converted to JSON numbers?
Yes, with the types option on. Values like 42 or 3.5 become numbers and true/false become booleans. Values with leading zeros (00501) or very long numbers stay as strings so they aren't changed.
What if my CSV has no header row?
Choose Array of arrays. Every row, including the first, becomes a list of values.
Does it handle commas and line breaks inside values?
Yes. Quoted fields are parsed according to the CSV standard, so "Smith, John" stays one value.
Is my file uploaded?
No. Everything happens in your browser.