JSON Tools

JSON to CSV

Convert an array of JSON objects to a CSV table.

JSON array of objects

CSV

CSV output appears here

About this tool

Paste a JSON array of objects, get a CSV with one row per object. Headers are taken from the union of all keys. Strings with commas, quotes or newlines are escaped per RFC 4180.

FAQs

What input shape is expected?

An array of flat objects, e.g. [{name: 'A', age: 1}, {name: 'B', age: 2}]. Non-array roots and primitive values are flagged as errors.

What if rows have different keys?

The header is the union of all keys across rows. Missing values are left blank.

Does it handle nested objects?

Nested objects and arrays are JSON-stringified into a single cell. Flatten first if you need separate columns.

Other tools