JSON to CSV Converter
Turn a JSON list of flat items into a CSV file.
An API gave you JSON, and the place you upload to wants a CSV. This takes a JSON list of items and turns the keys into columns. Keys that only some items have become empty cells. Nothing shifts out of line.
How to use it
- Enter or paste your text or values.
- It works on your device as you type.
- Copy or download the result.
Good to know: Flat items only. If a value is itself an item or a list, a CSV cannot hold it. It comes out as text like [object Object]. Flatten those first, for example address.city instead of a nested address.
Common questions
What if my objects do not all have the same keys?
Every key found anywhere becomes a column, in the order it first appears. Items missing a 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 JSON list with at least one item, because a CSV is a table of rows. Put square brackets around a single object and it becomes a one-row table.