Convert JSON to an Excel spreadsheet
API responses, exports from web apps and database dumps often come as JSON, while the people who need the data work in a spreadsheet. This converter turns a JSON array of records into an Excel workbook (.xlsx): one row per record, one column per field, with nested objects spread over columns. Unlike a CSV, the workbook keeps the types: numbers are numbers, true and false are logical values, and text is text, so nothing gets reinterpreted when someone opens the file.
Your JSON never leaves your device. It is parsed and converted in a background thread of your browser, so big files work without freezing the page. If you need a CSV instead, use JSON to CSV; to tidy or validate the JSON first, the JSON formatter; and to go back from a workbook, Excel to JSON.
An example
[
{ "id": 1001, "name": "Zoë", "address": { "city": "Paris", "zip": "75002" }, "tags": ["vip", "newsletter"], "active": true }
] | id | name | address.city | address.zip | tags | active |
|---|---|---|---|---|---|
| 1001 (number) | Zoë | Paris | 75002 (text) | vip, newsletter | TRUE |
Objects do not need the same keys: the columns are all keys in the order they first appear, and a missing value leaves an empty cell. null also becomes an empty cell.
Types and Excel's limits
Numbers in the JSON become number cells. Excel keeps 15 significant digits of a number (Excel specifications and limits) and turns any digits after that into zeros (Keeping leading zeros and large numbers). The JSON standard, RFC 8259, points out the same kind of limit for software that reads numbers as 64-bit floating point values. So the converter reads every number with more than 15 significant digits straight from your text and writes it as a text cell: an ID like 12345678901234567890 arrives complete.
A sheet holds at most 1,048,576 rows and 16,384 columns, and a cell at most 32,767 characters. Longer lists continue on a second sheet with the header row repeated, and the tool tells you if a long text had to be cut or columns were left out.
Every value is written as a value, never as a formula. A string like =SUM(A1:A9) appears as that text and does nothing, so a JSON file from an unknown source cannot plant formulas in the workbook.
Dates
JSON has no date type; dates are strings. With ISO dates as Excel dates switched on, strings like 2026-10-23 and 2026-10-23T14:30:00 become real date cells that sort and filter as dates. Excel stores them as serial numbers in the 1900 date system (Date systems in Excel). A trailing Z, which marks UTC, is dropped and the UTC time is kept. Other offsets like +02:00 stay text, because a cell cannot hold a time zone.
How to convert JSON to Excel
- 1Paste your JSON, or drop or open a .json file. The example shows a typical record.
- 2Check Rows from and decide how nested objects and arrays should look. The preview marks each column as number, text, date or true/false.
- 3Download the .xlsx file.
Related guides
- JSON vs YAML vs CSV: Which Format for Which Job
- CORS Explained: Why the Browser Blocks Your Request
- CSV Shows Wrong Characters in Excel: The UTF-8 BOM Fix
Frequently asked questions
Is my JSON uploaded?
No. The JSON is parsed and the workbook is written by your browser, in a background thread on your own device. Nothing is sent to a server.
How do nested objects become columns?
With Flatten to columns, every nested value gets its own column named by its path with dots, so {"address": {"city": "Lyon"}} becomes a column address.city. Choose Keep as JSON text to put the whole nested object into one cell instead.
What happens to arrays inside my records?
You choose. Join values writes ["red", "blue"] as red, blue in one cell, with the separator you pick. Keep as JSON text writes ["red","blue"]. One column per item spreads the values over tags.0, tags.1 and so on.
Do numbers, true and false keep their types?
Yes. JSON numbers become Excel numbers and true and false become Excel TRUE and FALSE, so you can sum and filter them. Strings stay text, even when they look like numbers, so "02134" keeps its leading zero. A number with more than 15 significant digits, like a long ID, is written as text with every digit, because Excel would turn the digits after the 15th into zeros.
Can dates in my JSON become real Excel dates?
Turn on ISO dates as Excel dates. Strings like 2026-10-23 or 2026-10-23T14:30:00 then become date cells. A time with Z, meaning UTC, is written as that UTC time. Strings with another offset like +02:00 stay text, because an Excel cell has no time zone.
My JSON is an object, not an array. Does it work?
Yes. The converter finds the lists inside, like the items in {"data": {"items": [...]}}, and starts with the largest list of objects. Pick another one under Rows from. JSON Lines, one record per line, works too.