JSON to CSV Converter
Convert JSON to CSV online: turn lists of objects into tables for Excel, LibreOffice and Google Sheets, with a live preview.
Comma works for most systems and English-language spreadsheets. If your Excel uses a comma as the decimal separator (common in Europe and Latin America), pick semicolon.
Nested objects become dot-notation columns (address.city). Inner arrays are written into the cell as JSON text. Null or missing values become empty cells.
Preview
Convert JSON data into CSV files for free. This tool turns lists and collections of JSON objects into tidy tables that work with Excel, LibreOffice, Google Sheets and other spreadsheet apps. Each object becomes a row and each property becomes a column; you can check everything in the table preview before exporting and choose the delimiter that works best in your software.
The most common case is an API response: an array of records that needs to become a report, go into a tracking spreadsheet or be imported into another system. But not every JSON document is a simple list, and the converter handles that. If the list sits inside an object (like {"data": {"items": [...]}}), it finds it automatically and tells you which path it used. If the objects have different properties, the columns are the union of all of them and anything missing is left blank. Everything is processed in your browser — no data is uploaded.
Need to go the other way, or want to find an error in your JSON before converting? CSV to JSON Converter · JSON Validator
How to convert JSON to CSV
- Paste the JSON into the input box, drag a file into it or click "Import .json file".
- Pick the delimiter: comma for most systems, semicolon if your spreadsheet uses a comma for decimals.
- Check the table preview and the row and column counts.
- Copy the CSV or click "Download .csv" to save a file that's ready to open in your spreadsheet.
How the data is converted
- Columns: the union of every property found, in the order each first appears.
- Nested objects are flattened with dots: {"address": {"city": "Denver"}} produces the column address.city.
- Arrays inside a record are written into the cell as JSON text, for example ["customer","vip"], so nothing is lost.
- Missing fields, null and empty objects become empty cells; true and false are written as text.
- Cells that contain the delimiter, quotes or a line break are wrapped in double quotes, following the RFC 4180 standard.
Practical example
The preloaded example has three customers. Ana and Bruno have an email address; Carla doesn't, but she has a phone number. The result is a CSV with the columns id, name, email, address.city, address.state, tags and phone: Carla's email cell is empty, as are Ana's and Bruno's phone cells, and Ana's tags appear as ["customer","vip"]. The downloaded file opens in Excel with every field in its own column and accented characters intact.
Frequently asked questions
What JSON structure can I convert?
Ideally an array of objects, such as [{"name": "Ana"}, {"name": "Bruno"}]. The tool also accepts an object that holds that list in one of its properties (it finds the first list of objects and shows the path) and a single object, which becomes one row. Lists of plain values produce a single column called value.
Why does my CSV open in a single column in Excel?
Excel uses your system's list separator. In regions where the comma is the decimal separator, that separator is a semicolon, so a comma-delimited file ends up in one column. Select "Semicolon" as the delimiter and download the file again.
Will accented characters show correctly in Excel?
Yes. The downloaded file is saved as UTF-8 with a BOM, a small marker at the start of the file that makes Excel detect the encoding and display accents and other special characters correctly.
What happens to objects and arrays inside each record?
Inner objects are flattened: each inner property becomes a column named with its dot-separated path, such as address.city. Inner arrays don't have a single natural way to become columns, so they're written into the cell as JSON text, preserving all their content.
Is there a size limit?
There's no fixed limit: processing uses your browser's memory, and files with thousands of records convert in a few seconds. The preview shows the first 100 rows to keep the page responsive, but the generated CSV always contains every record.
Is my data stored or sent anywhere?
No. Reading the file, converting it and downloading the result all happen in your own browser. No data is sent to a server, so you can safely convert internal reports and customer information.