JSON to CSV Converter
Turn a JSON array of objects into a spreadsheet-ready CSV. Prettify maps each object to a row, builds the header from the keys, and shows the result as a sortable table before you download. It all runs in your browser, so paste your JSON and convert.
How arrays become rows
An array of objects is the natural shape for CSV: every object becomes one row, and the union of the keys becomes the header line. Fields that are missing on a given object are left blank in that row, so ragged records still line up under the right columns.
Deeply nested objects and arrays do not map cleanly onto a flat grid, so those values are stringified into a single cell and Prettify warns you when it happens. For the tidiest output, flatten nested structures before converting.
Preview as a table before you download
A shifted row or a stray column is easy to miss when a file converts without anyone looking at it first. The output renders here as a live table: click a header to sort, scan for blank or malformed cells, and confirm the shape is right before it reaches Excel, a database import, or a colleague.
When it looks right, download the CSV or copy it. If your input is a single object rather than an array, it is wrapped into a one-row CSV rather than being rejected.
Private, even on big arrays
Everything happens client-side, so exported records, analytics dumps, or anything covered by an NDA never leave your machine to reach a server. The preview table only draws what is on screen, so a source array with hundreds of thousands of entries still generates and downloads its CSV without the tab bogging down.
Frequently asked questions
Is the JSON to CSV converter free?
Yes. Converting a JSON array to CSV and previewing it in the table view are free with no sign-up. Running SQL over the data and plotting more than one column in a chart are Pro features.
Does my JSON leave my device to convert?
No. The conversion runs locally in the browser, so a data export never gets uploaded and there is no server-side copy of your file.
What happens to nested JSON objects?
Because a CSV cell is flat, nested objects and arrays are serialized into a single cell with a warning. Flatten them first if you want each nested field in its own column.
What if my JSON is a single object, not an array?
It is wrapped into an array and converted to a one-row CSV, so you get usable output instead of an error.
Can I convert CSV back to JSON?
Yes. The reverse conversion turns a CSV back into a JSON array of objects, using the header row as the property names.