Skip to content

Convert JSON to Excel

Turn a JSON array into an XLSX spreadsheet with one column per key, converted on your device.

Convert to
Drop a CSV, Excel or JSON fileCSV, TSV, XLSX, XLS, ODS, JSON · up to 500 MB
Choose fileProcessed on your device — never uploaded
Runs in your browser · no uploadHow it works

How to use JSON to Excel

  1. 1

    Paste or drop the JSON

    Paste an API response or drop a .json file; arrays of objects, column objects and JSON Lines are recognized.

  2. 2

    Review the columns

    Nested objects are flattened into dot-named columns; the preview shows every row and column that will be written.

  3. 3

    Download the workbook

    Download an .xlsx (or .ods) with typed cells and sized columns, ready to filter and chart.

Limits and Pro

JSON files up to 500 MB; Excel's own limit of 1,048,576 rows and 16,384 columns per sheet applies.

Files up to 4 GB. See Pro

About JSON to Excel

JSON to Excel builds a spreadsheet from JSON so that people who live in Excel, Google Sheets or Numbers can work with data that came from an API, a database export or a log file. Each object in an array becomes a row and the union of all keys becomes the columns, so records with missing fields still line up correctly.

Real-world JSON is rarely flat. Nested objects are flattened into columns like address.city and address.country, arrays of values become items.0, items.1, and anything you choose not to flatten is kept as JSON text in a single cell. A wrapper such as {"data": [...]} or {"results": [...]} is unwrapped automatically, and other common layouts — an object keyed by ID, a column-oriented object of arrays, an array of arrays — are recognized too.

The workbook is written with proper types: numbers are numeric cells you can sum, ISO date strings become Excel dates, true and false become booleans, and each column is sized to its content. You can also choose OpenDocument (.ods) for LibreOffice, or CSV and TSV if a plain text file is all you need.

Everything runs in your browser, which matters when the JSON contains customer records or tokens. Very large arrays are processed in a background worker and previewed with a virtualized table.

Privacy

The JSON is parsed and the spreadsheet is generated inside this browser tab; no data is uploaded, which keeps API payloads, customer records and keys on your machine.

JSON to Excel: frequently asked questions

What JSON structure does it expect?
An array of objects works best: one object per row. It also accepts a wrapper like {"data": [...]}, an object keyed by ID ({"a1": {...}}), column-oriented objects ({"name": [...], "age": [...]}), arrays of arrays with a header row, single objects and JSON Lines with one object per line.
What happens to nested objects and arrays?
With “Flatten nested objects” on, they become dot-notation columns such as shipping.address.city or tags.0. Switch it off to keep each nested value as compact JSON text in one cell, which is useful when the structure varies a lot between rows and you only need the top-level fields as columns.
Are dates and numbers real Excel values?
Yes. Numbers are written as numeric cells, true and false as booleans, and values recognized as dates as date cells formatted yyyy-mm-dd (or with time when present), so sorting, filtering, formulas and pivot tables work immediately without “Convert to number” warnings.
Why is my JSON reported as invalid?
JSON is strict: keys and strings need double quotes, trailing commas aren't allowed, and comments aren't part of the format. The error message names the line where parsing stopped. Copying from browser developer tools sometimes adds extra text before or after the data — remove it and paste again.
Can I convert the Excel file back to JSON later?
Yes — drop the .xlsx on the main converter and choose JSON with “Nest dot keys” on. Columns named with dots are rebuilt into the same nested objects, so a JSON → Excel → JSON round trip returns equivalent data, apart from any rows or values you edited in the spreadsheet.

Other tasks with this tool