Skip to content
XUtilHub

JSON to Excel Converter – Download XLSX

Convert JSON arrays to an Excel spreadsheet (.xlsx). Nested fields are flattened to columns. Free, no upload.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded
JSON
Preview · 3 rows × 7 columns
idnamepriceinStocktagsspecs.ramspecs.cpu
1Laptop1299.99trueelectronics, computers16GBM3
2Headphones199.5falseaudio
3Desk Lamp39true

About the JSON to Excel

Convert an array of JSON objects into a downloadable Excel .xlsx file. Each object becomes a row, and nested fields become dot-notation columns.

Key features

  • Creates a real .xlsx workbook, not a CSV
  • Live preview table with row and column counts
  • Nested fields flattened into dot-notation columns
  • Opens in Excel, Google Sheets, Numbers and LibreOffice
  • Generated in your browser; nothing is uploaded
  • Handles thousands of rows

Turn JSON into an Excel spreadsheet

Spreadsheets remain the most common way to share and analyze data in business. When you have JSON from an API, a database export or a webhook log, converting it to Excel (.xlsx) lets finance, operations, marketing and management work with it in the tool they already know: filtering, sorting, pivot tables and charts.

What the converter does

  1. Each object becomes a row, and each key becomes a column header.
  2. Nested objects are flattened: {"address": {"city": "London"}} becomes an address.city column.
  3. All keys from all rows are included, so no field is lost even if objects differ.
  4. A real XLSX file is generated in your browser using the SheetJS library.

Example

[
  { "id": 1, "name": "Laptop", "price": 1299.99, "specs": { "ram": "16GB" } },
  { "id": 2, "name": "Headphones", "price": 199.5, "specs": { "ram": null } }
]
idnamepricespecs.ram
1Laptop1299.9916GB
2Headphones199.5

Why XLSX instead of CSV?

XLSXCSV
Opens correctly in every Excel locale✅❌ (comma vs. semicolon)
Numbers stay numeric✅⚠️ depends on import
Leading zeros and long IDs preserved as text✅ when stored as strings❌ often mangled
Text with commas and line breaks✅⚠️ needs quoting
File sizeLarger (zipped XML)Smaller

Tips

  • Store IDs as strings in JSON ("00123") if you need leading zeros preserved.
  • Remove empty fields with the JSON Cleaner to avoid sparse columns.
  • Select only what you need. Use the JSONPath Tester to extract a sub-array before converting.

The reverse conversion is Excel to JSON. For lightweight text formats, see JSON to CSV and JSON to TSV.

How to use the JSON to Excel

  1. Paste your data into the input box, upload a file, or click Sample to try it out.
  2. Adjust the options above the editor if you need to (indentation, delimiter, and so on).
  3. The Excel appears instantly in the output panel. Any errors are shown with their line and column.
  4. Click Copy to copy the result, or Download to save it as a file.

Frequently asked questions

What's the difference between this and JSON to CSV?

This tool creates a native Excel workbook (.xlsx). Unlike CSV, it opens correctly in any locale without delimiter problems, keeps numbers as numbers, and handles text with commas or line breaks without quoting issues.

How are nested objects converted?

They're flattened into columns using dot notation, e.g. address.city. Arrays of simple values are joined into one cell; arrays of objects become indexed columns like items[0].sku.

Is there a row limit?

Excel supports up to 1,048,576 rows. In practice, the browser handles tens of thousands of rows comfortably. The preview shows the first 500.

Can I create multiple sheets?

This tool creates one sheet named Sheet1. To combine several datasets, convert each and copy the sheets into one workbook in Excel.

Is my JSON uploaded to a server?

No. All JSON tools run entirely in your browser, so your data never leaves your device.

Is there a size limit?

There is no fixed limit. Files of several megabytes work fine; very large files depend on your device's memory.

Do I need an account?

No. Every JSON tool is free and works without signing up.

Last updated:

Related JSON tools