Skip to content
migration.tools
Excel to XML

Excel to XML converter

Export an Excel sheet as XML records, with element names taken from the header row.

Options
Name or position (1, 2, 3…) of the sheet to convert.
Used when the input is a list.

Excel

XML

Converted files appear here.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Drop your Excel file onto the input panel — or several at once.
  2. 2Pick the options you need.
  3. 3Download the XML result. Batches come as one ZIP.

How Excel becomes XML

Every row in the Excel input becomes one record in the XML output, and the header row supplies the field names. Column order is preserved.

Cells are typed where the meaning is unambiguous: 42 and 3.14 become numbers, true and false become booleans, and an empty cell becomes null. Anything that only looks numeric — 00501, +44 20 7946 0958, a 19-digit order ID — stays a string, because turning it into a number would corrupt it.

Excel and XML, briefly

Excel workbooks (.xlsx) are zipped XML with typed cells, formulas, dates and several sheets. They are how most business data actually arrives, and rarely what an import script wants.

XML describes documents with nested elements and attributes. It still runs enterprise integrations, SOAP services, product feeds, sitemaps and many government and banking formats.

Questions

Which spreadsheet files can I convert?

Excel .xlsx, legacy .xls, macro-enabled .xlsm and OpenDocument .ods. The first sheet is used unless you name another one. Formulas are converted to their calculated values and dates to ISO format (2026-01-31).

What do the element names look like?

Each field becomes an element named after its key. Characters that aren't legal in XML names are replaced with underscores, keys starting with @ are written as attributes, and you choose the names of the root and row elements.