JSON to CSV Converter

Convert a JSON array or object into CSV in the browser. Nested objects are flattened into dot-notation columns (address.city) so API responses paste cleanly into a spreadsheet.

Private browser-side processing
Input JSONJSON
Paste a JSON array of objects, or a single object. Nested objects become dot-notation columns; arrays inside a field are kept as JSON text.
4 lines · 203 bytes
Output CSVCSV
No action has been run yet.
0 lines · 0 bytes

About the JSON to CSV converter

Built for API responses and no-code tools

Paste the JSON array a webhook or API returns and get a CSV you can drop straight into Google Sheets or Excel — handy when a Zapier, Make, or n8n step hands you raw JSON and you just need the rows in a spreadsheet.

Nested objects become columns

A field like {"address":{"city":"Tokyo"}} becomes its own address.city column instead of collapsing into unreadable text. Arrays inside a field are kept as JSON text in a single cell, since exploding them into columns would make the header row unpredictable.

Nothing leaves the tab, but watch long IDs

The conversion is a function call inside this page, so the JSON you paste never leaves the tab — there is no upload step and no temporary file on a server. What JavaScript does impose is precision: integers beyond 2^53 are rounded during parsing. If your IDs run to 16 digits or more (Snowflake IDs, 64-bit database keys), quote them as strings in the JSON, or convert with Miller, pandas or jq, which keep the digits.

Related converters

Related articles