JSON to CSV Converter
Turn JSON data into a CSV file you can open in any spreadsheet. Each object becomes a row, every key becomes a column, nested fields are flattened into names like address.city, and values with commas or quotes are escaped correctly.
How to Convert JSON to CSV
Quick answer: paste your JSON or open a .json file, pick a separator, then download the .csv or copy it.
-
1
Add your JSON
Paste it or open a .json file.
-
2
Pick a separator
Comma, semicolon or tab.
-
3
Check the columns
Nested fields are flattened.
-
4
Download .csv
Open it in any spreadsheet.
What You Get
Why Convert JSON to CSV?
JSON is the format most web services, apps and databases use to exchange data, but it is hard to read, sort or total by eye. CSV is the simplest spreadsheet format: one row per record and one column per field. Converting JSON to CSV lets you open data in any spreadsheet program, filter and chart it, share it with colleagues who do not work with code, and import it into mailing tools, accounting software and reports.
How the Columns Are Built
The converter looks for an array of objects, either at the top level or inside the first property that holds one, such as "results" or "items". Every key found in any object becomes a column, so records with missing fields simply get empty cells. With Flatten nested objects on, an address object becomes columns such as address.zip and address.country, and lists of simple values like tags are joined with semicolons. Deeper lists of objects are numbered, as in items.0.name.
Commas, Quotes and Line Breaks
Values that contain the separator, double quotes or line breaks are wrapped in quotes, and inner quotes are doubled, following the standard CSV rules that every spreadsheet understands. "Chen Wei, Jr." therefore stays in one cell instead of splitting across two. Numbers, true and false are written as they are.
Opening the File in a Spreadsheet
Some spreadsheet programs show accented letters incorrectly when a CSV file has no marker saying it is UTF-8. Tick Spreadsheet-friendly accents to add that invisible marker. If your spreadsheet puts all data in one column, it expects a different separator: choose semicolon in countries that use a comma for decimals, or tab for the most reliable result.
Example
The sample contains three customers with nested addresses and a list of tags. The CSV gets the columns id, name, email, city, tags, address.zip and address.country, with one row per customer and "new; vip" in the tags cell. Download it as a .csv file and it opens straight into a tidy table.
Who Converts JSON to CSV?
Analysts exporting data from web services and dashboards, marketers moving contact lists between tools, shop owners exporting orders and products, developers preparing data for non-technical colleagues, students working with open data portals and researchers reshaping survey exports. Whenever data arrives as JSON but needs to be read in a spreadsheet, this is the quickest path.
Good to Know
If the JSON is invalid, a message shows the line where the problem was found; common causes are a missing comma, trailing commas or single quotes instead of double quotes. A single object, rather than an array, becomes one row. To tidy and check JSON before converting, use the JSON Formatter, and to go back, CSV to JSON.
Private, Free and Instant
The converter is free and works with files up to 5 MB. There is no sign-up, no row limit beyond the 5 MB file size and nothing to install. The conversion runs in your browser, so customer lists, exports, settings files and other private data are never uploaded or stored. You can open a file from your device, paste data straight from another program, and download the result with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.
JSON to CSV: Turning Records Into a Spreadsheet
APIs return JSON, but analysts and managers want spreadsheets. Converting an array of records to CSV opens it in Excel, Google Sheets or any data tool.
What the converter needs
An array of objects works best. The keys become column headers, and each object becomes a row. Objects with different keys result in a column for every key found.
Nested data
CSV is flat, so nested objects are flattened using dotted names such as address.city, and lists may be joined into one cell. Check the result for columns that hold long text.
For the reverse, see CSV to JSON.
Frequently Asked Questions
Questions about JSON to CSV