JSON to CSV Converter

CSV → JSON JSON → CSV

What is JSON to CSV Converter

The JSON to CSV converter transforms a JSON array of objects into a CSV spreadsheet. The keys of the first object become the column headers, and each object in the array becomes a row. Values containing commas, quotes, or newlines are automatically escaped so the output is valid CSV that opens correctly in Excel, Google Sheets, or any data tool.

How to use

  1. Paste your JSON array into the text area (must be an array of objects).
  2. Click Convert to CSV.
  3. Review the CSV output.
  4. Click Copy to copy the CSV, or Download CSV to save it as a file.

When to use it

Got a JSON response from an API that a colleague needs in Excel? Paste the array of orders here, download the CSV, and hand it off. No script to write, no manual reformatting, and it opens straight in Google Sheets or Numbers too.

Frequently asked questions

What JSON structure does this tool accept?

The input must be a JSON array of flat objects: [{"key": "value"}, ...]. Nested objects are converted to their string representation.

Are commas and quotes in values handled correctly?

Yes. Values containing commas, double quotes, or newlines are wrapped in double quotes and internal quotes are escaped, producing valid RFC 4180 CSV.

Does the column order follow the JSON key order?

Yes. The column order is determined by the key order of the first object in the array.

Is my data sent to a server?

No. The conversion runs entirely in your browser. Your JSON data never leaves your device.

Can I share this tool with my inputs pre-filled?

Yes. The URL updates automatically as you type. Copy it from the address bar or use the Share button — anyone who opens the link will see your exact inputs ready to go.

Related tools

Latest posts