From JSON to a spreadsheet
CSV is a plain table format that Excel, Google Sheets and databases all open. Converting JSON to CSV lets non-developers read API data, and lets you filter, sort and chart it.
The converter expects an array of objects. Each object becomes a row and each key a column:
[{"name": "Ali", "city": "Lahore"},
{"name": "Sara", "city": "Karachi"}]
becomes a table with the columns name and city.
Nested objects and arrays
With flattening on, {"address": {"city": "Lahore"}} becomes a column called address.city. Arrays are written as JSON text inside the cell so no data is lost. Objects with different keys are fine: missing values are left empty.
Comma or semicolon?
Use a comma for most software. In countries where the comma is the decimal separator (much of Europe), Excel expects a semicolon. If all your data appears in one column when you open the file, switch the separator.
Why do Urdu or accented letters look wrong in Excel?
The downloaded file includes a marker that tells Excel it's UTF-8, so Urdu, Arabic and accented letters display correctly when you double-click it.
JSON not valid?
Check and fix it first with the JSON Formatter, which shows the exact line of the error.