CSV to JSON

Convert CSV data into a JSON array of objects online for free.

How to use

  1. 1Paste CSV data with a header row.
  2. 2Click Convert to JSON.
  3. 3Copy or download the JSON output.

Features

  • Handles quoted fields with commas and newlines
  • Uses the first row as object keys
  • Copy or download the result

Supported formats

Input: CSVOutput: JSON

Privacy

Your data is converted locally in your browser and is never sent to our server.

About this tool

CSV to JSON converts spreadsheet-style CSV data into a JSON array of objects, using the header row as field names. This is useful for importing spreadsheet data into scripts, APIs or JavaScript applications.

Frequently asked questions

Does the CSV need a header row?

Yes, the first row is used as the object keys for every following row.

Are quoted fields with commas supported?

Yes, fields wrapped in double quotes can contain commas, quotes and line breaks.

Is my data uploaded to a server?

No, conversion happens entirely in your browser.