JSON to CSV Converter

Paste a JSON array and get a CSV you can open in Excel or Google Sheets.

How to use JSON to CSV Converter

  1. Paste a JSON array (or a single JSON object) into the box.
  2. The CSV appears automatically, with one column per unique key across all objects.
  3. Copy the CSV, or click Download to save it as a .csv file.

Frequently asked questions

Does it handle nested objects or arrays as field values?

Not by flattening them into their own columns — a nested object becomes the literal text "[object Object]" and a nested array becomes its values joined by commas, since values are just passed through JavaScript's default toString(). For clean CSV output, keep your JSON fields to plain strings, numbers, and booleans.

What if my objects don't all have the same keys?

That's fine — the header row is built from the union of every key across all objects, and any object missing a particular key just gets an empty cell in that column instead of causing an error.

How does it handle a value that contains a comma or quote?

It wraps that field in double quotes and doubles any quote characters already inside it, which is standard CSV escaping — so a value like "Smith, John" stays in one cell instead of splitting into two.

Community

Loading...