JSON to CSV

Converts a JSON array of flat objects to CSV. The header row is taken from the first object's keys; values that need it are quoted per standard CSV rules.

Private by architecture: All processing is 100% client-side memory. Your data never leaves this browser tab.
JSON input
0 lines · 0 charsJSON
CSV output
Ctrl/Cmd+Shift+C
0 charsCSV

Example

[
  { "name": "Ada", "age": 30 },
  { "name": "Grace", "age": 28 }
]

produces:

name,age
Ada,30
Grace,28

FAQ

Can I convert CSV back to JSON?
Yes! Click the ⇌ swap button or toggle the Direction dropdown to convert CSV tables back into JSON arrays.
What if objects have different keys?
The header row is taken from the first object's keys only. Later objects contribute values for those same keys.
Can I open this in Excel?
Yes. The output is standard CSV and opens in Excel, Google Sheets, and Numbers.