JSON records to CSV converter

Turn a JSON array of records into a CSV table. Combine property names across records and preview the result before downloading.

Paste data or open a UTF-8 file up to 1 MiB. Processing takes place on this device.

Worked example

Input

[{"SKU":"001","stock":12},{"SKU":"002","city":"Paris"}]

Result

SKU,stock,city
001,12,
002,,Paris

What if a record has missing or nested fields?

A missing property or a null value becomes an empty CSV field. Nested objects and arrays are written as JSON text within a cell. To preserve the exact digits of a large identifier, enclose it in quotes in the source JSON.