JSON to CSV Converter
JSON to CSV Converter is a free data tool that runs directly in your browser with no account required.
About this tool
Flatten a JSON array of objects into CSV with consistent headers and proper escaping. The converter unions the keys across all objects so rows with different fields still line up, and the finished file downloads as converted.csv.
How to use
- Paste an array of objects into the JSON field.
- Check the row, column, and size metrics.
- Copy the CSV output or download converted.csv.
Frequently asked questions
What input shape is required?
A JSON array of objects, for example [{"name":"Alex"},{"name":"Sam"}]. A single object, an array of scalars, or a top-level object produce a clear validation error instead of malformed CSV.
What if my objects have different keys?
The header row is the union of keys from every object, in first-seen order. Objects missing a key get an empty cell in that column.
How are commas and quotes escaped?
Values containing commas, double quotes, or newlines are wrapped in quotes with internal quotes doubled, following standard CSV escaping so Excel and Google Sheets import cleanly.
Are nested objects flattened?
No. A nested object or array is serialized into the cell as-is rather than expanded into dot-notation columns. Flatten your data first if you need one column per nested field.
Is my JSON uploaded during conversion?
No. Parsing and CSV generation run locally in your browser, and the download link is generated on-device.