JSON to CSV
Convert a JSON array of objects into CSV for Excel.
Also called: JSON to Excel, JSON to spreadsheet.
JSON to CSV
Convert a JSON array of objects into CSV for Excel.
Watch: how to use the JSON to CSV (12 seconds)
Recorded on a phone, steps written on screen, no sound.
About the JSON to CSV
Paste a JSON array of objects and get CSV for Excel, with a column for every key found.
How the columns are made
Paste a JSON array of objects. Every key that appears in any object becomes a column, so objects with different keys still fit in one table, and a missing value is an empty cell.
A value that is itself an object or a list is written into its cell as JSON text. Values with commas, quotes or line breaks are put in quotes, as the CSV standard requires, so the file opens correctly in Excel and Google Sheets.
How to use the JSON to CSV
- Enter your textType or paste JSON.
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
A sample input and the result the JSON to CSV gives for it (produced by the tool itself, not typed by hand).
- JSON
- [{"name":"Ali","age":30}]
Result:
name,age Ali,30
Good to know
- What you need
- You type or choose: JSON
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
What about nested objects?
They are written into one cell as JSON text; flatten them first with Flatten / Unflatten JSON to get separate columns.
Does Excel open it?
Yes; or use CSV to Excel for a real .xlsx.