How does JSON to CSV conversion work?
CSV represents tabular data as rows and columns, making it useful for spreadsheets, analysis tools, and databases. This converter expects a top-level array of objects, such as [{"name":"Ada","score":10}]. Columns are combined in the order fields first appear; a missing field becomes an empty cell. Nested objects become columns such as user.name. Arrays and other compound values are written as JSON text. Cells containing commas, double quotes, or line breaks are quoted, and embedded quotes are escaped correctly.
Common uses
- Import API records into Excel, Numbers, or Google Sheets.
- Turn flat or nested JSON data into a readable table.
- Export lightweight CSV for analysis scripts and other tools.
How to convert JSON to CSV
- 1
Paste an object array
Enter a non-empty JSON array whose items are objects.
- 2
Review rows and columns
Inspect the generated CSV. Fields across objects are combined into shared columns.
- 3
Copy or download
Copy the CSV text or download a .csv file for a spreadsheet app.
Conversion example
Input
[{"name":"Ada","city":"London"},{"name":"Grace","city":"New York"}]Result
name,city
Ada,London
Grace,New YorkObject fields become the header row and each object becomes one row. A nested field such as address.city uses a dotted column name.
Frequently asked questions
Can I convert a single JSON object?
The input must be a non-empty array of objects. Wrap a single object in an array, for example [{"name":"Ada"}].
How are nested objects and arrays handled?
Nested objects are flattened into dotted column names. Arrays and object-array fields are placed in a cell as JSON text so their structure is retained.
Why does a CSV look garbled in Excel?
Choose UTF-8 when importing the file. Some regional settings expect semicolons as separators; this tool outputs standard comma-separated CSV.