JSON to Excel converter (JSON to XLSX)
Turn a JSON array of objects into an .xlsx spreadsheet. Nested objects become dotted columns such as address.city, and every key gets its own column.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
API responses and exported data often arrive as JSON, which is hard to scan and impossible to sort or filter without code. This converter turns a JSON array of objects into a spreadsheet: each object becomes a row and each key a column, including keys that only some objects have.
Nested objects are flattened into dotted column names (address.city, stock.toronto), so the data stays readable in Excel, Google Sheets or LibreOffice.
How to use it
- Paste a JSON array of objects, or choose a .json file.
- Run the conversion.
- Download the .xlsx and open it in your spreadsheet app.
How the calculation works
The JSON is parsed; each object is flattened (nested keys joined with dots, arrays written as JSON text). The union of all keys forms the header row, in first-seen order, and values keep their types.
keys of all objects → columns; one object → one rowWorked example
An e-commerce assistant pastes two product records from an API, one of which has an extra “colour” field and both of which have nested stock counts per store. The spreadsheet has 2 rows and 5 columns (sku, price, stock.calgary, stock.toronto and colour) with an empty cell where a product has no colour.
Sample input and result
Choose a file and press Run. The converted file downloads straight from your browser.
Limitations
- Works best with an array of objects; plain values in an array go into a single “value” column.
- Arrays inside objects are not expanded into rows.
- One sheet per workbook.
Last updated:
Frequently asked questions
What if my JSON is a single object?
It becomes one row. If the object only wraps an array, such as {"items": […]}, that array is used.
How are arrays inside objects handled?
They are written as JSON text in one cell.
Is there a column limit?
Up to 16,384 columns, the Excel maximum; browser memory limits very large files.
Troubleshooting
It says the JSON is invalid.
Check for trailing commas or single quotes; use the JSON formatter to find the error.
Columns are in an odd order.
They follow the order in which keys first appear.
Numbers became text.
Quoted numbers in JSON ("12") stay text; remove the quotes in the source.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
JPG to PNG converter
Convert JPG images to PNG in your browser, up to 30 at a time. PNG keeps every pixel and supports transparency, so it is best for screenshots, logos and graphics.
File convertersPNG to JPG converter
Convert PNG images to JPG in your browser, up to 30 at a time. JPG files are small and open everywhere, so they are best for photos and uploads to forms; transparent areas become white.
File convertersWebP to JPG converter
Convert WebP images to JPG in your browser, up to 30 at a time. JPG files are small and open everywhere, so they are best for photos and uploads to forms; transparent areas become white.
File converters