Skip to content

JSON to ExcelNew

Convert a JSON array into an .xlsx spreadsheet.

Runs in your browser · free · no sign-up

JSON (an array of objects)

About the JSON to Excel

APIs and apps export data as JSON, but colleagues want a spreadsheet. Paste the JSON (or open a .json file) and get an .xlsx file that opens in Excel, Google Sheets and LibreOffice.

JSON is how most APIs and apps exchange data, but reading hundreds of nested records in a text editor is hard. A spreadsheet is far easier for checking, filtering and sharing. This converter turns an array of JSON objects into rows and columns and saves a real .xlsx file using SheetJS.

Nested objects can be flattened into dotted column names such as contact.email, and arrays of simple values become comma-separated text. Numbers stay numbers and true/false stay booleans, so Excel can sort and sum them, and column widths are set to fit the data.

How to use the JSON to Excel

  1. 1Paste JSON or open a .json file.
  2. 2Choose whether to flatten nested objects.
  3. 3Click Convert to Excel and open the downloaded file.

Key features

  • Array of objects to rows and columns.
  • Flattens nested objects into dotted columns.
  • Uses the first array inside a wrapper object like {"users": […]}.
  • Typed cells and fitted column widths.

Practical uses

  • Reviewing an API response in Excel.
  • Sharing exported app data (orders, users, form entries) with non-developers.
  • Preparing JSON data for a pivot table.

Example

An API returns {"users": [{"name": "Ali", "contact": {"email": "ali@example.com"}}, …]}. Paste it and convert: the tool finds the users array, creates columns “name” and “contact.email”, and you get one row per user in data.xlsx.

Tips and common mistakes

  • Validate messy JSON with the JSON Formatter first; the error tells you the exact position.
  • Turn flattening off if you prefer nested values as JSON text in one cell.
  • Records do not need identical keys; missing values stay empty.

Limitations

  • Deeply nested arrays of objects are stored as JSON text in a cell.
  • Only one sheet is created.

Privacy

The JSON is parsed and the spreadsheet built in your browser, so API data and customer records stay on your device.

Frequently asked questions

What JSON shape works best?

An array of objects, such as [{"name":"Ali","age":30}, …]. Each object becomes a row and each key a column. If your data is wrapped, like {"users":[…]}, the first array inside is used.

Are numbers stored as numbers?

Yes. JSON numbers become numeric cells, so you can sum and sort them in Excel.

Is my data uploaded?

No. The spreadsheet is built in your browser with SheetJS.

Can I convert Excel back to JSON?

Yes, with Excel to CSV & JSON, which turns each row into an object using the header row as keys.

What happens with null values?

They become empty cells, the same as keys that are missing from a record.

Related tools

Word to PDFNewConvert DOCX documents to PDF.
Word to HTMLNewConvert DOCX to clean HTML.
Word to TextNewExtract plain text from DOCX.
Word to MarkdownNewConvert DOCX to Markdown.