Someone sends you data as JSON: an export from an app, an API response, a developer's file. You need it in Excel, as rows you can sort and columns you can filter. Double-clicking the file gets you nowhere useful, because JSON is a nested text structure and Excel works in flat grids. The two formats need a bridge.

That bridge is CSV. Convert the JSON to a comma-delimited file first, and Excel opens it as an ordinary table. This guide covers the whole route with the free JSON to CSV Converter on Ovatly: the conversion itself, then the checks to run once the file is open, so you can tell a clean table from one that only looks clean.

Contents

  • Quick answer
  • Why Excel cannot take the JSON as it is
  • What the converter does to the structure
  • How to convert and open the file, step by step
  • Worked example: from a two-record export to a checked table
  • The three checks to run in Excel
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

To open JSON data in Excel as a clean table: paste the JSON (or upload the .json file) into the JSON to CSV Converter, confirm the record and column counts it shows, and download converted.csv. Open that file in Excel. Then check three things: the header row is the union of every key in the data, blank cells mean those records never had that field, and dot-style headers such as address.city are nested fields flattened into the grid. If those three readings make sense, the table is clean.

Why Excel cannot take the JSON as it is

JSON describes a tree. An array holds records, records hold fields, and fields can hold whole objects of their own: an address with a city and a postcode inside it, a list of tags, a set of line items. There is no fixed grid, and records are not even required to carry the same fields.

Excel describes a rectangle. One header row, then rows of the same width, one value per cell. Anything that cannot be expressed as a rectangle cannot be a spreadsheet table. So the job is not really "open this file"; it is "decide how this tree becomes a rectangle", and that decision is what a converter makes for you, predictably.

What the converter does to the structure

The converter takes an array of objects and produces one row per object. The columns are the union of every key in every record, in the order the keys first appear, so the header row describes the entire dataset rather than just the first record. A single object on its own becomes a one-row table, and an array of arrays is accepted too, with each inner array becoming a row.

Nested objects are flattened dot-style: the city inside an address becomes a column headed address.city. A simple array, like a list of tags, is joined into one cell with "; " between items. An array of objects, which has no flat shape, is written as JSON text inside the cell rather than dropped. Values themselves are written exactly as they appear in the JSON and are never reformatted, and the output is a standard comma-delimited CSV with minimal quoting. Inputs with no columns to give, plain scalars or arrays mixing objects with other types, are rejected with an explanation.

The whole conversion runs in your browser. Nothing is uploaded, which matters when the export contains customer details or anything else you would rather keep on your own machine.

How to convert and open the file, step by step

  1. Open the JSON to CSV Converter and paste your JSON, or upload the .json file.
  2. Read the record and column counts the tool shows. The record count should match the number of objects you expected; the column count is the union of their keys, so it can be higher than the field count of any single record.
  3. Download converted.csv.
  4. Open converted.csv in Excel. It arrives as a plain grid: headers in the first row, one record per row beneath them.
  5. Run the three checks in the next sections before you start sorting, filtering or sharing the file.

Worked example: from a two-record export to a checked table

Suppose the export looks like this:

[
  { "name": "Ana", "address": { "city": "Lisbon" } },
  { "name": "Ben", "address": { "city": "Porto" }, "age": 31 }
]

Two records, but they do not carry the same fields: Ben has an age, Ana does not, and both addresses are nested objects. The converter reports 2 records and 3 columns, and converted.csv contains:

name,address.city,age
Ana,Lisbon,
Ben,Porto,31

Opened in Excel, that is a three-column table with Ana's age cell empty. Read with the checks below, every part of it is accounted for: the headers are the union of both records' keys, the address.city header is the flattened address object, and the blank is Ana's missing age, an absence in the data rather than an error.

The three checks to run in Excel

First, read the header row as a description of the dataset. Because it is the union of all keys, a header you do not recognise means some record, possibly just one, carries that field. Worth knowing before you delete a column for looking unused.

Second, treat blanks as missing values, not as damage. A blank cell means that record never supplied that field. If a column is blank for most rows, the field is rare in the source data; the table is reporting that faithfully.

Third, translate the dot-style headers. address.city is the city inside the address object. Once you read the dot as "inside", the flattened columns stop looking like typos and start reading as a map of the original structure, which is exactly what they are.

Limitations and honest tradeoffs

The table is faithful, but it is a flattening, and flattening loses shape. The original nesting survives only as header names; the CSV will not rebuild the nested objects by itself. Arrays of objects sit in cells as JSON text, readable but not sortable as data. Values are never reformatted, so if the source mixes date styles or capitalisation, the table shows the mixture as it is; cleaning it is a separate step, in the source or in the spreadsheet. And the converter only accepts an array of objects, a single object, or an array of arrays.

Common mistakes

  • Trying to open the .json file in Excel and fighting the result. Convert first; the CSV is the format Excel is built to open.
  • Judging the table by the first row. The header is the union of all records. A field missing from row one may be present further down.
  • Reading blank cells as conversion failures. Blanks are missing values in the source records, reported honestly.
  • Deleting dot-style columns as junk. address.city is real data, flattened. Rename the header in Excel if you want it prettier; do not cut it unread.
  • Expecting the values to be tidied up. They are written as they appear. Any reformatting is your step, done deliberately.

FAQs

Can Excel open a JSON file directly as a table? Not in a way that gives you a clean table of rows and columns. The practical route is to convert the JSON to CSV first, then open the CSV in Excel, where it arrives as an ordinary grid you can sort, filter and check.

What does an empty cell in the opened table mean? It means that record never had a value for that column. Columns are the union of all keys across all records, so a key that only some records carry leaves blanks in the rest. A blank is a missing value, not a conversion error.

What does a header like address.city mean? It is a flattened nested field. The original JSON held an address object with a city inside it, and the converter wrote that path into the header so the value could sit in a flat cell. The dot reads as: the city inside the address.

What happens to a list inside one of my records? A simple array, such as a list of tags, is joined into a single cell with '; ' between the items. An array of objects is written as JSON text inside the cell, because it has no flat shape of its own.

Is my JSON uploaded anywhere during the conversion? No. The converter runs fully locally in your browser. You paste JSON or open a .json file, and converted.csv is produced on your device, so the data never leaves your machine before it reaches Excel.

Conclusion

JSON becomes an Excel table in two moves: convert it with rules you understand, then open the CSV and check what the conversion decided. The JSON to CSV Converter makes those decisions predictably: union columns, dot-flattened nesting, blanks for missing values, values untouched. If your opened table looks odd anyway, our companion guide on JSON to CSV mistakes: lost columns and misaligned rows works through the failure modes one by one, and the rest of this cluster is collected in the Data and JSON Tools guides.

References