Paste JSON and download it as an Excel .xlsx spreadsheet, with nested objects flattened into columns.
Paste JSON, upload a .json file or drop one here.
A preview of the rows. Download saves the real .xlsx file.
Converting…
This free JSON to Excel converter turns a JSON array, an object or an API response into a real .xlsx workbook. Paste the JSON, check the preview and click Download. The first row holds the column headers, every record becomes a row, and the file opens in Excel, Numbers, Google Sheets or LibreOffice with no import wizard and no CSV encoding surprises. Since .xlsx is Excel's native format, it works as a JSON to XLSX converter too.
It is aimed at developers and analysts who have data in JSON and need to hand it to someone who lives in spreadsheets. The workbook is created in your browser, so nothing is uploaded, and the file you download contains the same rows as the preview. Columns are sized to fit their content, so the sheet is readable as soon as you open it.
.json file. You can also drag a file onto the editor.data.xlsx. The Copy button copies the CSV of the sheet in the preview instead.Each object becomes a row. The nested address object is split into two columns, the booleans become Excel TRUE and FALSE, and the tags array goes into a single cell as JSON text. The zip code 02134 keeps its leading zero because it is a string in the JSON. The preview below is exactly what the tool shows for this input.
[
{
"id": 1,
"name": "Ada Lovelace",
"active": true,
"address": { "city": "London", "zip": "02134" },
"tags": ["math", "code"]
},
{
"id": 2,
"name": "Grace Hopper",
"active": false,
"address": { "city": "New York", "zip": "10001" },
"tags": []
}
]id,name,active,address.city,address.zip,tags 1,Ada Lovelace,TRUE,London,02134,"[""math"",""code""]" 2,Grace Hopper,FALSE,New York,10001,[]
| JSON | Excel cell | Notes |
|---|---|---|
[ { }, { } ] | One row per object | The union of all keys becomes the header row, in order of first appearance. |
{ } object | One row | A single object becomes a one-row sheet. |
| string | Text cell | Never converted to a number, date or formula. |
| number | Number cell | Excel keeps about 15 significant digits. |
true / false | Boolean cell | Shown as TRUE and FALSE. |
null | Empty cell | Also used when a record lacks a key that others have. |
| nested array | Text cell | Written as JSON, for example [1,2]. |
Spreadsheets are flat, JSON is not, so something has to give. With Flatten nested objects on, which is the default, every nested object is expanded into columns named by its path: customer.address.city is the city key inside address inside customer. That keeps each value in a cell you can filter on. Turn the option off and the whole nested object is written into one cell as JSON text, which is useful when you only care about the top-level fields.
Records do not need to share the same keys. The header row is the union of every key, in the order each one first appears, and a record that lacks a key simply leaves that cell empty. An array of plain values, such as [1, 2, 3], is written as a single column named value.
APIs often return an object such as { "total": 2, "data": [ … ] } rather than a bare array. When the top level is an object, the converter uses the first key whose value is an array of objects and ignores the rest. If your file has several lists, tick One sheet per top-level array and each one is written to its own sheet, named after its key. Excel does not allow : \ / ? * [ ] in sheet names, so those characters are replaced with underscores, names are cut to 31 characters and duplicates get a number.
With more than one sheet, a Preview sheet picker appears next to the options. The preview shows one sheet at a time as CSV, so you can check each sheet's columns before downloading, and Copy gives you that sheet's CSV on its own. The download always contains every sheet, whichever one is in the preview.
Numbers stay numbers, which is what you want for totals and filters, but Excel stores only about 15 significant digits. Long identifiers such as card numbers, barcodes or 64-bit IDs should be strings in your JSON; the converter keeps strings as text, so leading zeros survive and a value like =1+1 is not evaluated as a formula. Dates in JSON are strings, so they arrive as text in ISO format; convert them in Excel with DATEVALUE or Text to Columns if you need date arithmetic.
A sheet holds at most 1,048,576 rows and 16,384 columns, and a cell holds at most 32,767 characters. If your JSON exceeds one of these, the tool reports it instead of writing a broken file.
Converting JSON to Excel is also the quickest way to see how consistent a dataset really is. Missing keys show up as blank cells, mixed types stand out in a column, and a filter or pivot table answers most "how many of these have…" questions without writing a script.
If a plain-text file is enough, the JSON to CSV converter uses the same rows, and the JSON to HTML table converter is handy for emails and web pages. To go the other way, use the Excel to JSON converter. Need realistic records to try this with? Create them with the JSON Generator, or see how teams use them in seeding test databases in CI/CD.
Paste your JSON into the JSON Input editor, or upload a .json file. The sheet preview updates as you type, and clicking Download saves the result as data.xlsx, which opens in Excel, Numbers, Google Sheets and LibreOffice.
With Flatten nested objects ticked, each nested value gets its own column named with dot notation, such as address.city. Without it, a nested object is written into one cell as JSON text. Arrays inside a record are always written as JSON text in a single cell.
Yes. If the top level is an object whose keys hold arrays of objects, tick One sheet per top-level array. Each key becomes its own sheet, named after the key, with names shortened or numbered where Excel's rules require it. A Preview sheet picker then lets you check each sheet before you download the workbook.
JSON numbers and true/false values become real Excel numbers and booleans, so you can sum, sort and filter them. Strings always stay text, which keeps IDs such as 00123 and long barcodes intact. Date strings are not converted, so use Excel's Text to Columns or a DATEVALUE formula if you need real dates.
The limits are Excel's own: 1,048,576 rows, 16,384 columns and 32,767 characters per cell. The converter shows an error if your data goes past them. How much JSON the page can handle in practice depends on your browser and memory.
Yes. Use the Excel to JSON converter, or click Swap direction above the editors. It reads .xlsx, .xls and .ods files and returns an array of objects.
No. The .xlsx file is built in your browser with JavaScript, so your data never leaves your device.