How to use CSV to JSON
- 1
Paste or drop the CSV
Paste rows copied from a spreadsheet or drop a .csv/.tsv file; the delimiter is detected for you.
- 2
Check the header and types
Confirm the first row holds the column names and that numbers and dates were recognized in the preview.
- 3
Copy the JSON
Pick an array of objects or arrays, nest dot-named columns if you like, then copy or download the .json.
Limits and Pro
CSV and TSV files up to 500 MB with no row limit.
Files up to 4 GB. See Pro
About CSV to JSON
CSV to JSON turns comma-separated (or semicolon-, tab- and pipe-separated) text into JSON you can drop into JavaScript, a REST API fixture, a NoSQL import or a config file. The header row supplies the property names, so a sheet with name, email and plan columns becomes an array of objects with exactly those keys.
CSV has no types — everything is text — so the converter decides what each value should be in JSON. Whole and decimal numbers become JSON numbers, true and false become booleans, ISO dates such as 2024-03-31 are kept as date strings, and empty cells become null (or are left out entirely if you prefer smaller objects). Values that only look numeric, such as postal codes with a leading zero, phone numbers and 16-digit IDs, stay strings so nothing is silently rounded.
Column names with dots, like customer.address.city, can be rebuilt into nested objects — the usual way to round-trip JSON through a spreadsheet. Quoted fields containing commas, quotes or line breaks follow the RFC 4180 rules, and exports saved by older Excel versions in Windows-1252 are decoded so accented names survive.
Paste a few rows to try it instantly, or drop a file with hundreds of thousands of lines; parsing happens in a background worker so the page stays responsive.
Privacy
The CSV you paste or drop is parsed inside this browser tab and never sent to a server; pasted text isn't stored once you leave the page.