Excel to JSONONLINE

Choose a worksheet in a local XLSX file and convert rows to JSON objects.

Up to 100 columns

Headers become JSON property names. Formula cells are rejected; dates are read as underlying spreadsheet values.

Local XLSX workbook

No workbook selected.

The first populated row supplies the JSON property names.

JSON result
Choose a local XLSX workbook.
Your JSON stays in your browser. Core processing happens locally.
THE PRACTICAL GUIDE

Convert a worksheet to JSON and check the inferred structure

Excel to JSON reads a real .xlsx workbook and converts a selected worksheet to records. It provides a quick way to move a spreadsheet table into an API or JSON workflow.

When should you use it?

  • Import a manually maintained data sheet.
  • Preview worksheet records before sending them to an API.
  • Convert a vendor workbook into a JSON file.
WORKED EXAMPLE

Example: a sheet becomes records

The first populated row supplies names. Actual JSON cell types depend on the workbook cell types.

Illustrative worksheet rows
name | score
Alex | 42
Sam  | 38
JSON output
[{"name":"Alex","score":42},{"name":"Sam","score":38}]

Prepare the header row before importing

Choose the worksheet that contains the records. Its first populated row supplies the property names, so a decorative report title is a poor header. A simple rectangular table with clear, unique column names produces a more useful result than a workbook arranged for printing. Remove unrelated headings and totals when they should not become records.

Cell formatting does not define a JSON contract

A spreadsheet date can be stored as a number with a date display format. This importer returns that underlying serial rather than guessing a timezone or date string. Formula cells are rejected instead of using a potentially stale cached value. Review identifiers, blanks, booleans, and dates in the output, then validate against a schema if the JSON will feed an API. Legacy .xls and encrypted workbooks are outside this importer.

AT THE WORKBENCH

Turn worksheet rows into JSON records.

Open a local .xlsx workbook, choose a sheet, and convert each data row to an object using the first row as headers.

  1. Open XLSX

    Choose a workbook on this device or use the sample.

  2. Select a sheet

    The first populated row supplies unique column names.

  3. Export JSON

    Copy or download the array of row objects.

IN PRACTICE

How do I convert a worksheet to JSON without evaluating formulas?

Select a real .xlsx file and choose the worksheet. The first populated row supplies property names, and later rows become objects. The importer reads stored cell values; it rejects formula cells rather than calculating them.

Example JSON after importing two rows

json
[
  {"name":"Alex","score":42},
  {"name":"Sam","score":38}
]

The example assumes the workbook stores score as numeric cells. Text cells such as "042" remain strings.

Spreadsheet dates are stored as serial numbers with formatting. The importer returns the underlying serial value rather than guessing a timezone or a date string.

BEFORE YOU USE THE RESULT

What should you check before using the result?

Formula cells are rejected and date-formatted numbers are returned as spreadsheet serial values. Encrypted .xlsx and legacy .xls are unsupported; file, extracted XML, column, and cell limits apply.

What is imported

Text, booleans, and finite numeric cells are read. Blank cells become empty strings. Formula cells are rejected because cached results may be stale and formulas must not be executed. Date-formatted numbers remain their underlying serial values.

Workbook limits

The input .xlsx file is limited to 2 MiB compressed and 12 MiB of total extracted workbook XML. Import supports up to 100 columns and 200,000 cells. Encrypted and legacy .xls files are not supported.

Learn spreadsheet conversion

Technical reference: JSON syntax and interoperability · RFC 8259

THE JSON FIELD GUIDE
All guides