Convert CSV to JSON (and JSON to CSV)

Turn spreadsheet exports into JSON arrays using the header row as keys — or convert a JSON array back into CSV.

How to use the CSV to JSON tool

  1. 1Paste CSV with a header row, or a JSON array of objects.
  2. 2Click convert — the direction is detected automatically.
  3. 3Copy or download the result.

Good to know

  • Your data is processed in your browser and never uploaded.
  • Quoted fields can contain commas, quotes and line breaks.
  • Also available as a REST API for automated pipelines.

Frequently asked questions

Does the first row have to be headers?

Yes. The first row supplies the keys for each JSON object.

How do I convert an Excel file to JSON?

In Excel or Google Sheets, save or download the sheet as CSV, then paste it here.

Can I automate this?

Yes. The EasyToConvert API has a csv-to-json endpoint; see the API documentation.