Kadben

Convert Excel to XML

Choose a workbook to turn one of its sheets into XML: one element per row, one child element per column, with dates in ISO 8601.

Runs in your browser. Nothing is uploaded.

Excel to XML

Input
Drop a file here
Options

The result appears here.

How to use it

  1. Choose an .xlsx, .xlsm, .xlsb, .xls or .ods file, or drop it on the box.
  2. If the workbook has several sheets, choose one in the “Sheet” list.
  3. Set the names of the root and row elements, and turn on “Nest dotted headers” if you want nested XML.
  4. Download the .xml file or copy the result.

Rules and limits

How the workbook is read

From the sheet to XML

Questions and answers

Which files can I use?

Excel workbooks (.xlsx, .xlsm, .xlsb), old Excel 97–2003 files (.xls) and OpenDocument spreadsheets (.ods). Password-protected files cannot be read: remove the password in Excel first. For CSV files, use CSV to JSON and then JSON to XML.

Why do some element names differ from my headers?

XML names cannot contain spaces and some other characters, so they become “_”. Rename the headers in the sheet to choose the names yourself.

Why does a date come out as a number?

The cell holds a number without a date format. Give the column a date format in Excel and convert again.

Can I create nested XML?

Yes. Turn on “Nest dotted headers”: a column named address.city becomes <address><city>…</city></address>, and numbered columns such as phone.0 and phone.1 become repeated <phone> elements.

Related tools