JSON to CSV
Convert a JSON array of objects to CSV in your browser. Nested objects are flattened with dot notation into columns, ready to copy or download as a file.
How it works
- 01Paste a JSON array of objects.
- 02Nested fields are flattened into dot-notation columns.
- 03Preview the generated CSV.
- 04Copy it or download the .csv file.
Frequently asked questions
What JSON shape does it expect?
Provide an array of objects, where each object becomes a row. The tool collects every key across all objects to build a complete set of columns, filling missing values with blanks.
How are nested objects handled?
Nested objects are flattened using dot notation, so { user: { name: 'Al' } } becomes a column named user.name. This keeps hierarchical data readable in a flat CSV grid.
Are special characters escaped?
Yes. Values containing commas, quotes or line breaks are wrapped in quotes and internal quotes are doubled, following the standard CSV rules so the file opens correctly in Excel and Sheets.
Is my JSON processed privately?
Yes. Conversion runs entirely in your browser and nothing is uploaded. You can safely convert private API responses or database dumps to CSV.
What if my JSON is invalid?
The tool validates the input first and shows a friendly inline error with the reason, so you can fix the JSON rather than get a broken or empty file.
