Local XLSX tools

Convert Excel to JSON

Convert Excel workbooks to JSON online. Choose your sheet, convert multiple files and download each result. No account required.

Convert your workbooks

Add as many files as you need. Up to 128 MiB per file. Keep this tab open until your downloads finish.

Sheet and conversion options

The first sheet is used by default. New options apply to files you choose or retry next. Exported values use stored formula results; formatting and workbook features are not included.

Conversion starts as soon as you choose files. Files download automatically when ready. Your browser may ask to allow multiple downloads.

Use worksheet rows as JSON records

Export a stock table as JSON for a script or data workflow.

Set an optional sheet choice before choosing files. Downloads start automatically; use View to inspect a result.

How it works

  1. Choose optional sheet and conversion settings before choosing files. The first sheet is used by default.
  2. Choose one or more XLSX workbooks to start converting automatically. Follow each file’s progress.
  3. Downloads start when ready. Use View for a preview or Add more files to add another batch.

Output and limitations

The export represents selected-sheet data. Workbook formatting and formula expressions are not included.

Keep a copy of your original workbook and review downloaded results before using them.

A small conversion example

For this fictional Inventory sheet, SKU cells are text, Quantity contains a number and an empty cell, and Note contains ordinary text. Formula expressions and formatting are outside this data export.

Example worksheet values
Inventory worksheet
SKU     Quantity   Note
001     2          A & B
002     (blank)    O'Brien

Browser JSON output
[
  {
    "SKU": "001",
    "Quantity": 2,
    "Note": "A & B"
  },
  {
    "SKU": "002",
    "Quantity": null,
    "Note": "O'Brien"
  }
]

Other ways to work with this Excel task

Run these examples on your own computer with copies of your files. The commands are separate alternatives to the browser tool; their type handling and workbook preservation can differ.

Convert Excel rows to JSON with Python

Use unique text headers as object keys and retain numeric, boolean and null values.

Before you start

  • Install Python 3. Create the environment below, save the Python example as task.py, then run .venv/bin/python task.py in the folder containing input.xlsx. On Windows, use py -m venv .venv and .venv\Scripts\python.exe in place of .venv/bin/python. Replace Inventory with your worksheet name.
Set up Python environment
python3 -m venv .venv
.venv/bin/python -m pip install openpyxl

Python task.py
import json
from openpyxl import load_workbook

workbook = load_workbook("input.xlsx", read_only=True, data_only=True)
sheet = workbook["Inventory"]

rows = sheet.iter_rows(values_only=True)
headers = list(next(rows))
if any(not isinstance(key, str) or not key.strip() for key in headers):
    raise ValueError("Use nonblank text headers in the first row")
if len(set(headers)) != len(headers):
    raise ValueError("Use unique headers")
records = [dict(zip(headers, row)) for row in rows]
workbook.close()

def date_text(value):
    if hasattr(value, "isoformat"):
        return value.isoformat()
    raise TypeError(f"Unsupported JSON value: {type(value).__name__}")

with open("output.json", "w", encoding="utf-8") as output:
    json.dump(records, output, ensure_ascii=False, indent=2, default=date_text)

Run the saved example
.venv/bin/python task.py

Limits and output

  • These data recipes use saved cell results, not recalculated formulas. They do not copy charts, styles, macros or workbook relationships. Keep the original file.
  • Dates and times use ISO text. This recipe loads records into memory and refuses blank or duplicate headers; other tools can choose different header rules.

Documentation: openpyxl tutorial and workbook loading options

Read XLSX with DuckDB

Use DuckDB’s Excel extension to query worksheet data or write a selected-sheet export.

Before you start

  • Install the DuckDB CLI using its official installation instructions. Start duckdb in the folder containing input.xlsx, then run this SQL. The first INSTALL requires access to DuckDB’s extension repository.
DuckDB SQL
INSTALL excel;
LOAD excel;
COPY (SELECT * FROM read_xlsx('input.xlsx', sheet='Inventory', header=true)) TO 'duckdb-output.json' (FORMAT JSON, ARRAY true);

Limits and output

  • This reads XLSX data, not the Excel calculation engine, styles or workbook objects. The extension infers column types; check them before converting identifiers, dates or mixed-type columns. XLS files are unsupported.

Documentation: DuckDB installation; DuckDB Excel extension and type options

Frequently asked questions

What becomes a JSON field name?

Worksheet headers become object keys. Review the exact preview to check how blank or repeated headers are represented.

Are formulas recalculated during conversion?

Data exports use stored cell results. To change formulas or check calculations, open the original workbook in the editor, save a copy, then choose that copy here.

Is my workbook uploaded to a server?

The anonymous browser file tools process workbook contents locally. The website still makes ordinary requests for pages and sample files. Read the privacy page for details.

Which Excel files can I convert?

Each XLSX input can be up to 128 MiB. This is a per-file limit for batch conversions, rather than a combined batch limit. Expanded workbook data and output still need to fit the browser tool's processing limits. Legacy XLS files and password-protected or encrypted workbooks are not supported.

Read the privacy policy

Related workbook tools