JSON to CSV
Flatten an array of objects into CSV. Nested objects become dot-path columns.
CSV appears here.
Runs in your browser. Your input is not uploaded to PayloadIQ.
This tool turns a JSON array of objects into a CSV table, entirely in your browser. Each object becomes a row, and the columns are the union of every key seen across all rows. Nested objects are flattened to dot-paths — so {"profile":{"city":"London"}} becomes a profile.city column. A lone object is treated as a single row, and values containing commas, quotes, or newlines are escaped per the CSV convention so the output opens cleanly in any spreadsheet.
One caveat: array values are not exploded into rows — they are written as a compact JSON string in a single cell (for example ["dev","math"]). If you need one row per array element, reshape the JSON first. Rows that are not objects (plain strings or numbers in the array) are rejected with an error rather than silently dropped.