Convert JSON to Excel – turn API data into a table
JSON is the standard format for data from APIs, web apps and configurations – but to analyse it, you usually want the data in Excel. This guide shows how to turn JSON into a table, which structure suits it and what to watch for with nested data.
What JSON is – and why it doesn’t look like a table
JSON stands for “JavaScript Object Notation” and is a text format that stores data as key-value pairs. Developers like it because it is flexible and machine-readable. Unlike a table, though, JSON has no fixed row-column structure – it can contain lists that in turn contain objects, nested arbitrarily deep.
For Excel this nested construct must be translated into a flat grid of rows and columns. How well that works depends heavily on how the JSON is built.
Ideal structure: a list of similar objects
JSON converts best when it consists of a list (array) of similar objects – for example a list of customers where each object has the same fields: name, email, revenue. That becomes a clean table directly: each object a row, each field a column.
This is exactly the structure most APIs return when you request “all records”. It is the ideal case for conversion into Excel.
Convert JSON to Excel – step by step
The SmashDash spreadsheet converter reads JSON files directly and outputs them as Excel – locally in the browser, no upload:
- Drag the JSON file into the converter; the object fields become columns.
- Check the detected table in the preview.
- Export as Excel (.xlsx) and open in Excel or process further.
Nested JSON: where it gets tricky
If a field itself contains another object or a list – say an “address” with street, postcode and city – there is no perfect table equivalent. Such nested values either land as text in a cell or must be flattened first. For a clean analysis it is worth simplifying complex JSON structures before importing.
After conversion: analyse or tidy up
Once the data is a table, every path is open: clean it in Clean Studio, analyse it as a chart in the data dashboard, or simply pass it on as Excel. That turns raw API data into usable information within minutes.
Frequently asked questions
Which JSON structure works best? A list (array) of similar objects with the same fields. That produces a clean table directly, with one row per object.
What happens to nested fields? Objects or lists inside a field cannot be mapped one-to-one into a cell. Simplify such structures before importing for a clean result.
Is my JSON data uploaded? No. The converter processes the file entirely locally in the browser.
All SmashDash tools at a glance
SmashDash brings five free spreadsheet tools together in one place – each runs entirely in the browser, with no upload and no account:
- Turn Excel and CSV into interactive, filterable charts. – Turn Excel and CSV into interactive, filterable charts.
- Design charts with your own values and export them as SVG or HTML. – Design charts with your own values and export them as SVG or HTML.
- Convert Excel, CSV and JSON into XLSX, CSV, JSON, Markdown or HTML. – Convert Excel, CSV and JSON into XLSX, CSV, JSON, Markdown or HTML.
- Remove duplicates and empty rows, normalise number formats. – Remove duplicates and empty rows, normalise number formats.
- Merge, split and compress PDFs and extract tables. – Merge, split and compress PDFs and extract tables.
All processing happens locally in your browser – your files are never uploaded, fully privacy-friendly.