Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

JSON to XLSX Exporter

Paste JSON data and instantly export it as an Excel spreadsheet (.xlsx) with auto-detected columns

Your files never leave your browser
JSON Input0 chars, 0 lines
Preview
Preview will appear here after clicking Preview or Export
Ready·

Paste a JSON array, get back a real .xlsx file with auto-detected columns and proper formatting — no CSV workarounds, no row limits, no signup. It handles inconsistent keys across objects and stringifies nested data so nothing is lost. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste JSON Array
→
Parse Keys → Columns
→
Download .xlsx File

The tool reads your JSON, collects every unique key across all objects to build the header row, then maps each object into a spreadsheet row. It uses the SheetJS library to generate a binary .xlsx file right in memory. Nested objects or arrays get stringified so nothing is lost — you just see the raw JSON in that cell.

Examples

Employee Directory Export

HR gave you a JSON dump from the employee database. You need it in Excel for the quarterly review meeting.

INPUT
[ {"name": "Alice Chen", "dept": "Engineering", "salary": 95000}, {"name": "Bob Martinez", "dept": "Marketing", "salary": 72000}, {"name": "Carol Obi", "dept": "Engineering", "salary": 102000} ]
OUTPUT
employees.xlsx ┌─────────────────┬─────────────┬────────┐ │ name │ dept │ salary │ ├─────────────────┼─────────────┼────────┤ │ Alice Chen │ Engineering │ 95000 │ │ Bob Martinez │ Marketing │ 72000 │ │ Carol Obi │ Engineering │ 102000 │ └─────────────────┴─────────────┴────────┘

API Response with Nested Data

Your REST endpoint returns product data with nested category objects. The nested bits get stringified in the cell.

INPUT
[ {"id": 1, "product": "Widget", "price": 9.99, "tags": ["sale", "new"]}, {"id": 2, "product": "Gadget", "price": 24.50, "tags": ["popular"]} ]
OUTPUT
products.xlsx | id | product | price | tags | | 1 | Widget | 9.99 | ["sale","new"] | | 2 | Gadget | 24.50 | ["popular"] |

Inconsistent Keys Across Objects

Not every object has the same fields — the converter grabs all unique keys and leaves blank cells where data is missing.

INPUT
[ {"name": "Jan", "email": "[email protected]"}, {"name": "Kim", "phone": "555-0199"}, {"name": "Lee", "email": "[email protected]", "phone": "555-0142"} ]
OUTPUT
contacts.xlsx | name | email | phone | | Jan | [email protected] | | | Kim | | 555-0199 | | Lee | [email protected] | 555-0142 |

Who Uses This

👨‍💻 Backend Developers

Turning API response payloads into spreadsheets for QA or client deliverables.

📊 Data Analysts

Quick Excel exports from JSON datasets without writing Python scripts.

📋 Project Managers

Converting JSON exports from tools like Jira or Notion into spreadsheets for reporting.

🧪 QA Engineers

Exporting test result data to share with non-technical stakeholders in a format they actually open.

Common Mistakes

Pasting a single object instead of an array

If you paste {"name":"Alice"} instead of [{"name":"Alice"}], the tool wraps it for you — but check the preview to make sure the result looks right. Multiple top-level objects without array brackets will cause a parse error.

Trailing commas in the JSON

JSON doesn't allow trailing commas after the last item. Something like [{"a":1},] will fail to parse. Remove that last comma before the closing bracket.

Expecting nested objects to flatten automatically

A field like {"address": {"city":"NY"}} won't become separate "city" and "state" columns. It shows up as the JSON string in one cell. Flatten your data before converting if you need separate columns for nested fields.

Technical Details

Frequently Asked Questions

Can I convert JSON to Excel without installing anything?

Yes. This runs entirely in your web browser. No downloads, no plugins, no sign-up. Paste your JSON, click export, and the .xlsx file downloads straight to your device.

How many rows can this JSON to XLSX converter handle?

There is no hard-coded limit. It depends on your device's RAM. Most laptops handle 50,000 rows without breaking a sweat. The preview caps at 100 rows to keep things snappy, but your full dataset is in the downloaded file.

Does this work with Google Sheets?

Absolutely. The output is a standard .xlsx file. Upload it to Google Drive and open it with Sheets — formatting, headers, and all your data will be there. Also works with LibreOffice Calc and Apple Numbers.

What happens to nested JSON objects in the spreadsheet?

Nested objects and arrays become their JSON string representation in the cell. So {"city":"NY"} shows up as that exact text. If you need them split into separate columns, flatten your JSON first using a tool like a JSON flattener before converting.

Is my JSON data safe when I use this converter?

Your data stays on your machine. Period. The conversion happens in JavaScript inside your browser tab. Nothing is sent to any server. You can disconnect your internet and the tool still works — that is how you know it is genuinely client-side.

Share: