JSON to Excel: Turn API Data into a Spreadsheet

Change JSON into an Excel sheet. Paste an API response or load a .json file: lists of records turn into rows, nested objects turn into columns, and you can save the result as XLSX or CSV. It all runs in your browser.

  • Nested data flattened
  • XLSX or CSV
  • Private: no upload

How to use the JSON to Excel tool

  1. Provide the JSONPaste it into the box, or drop or open a .json file.
  2. Choose the recordsLists of records inside your JSON are found automatically. If there’s more than one, pick the one to tabulate.
  3. Shape the columnsDecide how nested field names are joined and how arrays inside a record are displayed.
  4. SaveLook over the preview, then download an Excel (XLSX) or CSV file.

Conversion features

  • Locates the recordsHandles a top-level array, records wrapped inside an object such as {"data": [...]}, and JSON Lines.
  • Flattened nesting{"customer": {"city": "Leeds"}} turns into a column called customer.city.
  • No field left outRecords with differing fields are merged, and absent values stay blank.
  • Numeric values keptNumbers are written as numbers, ready for Excel calculations.
  • Stays on your deviceAPI responses containing customer details or tokens never leave your computer.

Why convert JSON to a spreadsheet?

Most apps and web services swap data as JSON, yet it’s awkward to read, filter or add up. Spreadsheets are the reverse. This tool bridges the two in a few seconds.

  • Exporting customers, orders or products from an API or admin dashboard
  • Exploring logs and analytics exports in Excel or Google Sheets
  • Handing developer data to colleagues who don’t read JSON
  • Spotting missing or inconsistent fields in a JSON file

How the structure is mapped

In the JSONIn the sheet
A list of objectsA row for each object and a column for each key
An object inside a recordColumns named like customer.city
A list of plain values, e.g. ["red","blue"]A single cell reading red, blue
A list of objects inside a recordJSON text in one cell, or select that list as the table for one row per entry
true / false / nullTRUE / FALSE / blank

Troubleshooting

  • “Invalid JSON”. Usual suspects are a stray comma after the final item, single quotes where double quotes belong, and curly “smart” quotes picked up while copying. Paste the data into our JSON Formatter to pinpoint the problem.
  • Only one row appears. The data is likely a single object rather than a list. Find the array inside it, typically under a key like data, items or results, and convert that.
  • Long numbers get altered. Excel only keeps 15 significant digits, so lengthy IDs may be rounded. Put such values in quotes in the source so they’re treated as text and stay complete.
  • Dates appear as text. JSON has no date type, so dates come through as strings like 2026-03-15T10:30:00Z. Convert them in Excel with Data → Text to Columns or DATEVALUE.
  • Records don’t share the same fields. That’s fine: every field gets a column, and any record lacking it simply has an empty cell.

Related tools

Validate or prettify your data first in the JSON Formatter. Starting from a CSV instead? Use CSV to Excel.

Frequently asked questions

How can I convert JSON into Excel?
Paste the JSON or load a .json file, look at the preview and press “Download Excel”.
Which JSON layouts work?
A list of objects is ideal. Records wrapped in an object (such as {"results": [...]}), objects of objects and JSON Lines are recognised too.
How are nested objects handled?
They’re flattened into columns named like customer.city, and you can pick a different joining character.
Can I get a CSV instead?
Yes. Press “Download CSV” for a UTF-8 file that opens properly in Excel.
Does my JSON get uploaded?
No. The conversion happens entirely within your browser.