DevConvert
Free Online Tool

JSON to CSV Converter

Convert JSON arrays to CSV instantly. Paste a JSON array of objects and get a properly formatted CSV file with headers. Free online JSON to CSV converter.

Try sample:
Input
Output

Output will appear here

Press ⌘ Enter to convert

How It Works

  1. 1Paste a JSON array of objects
  2. 2DevConvert extracts keys from the first object as headers
  3. 3Each array item becomes a CSV row — copy or download the .csv file

Examples

Users array

Input

[{"id":1,"name":"Alice","age":30},{"id":2,"name":"Bob","age":25}]

Output

id,name,age
1,Alice,30
2,Bob,25
Products

Input

[{"sku":"A001","price":499,"in_stock":true},{"sku":"A002","price":999,"in_stock":false}]

Output

sku,price,in_stock
A001,499,true
A002,999,false

Frequently Asked Questions

What JSON structure does this expect?

The input should be a JSON array of objects where each object has the same keys. The first object's keys become the CSV header row.

What happens with nested objects in JSON?

Nested objects are serialised as a JSON string in the CSV cell. If you need to flatten them, simplify the structure in your JSON first.

Is the CSV output safe to open in Excel?

Yes. DevConvert escapes values that contain commas, quotes, and newlines. It also neutralises formula injection by prefixing values that start with = + - @ with a tab character.

Can I convert a single JSON object (not an array)?

A single object will produce a single CSV row with one data row beneath the header.

Related Tools