JSON to Excel Converter
Turn JSON records and API response arrays into a real Excel workbook. Flatten nested fields, preview the worksheet, and download a ready-to-open .xlsx file.
.xlsx workbook—not a renamed CSV.Need a text spreadsheet instead? JSON to CSV →records or data.users) when you want a specific nested array.Export structured JSON as an Excel workbook
Move API data into a spreadsheet without an intermediate CSV step.
JSON is a common format for API responses and data exports, while Excel workbooks are convenient for reviewing, filtering and sharing records. This converter creates a real .xlsx file with one worksheet and maps each record into a row.
Top-level arrays and single objects are supported. Leave the rows path blank and the tool picks the main array of rows automatically. If your data nests the rows under a specific key and auto-detect picks the wrong one, enter that dot path (for example data.users). All parsing and workbook generation run locally in your browser.
How JSON values become worksheet cells
Choose how to lay out object records and how much of each value to flatten.
Records become rows
Each object in a record array becomes one worksheet row. The column list includes keys found across all records; missing values are left blank.
Nested objects flatten
With flattening enabled, nested objects become dot-separated columns such as profile.city. Turn it off to keep an object as JSON text in one cell.
Array values stay together
An array inside a record is written as compact JSON text in its cell. For a two-dimensional array, the first row becomes headings when Include headers is selected.
Cell types stay useful
Ordinary numbers and booleans are written as spreadsheet values. Very large numeric tokens are kept as text so their digits are not rounded by spreadsheet precision.
Local conversion with practical spreadsheet limits
The JSON input is parsed in a browser worker, and the Excel library is self-hosted with the site. Your JSON is not uploaded or saved. Strings are written as text cells, not formulas, and no macros or external workbook links are added.
Nested object fields can be flattened with dot-separated names. Arrays inside a record are kept together as JSON text; the tool does not expand one record into multiple rows.
Input is limited to 2 MiB, the parser to 200,000 JSON values, and an export to 250,000 worksheet cells. Excel’s own worksheet limits also apply. Individual cell text is limited to 32,767 characters.
One worksheet is created per export. Numeric tokens with more than 15 significant digits, or values that cannot be represented reliably as spreadsheet numbers, are written as text to preserve their digits.
This page bundles the self-hosted SheetJS Community Edition library. Read the third-party notice and Apache license.
Frequently Asked Questions
Top-level arrays of records, an individual object, primitive arrays and two-dimensional arrays are supported. Leave the rows path blank and the tool picks the main rows array automatically. If an object has several candidate arrays, the error lists them so you can enter the exact one you want.
Nested objects flatten to dot-separated columns by default. Arrays inside a record, and objects when flattening is off, are written as compact JSON text in a single cell. For a two-dimensional array, the first row becomes headings when Include headers is selected.
Yes. Numeric tokens with more than 15 significant digits or outside a reliable spreadsheet number range are written as text, so their digits are preserved rather than rounded.
No. Parsing and workbook generation run locally in a browser worker. The page does not upload or save the input.
No. Each export creates one worksheet. Choose another array path and run another export if you need a separate workbook for a different collection.