CSV to JSON

Convert CSV data to JSON entirely in your browser. Free and private. Handles quoted fields, embedded commas and custom delimiters.

Paste or upload a CSV file and get back a JSON array of objects, one per row, with your header row automatically mapped to keys, handy for feeding spreadsheet exports into an API, a config file, or a JS/Python script that expects JSON.

How to use it

  1. Upload or paste your CSV data
  2. Set the delimiter and header options
  3. Copy or download the JSON output

Frequently asked questions

Does this handle nested objects or arrays inside cells?
If a cell contains valid JSON (like [1,2,3] or {"a":1}), the converter can parse it into a real nested structure instead of leaving it as a string. Otherwise every value stays a string or gets auto-typed as a number/boolean.
How does it treat the first row?
The first row is treated as column headers by default, and each becomes a key in the resulting JSON objects. If your CSV has no header row, you can turn that off and get numbered keys or an array of arrays instead.
What happens with commas inside quoted fields?
Quoted fields are parsed correctly per the CSV standard, so a value like "Smith, John" stays as one field instead of splitting into two columns.
Is my CSV data uploaded anywhere?
No. The parsing and conversion happen entirely in your browser, so your file never leaves your device.