JSON to CSV
Updated 14 October 2026
Paste JSON or choose a file to get a CSV for Excel or Google Sheets. It runs in your browser, so your data is never uploaded.
How it works
Paste your JSON or choose a file. A list of records becomes rows, with one column for each key. Nested objects are flattened, so {"address": {"city": "Pune"}} becomes a column called address.city. Lists inside a record are joined with semicolons by default, or you can give each item its own column, or keep them as JSON text. Numbers are copied exactly as written, so long IDs and values such as 1.50 are not changed. Fields that contain the separator, a quote or a line break are put in quotes, as the CSV standard (RFC 4180) describes.
Example. The JSON [{"id": 1, "name": "Li, Wei", "tags": ["new", "vip"]}] becomes a header row id,name,tags and a data row 1,"Li, Wei",new; vip.
If your JSON is an object that holds a list, such as {"data": [ ... ]}, the tool finds the list and converts it, and you can choose a different part from the menu that appears. JSON Lines files, with one record on each line, work too.
Questions
Is my data uploaded anywhere?
No. The conversion runs in your browser, on your device. Nothing you paste or open is sent to a server.
How are nested objects and lists handled?
Nested objects are flattened into columns named with a dot, such as address.city. A list inside a record is joined with semicolons when it holds plain values, such as tags. You can instead give each item its own column (tags.0, tags.1) or keep the list as JSON text in one cell.
Why do some cells come out empty?
Records do not always have the same keys. The tool gathers every key it finds, in the order it first sees them, and leaves a cell empty where a record has no value. A null value also becomes an empty cell.
Will Excel open the file correctly?
Usually yes. The byte order mark option is on by default, which lets Excel read accented and non-Latin letters properly. If your Excel expects semicolons, which is common where a comma is used for decimals, choose the semicolon separator. Excel can still turn values that look like dates or very long numbers into something else when it opens a CSV. If that matters, import the file with Data, From Text/CSV, and set those columns to Text.
What does the formula guard do?
A spreadsheet can treat a text value that starts with =, +, - or @ as a formula when it opens a CSV. If your JSON comes from a source you do not fully trust, switch the guard on. It adds an apostrophe in front of such text values so they stay text. Numbers are never changed.
Can it handle big files?
The tool works in your browser's memory, so the limit depends on your device. Files of a few tens of megabytes usually work on a computer. The preview shows the first 20 rows, and the download has all of them.
What is JSON Lines?
A format with one JSON record on each line, also called NDJSON. Paste it or choose the file, and each line becomes a row.
It shows an error. What should I do?
The message gives the line and column where the problem starts. Common causes are a comma after the last item, single quotes instead of double quotes, or text that is not wrapped in quotes. JSON is strict about all three.