Local XLSX tools

Convert Excel to XML

Convert Excel workbooks to XML 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.

Convert worksheet records into XML

Export a stock table as records and named fields for another system.

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 output uses the tool’s records-and-fields XML structure. It is not an arbitrary schema mapper or an Excel workbook XML export.

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 XML output
<?xml version="1.0" encoding="UTF-8"?>
<records sheet="Inventory">
  <record>
    <field name="SKU" type="string">001</field>
    <field name="Quantity" type="number">2</field>
    <field name="Note" type="string">A &amp; B</field>
  </record>
  <record>
    <field name="SKU" type="string">002</field>
    <field name="Quantity" type="null"></field>
    <field name="Note" type="string">O&apos;Brien</field>
  </record>
</records>

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 records to XML with Python

Create a simple records/record/field document and let ElementTree escape XML characters.

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 xml.etree.ElementTree as ET
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()

root = ET.Element("records")
for record in records:
    item = ET.SubElement(root, "record")
    for name, value in record.items():
        field = ET.SubElement(item, "field", name=name)
        if value is None:
            field.set("null", "true")
        else:
            field.text = str(value)
ET.indent(root)
ET.ElementTree(root).write("output.xml", encoding="utf-8", xml_declaration=True)

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.
  • This example chooses its own XML structure: null fields use null="true" and other values are text. It is not the browser converter’s typed-field format or a mapping to an external XSD.

Documentation: openpyxl tutorial and workbook loading options

Frequently asked questions

Can I choose any XML schema?

This converter emits records with named, typed fields. It does not map your sheet to a custom schema; inspect the exact output before using it with another system.

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