You have JSON data, maybe from an API or an export, and you want it in a spreadsheet. That way you can sort it, filter it or share it with someone who doesn’t read code.
Excel doesn’t open a .json file the way it opens a CSV file. You need to convert it first. This guide shows two ways to do that. It also shows how to fix the most common problems.
Quick answer: Paste your JSON array into a JSON to Excel converter, check the preview and download the .xlsx file. Or, in Excel itself, use Power Query: Data → Get Data → From File → From JSON.
What kind of JSON works best in Excel?
A spreadsheet is a grid of rows and columns. The JSON that fits it best is an array of objects. An array is a list in square brackets. An object is a group of key–value pairs in curly braces.
[
{ "id": 1, "name": "Ada", "email": "ada@example.com" },
{ "id": 2, "name": "Linus", "email": "linus@example.com" }
]Each object becomes one row. Each key becomes one column. So this example turns into a sheet with three columns (id, name, email) and two rows of data.
API responses often wrap the list inside another object, such as { "users": [ ... ] }. In that case, copy just the array (the part in square brackets) before you convert it.
How to convert JSON to Excel online, step by step
- Open the JSON to Excel converter.
- Paste your JSON array of objects into the editor, or upload a
.jsonfile. - Check the preview. Choose whether to flatten nested objects into their own columns.
- Click “Download .xlsx”.
- Open the file in Excel, Google Sheets or Numbers.
The conversion runs in your browser. The file you get is a real Excel workbook, not a CSV file with a new name. Numbers, booleans (true or false values) and text keep their types. Accents and emoji also show up correctly.
What happens to nested data?
JSON can hold objects inside objects. A grid can’t. Take this record:
{
"name": "Ada",
"address": { "city": "London", "zip": "N1 9GU" }
}You have two choices:
- Flatten nested on: each inner key gets its own column. Here you get
address.cityandaddress.zip. This is usually what you want. - Flatten nested off: the whole inner object is written as JSON text in one cell. This keeps the sheet small, but the cell is harder to read.
If you need a CSV file instead, the JSON to CSV converter flattens data the same way. It also turns list items into numbered columns like tags.0 and tags.1.
How to import JSON with Excel’s Power Query
Power Query is a tool built into recent versions of Excel. It loads data from files and other places, and lets you change its shape. Here is how to use it with JSON:
- Go to Data → Get Data → From File → From JSON.
- Pick your
.jsonfile. The Power Query Editor opens. - If you see a single column called “List”, click To Table, then click OK.
- Click the small button with two arrows in the column header. Pick the fields you want as columns.
- If some columns still show “Record”, expand them the same way.
- Click Close & Load to send the data to a sheet.
The best thing about Power Query is that you can refresh the sheet when the JSON file changes. The downside is that it takes more clicks. Menu names can also be a little different in each Excel version. Some older versions don’t have this option at all.
Common problems and how to fix them
Long IDs turn into zeros
Excel stores at most 15 significant digits (digits that carry meaning) in a number. An ID like 1234567890123456789 gets its last digits replaced with zeros. It may also show as 1.23457E+18. The JSON to Excel converter writes IDs longer than 15 digits as text, so they stay exact. To learn why big numbers are tricky in JSON too, read JSON and big numbers.
Leading zeros disappear
ZIP codes and phone numbers like 02134 become 2134 when Excel treats them as numbers. This happens most often when you open a CSV file. To avoid it, keep these values as strings in your JSON, such as "zip": "02134". A real .xlsx file keeps text as text. In Power Query, set the column type to Text.
Dates show up as text
JSON has no date type. Dates are usually stored as text, such as 2026-11-23. Excel may leave them as text. In Power Query, change the column type to Date to fix this.
Only one row appears
Your JSON is probably a single object, or the list is nested deeper inside it. Find the array of records and convert just that part.
The JSON won’t load at all
The file may have a syntax error, such as a missing comma or a trailing comma. See the most common JSON errors and how to fix them.
Going the other way: Excel to JSON
Need to turn a spreadsheet back into JSON? The Excel to JSON converter reads an .xlsx file in your browser. Your file is never uploaded. You pick a sheet, and the first row becomes the keys. Numbers and booleans keep their type. Dates become standard date strings, and empty cells become null.
If you plan to use CSV as a middle step, read how to convert JSON to CSV without losing data first.
Common questions
Can Excel open a JSON file directly?
Not by double-clicking, the way it opens a CSV file. Use Power Query’s From JSON option, or convert the JSON to an .xlsx file first.
How many rows can Excel hold?
One Excel worksheet holds up to 1,048,576 rows and 16,384 columns. If your JSON has more records than that, split it into several files.
How do I get JSON into Google Sheets?
Convert the JSON to an .xlsx file, then open Google Sheets and use File → Import to upload it.
Why do my numbers show as 1.23E+18?
The number is longer than Excel can store exactly. So Excel rounds it and shows it in scientific notation, a short form with an “E”. Store long IDs as text to keep every digit.