JSON to CSV Converter

Convert a JSON array of flat objects into CSV.

An API gave you JSON and the thing you have to upload it into wants a CSV. This takes a JSON array of objects and lines the keys up into columns, including keys that only some of the objects have — those become empty cells rather than shifting everything after them out of line.

How JSON to CSV Converter works

  1. Enter or paste your text or values.
  2. It's processed instantly on your device as you type.
  3. Copy or download the result.

Good to know: Flat objects only. A value that is itself an object or an array has no CSV representation and comes through as text like [object Object] — flatten those into their own keys first (for example address.city rather than a nested address).

Common questions

What if my objects do not all have the same keys?

Every key seen anywhere in the array becomes a column, in the order first encountered, and objects missing that key get an empty cell. Nothing is dropped and no row shifts.

Does it accept a single object rather than an array?

No — it needs a non-empty JSON array, because a CSV is a table of rows. Wrap a lone object in square brackets and it converts as a one-row table.