SwitchPDF

JSON to Excel Converter

Paste a JSON array or API response and export it to a real Excel .xlsx file — nested objects auto-flattened, with a live table preview.

Convert JSON to Excel online free. Paste a JSON array or API response, see it as a table, and download a real .xlsx spreadsheet you can open in Microsoft Excel, Google Sheets, or Apple Numbers. Nested objects are auto-flattened into columns and a live preview lets you verify the result before you export.

How JSON to Excel Converter works

A lot of "JSON to Excel" tools simply rename a CSV to .xls, which makes Excel throw a "file format doesn't match" warning every time you open it. SwitchPDF produces a genuine Office Open XML .xlsx workbook using SheetJS, so it opens cleanly in Excel, Google Sheets, LibreOffice Calc, and Apple Numbers with no warnings.

The conversion turns a top-level array of objects into rows, with the union of all keys becoming the column headers. Nested objects are flattened with dot notation — so { "user": { "name": "Alice", "city": "NYC" } } becomes the columns user.name and user.city — which keeps every value while giving you the flat, tabular shape a spreadsheet needs. Arrays of primitive values are joined into a single comma-separated cell. A single object becomes a one-row sheet.

This is the fastest way to get JSON into a format non-technical colleagues can actually use: hand a stakeholder an .xlsx instead of a wall of braces, drop an export into a reporting workbook, or pull an API dataset into Excel for a pivot table or a quick chart. Everything happens server-side in a second or two, and the file is auto-deleted after 15 minutes.

Need CSV for Google Sheets instead, or a REST API response specifically? Use the JSON to CSV option on the main JSON converter, or the API Response to Excel tool built for exactly that workflow.

How to use JSON to Excel Converter

1

Paste your JSON

Paste a JSON array or object, or upload a .json file. It is parsed and validated instantly as you type.

2

Check the preview table

Your JSON becomes a table with one row per record and one column per field. Nested keys are flattened with dot notation.

3

Download the .xlsx

Excel is already selected — name the sheet if you like, click Convert, and download a genuine Excel file.

Frequently Asked Questions

Is the output a real Excel file?
+
Yes. It is a true .xlsx workbook generated with SheetJS — not a CSV renamed to .xls — so Excel, Google Sheets, LibreOffice, and Numbers all open it without a format warning.
How are nested JSON objects turned into Excel columns?
+
They are flattened with dot notation. { "address": { "city": "NYC", "zip": "10001" } } becomes two columns, address.city and address.zip, so no data is lost.
Can I name the worksheet?
+
Yes. Use the optional "Sheet name" field before converting. If you leave it blank, a sensible default is used.
Does it handle a JSON array with thousands of records?
+
Yes, up to 10 MB of JSON input. A few thousand rows convert in 1–3 seconds; very large datasets may take slightly longer.
Will formulas be added to the spreadsheet?
+
No — the export contains your data as plain cell values. You can add formulas, pivot tables, and charts yourself once the file is open in Excel.
Is my JSON kept private?
+
The conversion runs server-side, processes the data in memory, and discards it right after the response. The output file is deleted automatically after 15 minutes. Nothing is logged or sold.
Is JSON to Excel free?
+
Yes, completely free with no sign-up and no watermark. Fair-use rate limits apply per visitor.

Related tools