Nested objects flattened to dotted columns
[{ "sku": "TL-001", "stock": { "warehouse": 12, "shelf": 3 } }]sku,stock.warehouse,stock.shelf TL-001,12,3
Flatten a JSON array into a CSV that opens cleanly in Excel.
Without it, Excel on Windows can show accented characters incorrectly.
The result will appear here.
Was this tool useful?
Exporting JSON to CSV is what you do when the data has to reach a spreadsheet: an accountant, a marketplace bulk upload, a supplier who works in Excel. The conversion is straightforward for a flat array of objects and needs a decision as soon as the objects are nested.
This tool flattens nested objects into dotted column names, so { customer: { name: "…" } } becomes a customer.name column rather than a JSON blob inside a cell. Union of all keys across rows becomes the header, so a field missing from one row still gets its column.
[{ "sku": "TL-001", "stock": { "warehouse": 12, "shelf": 3 } }]sku,stock.warehouse,stock.shelf TL-001,12,3