JSON to Excel Converter
Turn a .json file into an Excel workbook with one row per record. Numbers arrive as numbers, nested objects become columns, and the file stays on your device.
Updated
How to convert JSON to Excel
- Select Choose a .json file, or drag the file onto the box.
- Check the preview. The keys of your records appear in row 1, and each record fills one row.
- Select Download Excel (.xlsx).
The workbook opens in Excel, Google Sheets, Numbers and LibreOffice Calc. If you have no JSON to hand, Try a sample file shows the conversion on a short product list.
How JSON values map to Excel cells
Going to .xlsx has one advantage over going to CSV. A workbook stores a type with every cell, so nothing has to be guessed when the file is opened.
| JSON value | Excel cell |
|---|---|
"Desk lamp" |
Text |
24 or 19.75 |
Number |
true / false |
TRUE / FALSE |
null or a missing key |
Empty |
"00123" |
Text. The leading zeros are kept |
"2026-03-02" |
Text. JSON has no date type |
{"a": {"b": 1}} |
A column named a.b |
["x", "y"] |
One cell containing x, y |
[{"k": 1}, {"k": 2}] |
One cell containing the JSON text |
Columns are created in the order the keys first appear. Records do not need identical keys. A key that shows up only in some records gets its own column, and the other rows are left blank there.
Which JSON files work
The converter looks for a list of records:
- An array of objects at the top level is the ideal input.
- An object that contains an array of objects, such as an API response with a
dataoritemskey, also works. The first such array is used. - A single object becomes a sheet with one data row.
A file that contains only a number or a piece of text has no records, and the tool tells you so.
Open JSON in Excel with Power Query
If your version of Excel has the Get Data menu, you can import JSON without a converter:
- Go to Data > Get Data > From File > From JSON.
- Select the file and choose Import.
- If the editor shows a list, select To Table, then OK.
- Select the expand icon at the right of the column header, untick Use original column name as prefix if you want short names, and select OK.
- Expand any remaining nested columns the same way.
- Select Close & Load.
The table stays linked to the file. Data > Refresh All reads the JSON again, which is useful when the file is replaced on a schedule. The converter on this page is quicker for a one-off, and it works where Power Query is not available.
JSON in Google Sheets
Google Sheets cannot open a .json file from its menus. Convert the file to .xlsx here, then use File > Import > Upload in Sheets.
After the conversion
A few steps make the sheet easier to work with:
- Make it a table. Select any cell and press Ctrl+T. You get filter buttons and banded rows.
- Turn date text into dates. Select the column, go to Data > Text to Columns and select Finish. Excel converts text such as 2026-03-02 into a real date.
- Split joined arrays. A cell such as
usb, accessoriescan be split with Text to columns. - Look up related data. Join the sheet to another with XLOOKUP on a shared ID.
Things that go wrong
- “This is not valid JSON.” The file has a syntax error. Trailing commas, single quotes and comments are allowed in JavaScript and rejected in JSON.
- Very large integers change. JSON numbers longer than about 15 digits cannot be held exactly by browsers or by Excel. IDs of that length should be quoted strings in the JSON.
- Timestamps stay as text. A value such as
2026-03-02T10:00:00Zis passed through as written. - Too many columns. Records with deep nesting can produce hundreds of dotted columns. Delete the ones you do not need, or trim the JSON first.
- A sheet full of JSON fragments. The records hold arrays of objects. Extract the inner array to its own file and convert that.
Limits
- Files up to 50 MB. A sheet holds at most 1,048,576 rows and 16,384 columns.
- The result is one sheet of values with no formatting. Column widths are Excel’s defaults.
- The preview shows the first 200 rows and 40 columns. The workbook contains all of them.
- For a plain text table, use JSON to CSV. To turn a sheet back into JSON, use Excel to JSON.
Questions
How do I convert a JSON file to Excel?
Choose the .json file above, check the preview, and select Download Excel (.xlsx). The workbook has one sheet, with the JSON keys in row 1 and one record on each row below.
How do I open a JSON file in Excel directly?
Go to Data > Get Data > From File > From JSON. Excel opens the Power Query Editor, where you turn the list into a table and expand its columns before loading it to a sheet.
Are numbers kept as numbers?
Yes. A JSON number becomes a numeric cell you can sum and sort, and true or false becomes a logical value. A number written in quotes in the JSON is text and stays text.
What happens to nested objects and arrays?
Nested objects are spread into columns with dotted names such as stock.units. Arrays of plain values are joined with commas in one cell. Arrays of objects are kept as JSON text in one cell.
Does the converter work with JSON from an API?
Yes. Save the response as a .json file and choose it. If the records sit inside a wrapper such as {"results": [ ... ]}, the array is found and used as the rows.
Is the JSON uploaded?
No. The file is read and the workbook is built inside your browser.