About the JSON to Excel Converter tool
APIs, databases and log exporters speak JSON, but the people who need the numbers usually live in Excel. Opening a JSON file in a spreadsheet directly gives you one long line of text, and copying values across by hand is slow and error-prone. This JSON to Excel converter turns a JSON array of records into a genuine .xlsx workbook with one row per record and one column per field.
Nested objects are flattened into dot-notation columns, so an address object becomes address.city and address.country. Arrays inside a record can be written as a single JSON cell or spread into numbered columns such as tags.0 and tags.1. If your JSON is an object whose values are all arrays, for example { "customers": [...], "orders": [...] }, each array becomes its own sheet named after the key. Numbers and booleans are written as real cell values, so Excel can sum and filter them straight away.
The conversion uses the SheetJS library inside your browser. Your data is never uploaded, which matters when the JSON contains customer details or internal metrics. A preview table shows the first rows of every sheet before you download.
How to use JSON to Excel Converter
- Paste your JSON into the “JSON input” box, click “Open file” to load a .json file, or press “Load sample”.
- Choose how “Nested objects” are handled: “Flatten (address.city)” or “Keep as JSON text”.
- If you flatten, pick how “Arrays in a row” are written: one JSON cell or numbered columns.
- Leave “One sheet per top-level array” on to split an object of arrays into several sheets, or set a “Sheet name” for a single sheet.
- Check the preview table, switching sheets with the tabs, then click “Download .xlsx”.
Features
Real XLSX output
Creates an Office Open XML workbook that opens in Excel, Google Sheets, Numbers and LibreOffice.
Dot-notation flattening
Nested objects become columns like profile.address.city, and every key found in any record gets a column.
Multiple sheets
An object whose values are arrays is written as one sheet per array, with valid, unique sheet names.
Typed cells and sized columns
Numbers and booleans stay numeric and logical, and column widths are set from the content.
Precise error messages
Invalid JSON is reported with the line and column of the problem instead of a blank result.
When to use it
- Hand an API response to a finance or sales colleague as a spreadsheet they can filter.
- Export a MongoDB or Firestore query result to Excel for a quick pivot table.
- Turn a JSON product feed into a sheet for bulk editing prices.
- Share analytics events captured as JSON with a non-technical client.
- Archive several related JSON arrays as tabs in one workbook.
Frequently asked questions
What JSON structure works best?
An array of objects, where each object is one row. A single object becomes one row, and an object whose values are all arrays becomes one sheet per array.
What happens to nested objects and arrays?
With flattening on, nested objects become dot-separated column names. Arrays are either stored as JSON text in one cell or expanded into numbered columns, depending on the option you pick.
Is my JSON uploaded to a server?
No. Parsing and workbook creation both happen in your browser with SheetJS, so the data never leaves your device.
Is there a size limit?
There is no fixed limit, but very large files (tens of megabytes) depend on your device memory. Excel itself allows 1,048,576 rows per sheet and 32,767 characters per cell. Longer cells are cut and you are warned.
Can I get CSV instead of Excel?
Yes, use the JSON to CSV converter if you need a plain text file for importing into databases or other tools.