JSON to CSV Converter
Convert a JSON array of objects to CSV in your browser. Builds the header from all keys, quotes what needs quoting, nothing uploaded.
Private by construction. The conversion happens in this page's JavaScript. Nothing you paste here leaves your machine, and the tool keeps working with the network unplugged.
Feed it a JSON array of objects. The header row is the union of every key found across all objects, so ragged data still lines up; missing values become empty cells. Nested objects and arrays are embedded as JSON strings rather than dropped. Output opens directly in Excel, Google Sheets, and LibreOffice.
Questions this tool gets asked
What input shape does this expect?
A JSON array of objects, the shape most APIs return for lists. Each object becomes one CSV row.
How are nested objects handled?
A nested object or array is serialized as a JSON string inside its cell, so no data is silently discarded. Flatten before converting if you want nested keys as separate columns.
Will the CSV open in Excel?
Yes. Fields containing commas, quotes, or line breaks are quoted per RFC 4180, which Excel, Google Sheets, and LibreOffice all read correctly.