JSON to Excel
Paste a JSON array and download a real .xlsx file in one click. Works offline — the spreadsheet is assembled entirely in your browser, nothing is uploaded.
Opens in Excel, LibreOffice, Google Sheets
How it works
The tool parses your JSON in the browser, detects the union of all column names across every record (so inconsistent objects are handled gracefully), then assembles a valid Office Open XML .xlsx file from scratch — a minimal ZIP containing the required XML parts. No external library is loaded; the ZIP and XML are built with plain JavaScript.
Numbers are written as numeric cells (not text), so Excel will sum, average, and sort them correctly. Booleans and null are written as their string equivalents. Nested objects and arrays become compact JSON strings in their cell; use the JSON to CSV tool first to flatten deeply nested structures if you need each field in its own column.
Compared to JSON to CSV
CSV is simpler and opens in any tool, but .xlsx preserves numeric types natively and opens directly in Excel without an import wizard. If you need to share the data with a non-technical user who will open it in Excel, .xlsx is usually the better choice.
FAQ
Will the .xlsx file open in Microsoft Excel and Google Sheets?
Yes. The output is a standard Office Open XML .xlsx file that opens in Excel 2007+, LibreOffice Calc, and Google Sheets.
What happens to nested objects or arrays?
Nested objects and arrays are serialised as a compact JSON string in their cell. Flatten your data first if you need each nested field in its own column.
Does this use SheetJS or any other library?
No. The XLSX file is assembled entirely from scratch using a minimal ZIP builder and Office Open XML templates, with no external dependencies.