Excel to XML

Publish worksheet rows as structured XML documents.

Generate valid XML from a worksheet, with control over the root element, the record element and whether columns become attributes or child elements. Useful for legacy ERP imports and any system that still speaks XML.

Price
Free
Your files
Never uploaded
Runs
In your browser

or drag it here

.xlsx, .xls, .csv · up to 50 MB · processed locally, never uploaded

Excel and spreadsheet files only. Export from Google Sheets as .xlsx or .csv.

Files stay on your device

What it does well

  • Correct escaping of &, <, > and quotes so output always parses
  • Column names sanitised into valid XML identifiers automatically
  • Optional XML declaration, indentation and CDATA wrapping for long text

How to use Excel to XML

  1. 1

    Upload the workbook and select a sheet.

  2. 2

    Name the root and record elements.

  3. 3

    Choose whether each column becomes an attribute or a child element.

  4. 4

    Download the XML file.

Watch a walkthrough

How to use Excel to XML

2 min 18 s · captions included

Watch on YouTube

Common problems and fixes

The importing system rejects the file as invalid.

Most often the root element name does not match what the system expects. Check its import spec and rename the root and record elements to match exactly.

Special characters appear as &amp;amp;.

The source cells already contain escaped entities. Enable “Source is pre-escaped” so the tool does not escape them a second time.

Frequently asked questions

More convert tools

Move data between XLSX, CSV, JSON, XML, HTML and PDF without losing formatting, encoding or number precision. Every conversion runs locally in your browser.

Browse Convert