How json to csv converter works
JSON and CSV are two common formats for tabular data. JSON is hierarchical and nested; CSV is flat, with one row per record and one column per field. Converting JSON to CSV means flattening each object into a row and collecting every key that appears across all objects into the column header.
This converter accepts a JSON array of objects (or a single object) and produces CSV with the first object's keys as the header row in their original order, followed by one row per object. Fields containing commas, double quotes, or newlines are wrapped in quotes and internal quotes are doubled, following RFC 4180. Missing keys become empty cells, so sparse objects align correctly.
Paste your JSON and click Convert. The tool reports the number of rows and columns. Nested objects are flattened with dot notation by default (so {"address": {"city": "NYC"}} becomes a column named address.city). Use it to export an API response or a JSON dataset into a spreadsheet.