JSON to CSV
Flatten complex data structures into clean, tabular CSV format.
Tabular Preview
Technical FAQ
Can it handle nested JSON objects?
How are arrays processed?
Is there a file size limit?
Is my data sent to any server?
Flattening JSON for People Who Live in Excel
What flattens cleanly — and what resists
CSV is a flat grid; JSON is a tree. The conversion works exactly as well as the data is flat:
| JSON shape | CSV result |
|---|---|
| Array of flat objects | Perfect — keys become columns, objects become rows |
| Objects with missing keys | Fine — gaps become empty cells |
| Nested objects (address.city) | Workable — dotted column names like address.city |
| Arrays inside objects (tags: [a, b]) | Awkward — joined into one cell or exploded into rows |
| Wildly different objects per row | Messy — a sparse grid with many empty cells |
The audience is the point
This conversion exists because the people who need the data — accounts, operations, a client — live in spreadsheets, not API consoles. An export of orders, a usage report, a contact dump: one conversion turns developer output into something filterable, sortable and pivot-table-ready. For deeply nested API responses, consider extracting just the array you need (the JSON formatter's tree view makes the path obvious) before converting.
Excel will mangle a few things — pre-empt them
Long numbers (CNIC, account numbers) become scientific notation, leading zeros vanish from phone numbers, and anything date-like gets reformatted. The defense: open the CSV via Excel's import dialog and declare those columns as text, rather than double-clicking the file. The reverse trip is CSV to JSON, and quick conversions between developer formats continue in YAML to JSON.