Paste JSON into the Quick paste box, let it flatten into a table, then press Download .xlsx to get an Excel file. The tool handles table-shaped data only, so nested objects become a.b.c columns and arrays become a.0, a.1.
Runs entirely in your browser. Your data is never uploaded. Tiếng Việt
API output is often JSON nested several levels deep, while the reader wants a spreadsheet to filter and sort. The part that needs care is nesting: Excel has only rows and columns, so something has to turn customer.name or the items array into columns. The option Flatten nested objects (a.b.c) does that, and this page opens with it on. You see the grid before downloading, so you can fix column names first.
Quick paste box and press Load into table ↵, or use Import file with a .json file.⚙ Options on the Excel tab to name the sheet, turn on auto width or lock the sheet.Download .xlsx to get the file. The Excel tab itself is only a TSV preview.The preview has seven columns because the longest items array holds three items, giving order.items.0 through order.items.2. Orders with fewer items leave the extra columns empty. The amount is plain digits, with no thousands formatting.
[
{
"id": "A1",
"customer": {
"name": "Anna Reed",
"city": "London"
},
"order": {
"total": 450,
"items": [
"book",
"pen"
]
}
},
{
"id": "A2",
"customer": {
"name": "Ben Cole",
"city": "Leeds"
},
"order": {
"total": 1250,
"items": [
"backpack"
]
}
},
{
"id": "A3",
"customer": {
"name": "Cara Lin",
"city": "Bristol"
},
"order": {
"total": 299.5,
"items": [
"notebook",
"pen",
"ruler"
]
}
}
]id customer.name customer.city order.total order.items.0 order.items.1 order.items.2
A1 Anna Reed London 450 book pen
A2 Ben Cole Leeds 1250 backpack
A3 Cara Lin Bristol 299.5 notebook pen rulerExcel is a binary file: press Download file to get the .xlsx. This is a TSV preview.
customer.city or long content fit snugly. Turn it off for default widths.Orders, up to 31 characters. Characters like : / ? * are dropped.450 is text and not a number, and SUM skips it. Change the cell type in Excel when you need to calculate..0, .1, .2 columns for the whole table. Delete extra columns in the grid before downloading.a.b and an object a with b inside share one column name, so you get one column and one value overwrites the other. Rename the key in the source JSON before loading it.Download .xlsx to get a file.Each array item becomes a column with a numeric suffix, such as order.items.0 and order.items.1, next to the other columns of the same row.
An object with a single key holding an array of objects is read as that array. An object with several keys that hold arrays gives one column per key.
The limit is 10,000 rows, 200 columns and 200,000 cells per table. Past that the tool refuses rather than slowing the browser down.
No. The JSON is read and the xlsx is created inside your browser.
No. Every cell is text; change the format in Excel afterwards.