JSON to CSV Converter
Turn a JSON array into a spreadsheet-ready CSV.
- 100% Free
- No Sign Up
- Works in Your Browser
JSON to CSV
Turn a JSON array into CSV
More Developer Tools
View all tools- CSV to JSONTurn CSV rows into JSON
- JSON to YAMLConvert JSON into YAML
- YAML to JSONConvert YAML into JSON
- JSON to XMLConvert JSON into XML
- XML to JSONConvert XML into JSON
- JSON formatterPretty-print and indent JSON
- Base64 encode/decodeEncode and decode Base64 text
- JWT decoderDecode a JSON Web Token
- UUID generatorGenerate random v4 or time-ordered v7 UUIDs
Every everyday developer tool, right in your browser.
No installs. No uploads. No signup.
Browse all 36 tools- Developer tools
- 36
- Cheat sheets
- 10
- Bytes uploaded
- 0
How to use the JSON to CSV
Three steps, all in your browser.
- 1
Paste your input
Type or paste your code or data. Press Sample to try an example.
- 2
Check the options
Adjust the options if you need to. The conversion updates instantly.
- 3
Copy the result
Copy the output in one click. Nothing is saved or sent anywhere.
JSON to CSV Converter: what to know
JSON to CSV turns an array of JSON objects into comma-separated values that open in Excel, Google Sheets, Numbers or any database import tool. Each object becomes a row, and the columns are the union of every key found, in the order they first appear, so objects with different keys line up and missing values are left empty. If the array is wrapped in an object, such as {"items": [...]}, the array inside is used.
CSV is flat and JSON isn't, so nested values need a decision. Flattening turns nested objects into dot-path columns, so {"address": {"city": "Oslo"}} becomes a column named address.city, and array items get numbered columns (tags.0, tags.1). The CSV to JSON tool can rebuild the nesting from those headers. Values containing commas, quotes or line breaks are quoted following RFC 4180, with quotes inside them doubled.
The output uses commas and a header row. Spreadsheets in some regions expect semicolons when opening CSV files directly; if columns don't split, use the spreadsheet's import option and choose comma as the delimiter.
Popular uses
- Opening an API response in a spreadsheet
- Exporting records for a report or a colleague
- Preparing data for a database or CRM import
- Turning log entries in JSON into a table
Tips for the best result
- Arrays of arrays work too: each inner array becomes one row, with no header.
- Leading zeros (ZIP codes, phone numbers) can be dropped by Excel on open; import the column as text to keep them.
- Very deep or array-heavy data makes many columns when flattened; consider picking the fields you need first.
Read how JustYourDev works and our privacy details. Code, data and files you use here are processed in your browser and are never sent to our server.