Convert JSON arrays of objects—or flat objects—into CSV rows. Optionally emit a header line with property names for spreadsheet import.
Supported JSON shapes
- Array of homogeneous objects → one row per object
- Array of arrays → rows without automatic headers
- Single object → key/value pairs as rows
Limitations
Nested objects are stringified rather than flattened into multiple columns. Invalid JSON is rejected before conversion.
When to use it
Export API fixture data for Excel review, build import templates from JSON configs, or share tabular snapshots with teammates who prefer spreadsheets. All conversion runs locally in the browser.
Example
Given the JSON array [{"name":"Ada","score":98},{"name":"Grace","score":95}] with headers enabled, the converter emits:
name,score
Ada,98
Grace,95
A single flat object such as {"b":2,"a":1} becomes two rows (a,1 and b,2 depending on key order after parse) so spreadsheet tools can import key/value pairs without writing a custom parser.