JSON ↔ CSV Converter
Convert between JSON arrays and CSV — flatten nested objects, choose delimiters, download the file.
Runs 100% client-sideOn this page4 sections
Output will appear here…HOW TO USE
- 01Pick a direction. Nested objects flatten with dot-notation keys (e.g. user.email); arrays serialize as JSON strings inside cells.
- 02Choose a delimiter and whether headers are present. Values that contain the delimiter, quotes, or newlines are quoted/escaped per RFC 4180.
- 03Click Download to save the output as a file — the file is built locally in your browser.
WHEN TO USE
Use this when you need tabular test data from a JSON API response or fixture — for spreadsheet review, data-driven test seeding, or import into a test management tool. Convert a JSON array of objects to CSV to feed into Cypress fixtures, Playwright data tables, or any tool that accepts delimited files. Use the reverse (CSV → JSON) when a QA team maintains test cases in spreadsheets and you need a JSON fixture from them.
WHAT BUGS THIS FINDS
Delimiter collision in field values
A field value containing commas is not quoted, causing it to be parsed as multiple columns by the consumer — Convert with the correct delimiter and confirm the output escapes field values per RFC 4180.
Nested object flattening discrepancy
A nested key user.address.city appears as a column header after dot-notation flattening — if the consumer expects a flat key 'city', the mismatch silently misaligns data. Convert and review the header row.
Array field serialized as string
A JSON array inside an object cell is serialized as a JSON string literal in the CSV — a consumer trying to parse it as a native array will fail. Convert and confirm whether the downstream tool handles this encoding.
Encoding and header row issues
A CSV opened in Excel may show garbled characters or treat the first row as data — Convert surfaces the raw output so you can verify encoding and header presence before importing into test data tools.
QA USE CASES
Data-driven test fixture generation
Convert a JSON API response containing a list of records to CSV, then use the file as a Cypress or Playwright data fixture to drive parameterised test cases.
Test data spreadsheet to JSON fixture
Convert a QA team's CSV test data sheet to JSON to create a fixture file for a database seeder or API mock without manually restructuring the spreadsheet.
API response tabular review
Convert a JSON array response to CSV and open it in a spreadsheet to spot missing fields, unexpected nulls, or duplicate rows before writing assertions.