JSON to CSV Converter

Paste a JSON array of flat objects to get a CSV file with one column per unique key, or paste CSV to get it back as a JSON array — quoting, embedded commas, and embedded newlines are all handled correctly in both directions.

How to use

  1. Choose a direction: JSON → CSV or CSV → JSON.
  2. Paste your data — the conversion runs instantly as you type.
  3. Copy the result or download it as a .csv/.json file.

FAQ

What JSON shape does JSON → CSV expect?

A top-level array of flat objects, e.g. `[{"name": "Ada", "age": 28}]`. Columns are the union of every object's keys, in first-seen order — objects missing a key just get an empty cell for that column.

Are quotes, commas, and newlines inside values handled?

Yes — any field containing a comma, double quote, or newline is wrapped in quotes (with internal quotes doubled), per the standard CSV quoting rule, and CSV → JSON parses that same quoting back out correctly.

Why are all the values strings after CSV → JSON?

CSV carries no type information — every cell is plain text — so the result always uses strings rather than guessing which values were originally numbers or booleans.