b2KIT

JSON to XLSX Converter

Transform JSON arrays into downloadable Excel .xlsx workbooks with auto-column sizing.

Tested tool guide Tested browser tools Checked August 16, 2026

What JSON to XLSX Converter does and how it behaves

JSON to XLSX Converter turns a top-level JSON array of records into a downloadable Excel workbook. Object keys provide spreadsheet column labels, and their values become cell contents. The generated columns are sized automatically for the exported data. Conversion occurs entirely in the browser, so the pasted records are not uploaded. The main surprise is that hierarchical JSON does not map cleanly to a rectangular worksheet: nested objects and arrays may not become the separate columns a user expects.

How the result is produced

1

Record-to-table mapping

The input must be valid JSON and should be a top-level array whose elements are objects. Object property names supply column labels, while the corresponding values supply row data. JSON requires double quotes around property names and string values. JavaScript-only syntax such as comments, single-quoted strings, trailing commas, and undefined is not valid input.

2

Workbook generation

After deriving the table, the converter creates an .xlsx workbook for download and automatically sizes its columns. An .xlsx file is a workbook package rather than a plain-text representation, so the meaningful output is its sheet cells and layout, not a stable text block that can be reproduced exactly here. For that reason, the worked example is null.

Good uses

  • Exporting a JSON API response containing uniform customer, order, or event records so an analyst can open the data as spreadsheet rows instead of manually copying individual fields.
  • Turning a saved array of product SKUs, descriptions, prices, and inventory counts into an .xlsx handoff for a colleague who works primarily in Excel.
  • Converting form or questionnaire submissions stored as JSON objects into a workbook for sorting, filtering, spot-checking, or importing into another spreadsheet-based workflow.

Limits and checks

  • The documented input shape is a JSON array. A bare object, JSON Lines document, comma-separated sequence of objects, or JavaScript assignment is not the same format. For one record, wrap the object in square brackets.
  • Nested objects and arrays are not naturally rectangular. Do not assume they will be flattened into predictable dotted columns or additional worksheets. If exact columns matter, reshape nested values into explicit scalar properties before conversion.
  • Automatic column sizing affects presentation, not data meaning. It cannot decide whether a number is actually an identifier, whether a date-looking string is a date, or whether leading zeros are significant. Inspect type-sensitive fields after opening the workbook.

Common questions

Can I convert one JSON object instead of an array?

The documented input is a JSON array. For one record, paste an array containing that object, such as [{"id":"A-17","active":true}]. A bare object is outside the stated input shape. Wrapping it also makes the intended spreadsheet structure explicit: the array contains one record for the resulting table.

Will every JSON value appear exactly the same in Excel?

No. JSON has strings, numbers, booleans, null, arrays, and objects, but it has no date type or spreadsheet display formats. Date-like values begin as strings unless interpreted later. Long identifiers, leading zeros, and large integers deserve inspection in the downloaded workbook. Encode identifiers as JSON strings when their textual form must be retained.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools