JSON to CSV
A local JSON to CSV converter for API responses, exports and test data: paste JSON, get header-based CSV and download the result.
How it works
The tool parses JSON with JSON.parse in your browser and builds CSV with headers. A root object becomes one row, and an array becomes multiple rows. Nested objects and arrays are flattened into path columns such as profile.name and tags[0]; values are escaped with standard CSV rules.
When to use it
JSON to CSV helps when you need to move an API response, mock data, webhook payload or small ETL draft into a table, BI tool or spreadsheet.
How to use it
- 1Paste a JSON object or array into the editor.
- 2Choose a CSV delimiter: comma, semicolon, tab or pipe.
- 3Click Convert. Nested fields are flattened into dot/bracket path columns.
- 4Copy the CSV or download the .csv file.
Questions
Is JSON sent to a server?
No. JSON parsing, field flattening and CSV generation all run locally in your browser.
What happens to nested objects and arrays?
Nested values are flattened into columns such as profile.name or tags[0]. Empty objects and arrays are preserved as {} and [].
Which JSON shape is supported?
The root value must be an object or an array. An array of objects becomes multiple rows, and a single object becomes one row. Root strings, numbers and booleans show a clear error.