JSON to CSV

Convert an array of flat JSON objects to CSV.

Your JSON is parsed and converted to CSV locally in your browser, and nothing is uploaded to a server.

Need readable, validated JSON first? Try the JSON Formatter.

About JSON to CSV

This json to csv converter turns an array of flat JSON objects into a comma-separated CSV file with a header row, ready to open in a spreadsheet. The columns are built from the union of every object's keys, so rows with missing fields still line up correctly, and any value containing commas, quotes, or newlines is safely quoted per CSV rules. It is handy for developers exporting API responses, QA engineers turning test fixtures into a sheet, and analysts who need to convert json to csv for Excel, Google Sheets, or Numbers. Paste a single object or a full json array to csv and the result updates instantly. Everything is processed locally in your browser, so even large payloads stay on your machine and nothing is uploaded to a server.

Features

How to use the JSON to CSV

  1. Paste your JSON array of flat objects into the input box.
  2. Review the live CSV output on the right and check for any warning banner.
  3. Fix any parse or structure errors shown beneath the input if they appear.
  4. Click Copy to grab the CSV, or use the .csv button to download data.csv.
  5. Open the downloaded file in Excel, Google Sheets, or Numbers.

Example

Input

[ { "id": 1, "name": "Ada" }, { "id": 2, "name": "Linus, Jr" } ]

Output

id,name
1,Ada
2,"Linus, Jr"

Values with commas are automatically quoted in the CSV output.

Common errors & troubleshooting

Frequently asked questions

What is the ArrayKit JSON to CSV converter?
It is an in-browser tool that converts a JSON array of flat objects (or a single object) into a CSV with a header row you can copy or download as data.csv.
How do I convert a JSON array with different keys per object to CSV?
Just paste the array. ArrayKit collects the union of all keys across every object for the header, and any row missing a key gets an empty cell in that column.
What happens to nested objects and arrays during conversion?
Nested values are JSON-stringified into a single cell and a warning is shown. CSV works best with flat objects, so flatten them first for cleaner results.
Can I open the CSV result in Excel or Google Sheets?
Yes. Click the .csv button to download data.csv, then open it in Excel, Google Sheets, or Numbers as a comma-separated file.
Does the converter quote values that contain commas or quotes?
Yes. Any value with a comma, double quote, or newline is wrapped in quotes and inner quotes are doubled, following standard CSV escaping rules.
Is my JSON uploaded anywhere when I convert it to CSV?
No. This JSON to CSV conversion runs entirely in your browser, so your data never leaves your device and nothing is sent to a server.

Related tools

All ArrayKit tools