CSV to JSON

Converts CSV to a JSON array, handling quoted fields, embedded commas and newlines, and a custom delimiter. Paste CSV text or upload a .csv file.

Private by architecture: All processing is 100% client-side memory. Your data never leaves this browser tab.
CSV input
0 lines · 0 charsCSV
JSON output
Ctrl/Cmd+Shift+C
0 charsJSON

Example

name,age,active
Ada,30,true
Grace,28,false

produces:

[
  { "name": "Ada", "age": 30, "active": true },
  { "name": "Grace", "age": 28, "active": false }
]

FAQ

Can I convert JSON back to CSV?
Yes! Click the ⇌ swap button or toggle the Direction dropdown to convert JSON arrays back into CSV.
Does this support Excel files?
Export your spreadsheet to CSV first (File → Save As → CSV in Excel, Sheets, or Numbers), then paste or upload here.
What does "infer types" do?
When on, cells that look like a number, true/false, or null become that JSON type.