Skip to content

Excel to XML Converter

Pick a sheet and every row becomes an XML element named after your headers; nothing is uploaded.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

Turn an Excel sheet into XML in your browser: each row becomes a row element inside a root element, and each cell an element named after its column header. Rename the root and row elements to match the format you need, then copy the XML or download an .xml file. Special characters are escaped for you.

Why use Excel to XML

  • Your element names

    Rename the root and row elements; header cells become valid element names on their own.

  • Private

    The workbook is read by your own browser and never sent to a server.

  • Works offline

    After you have used it once, it keeps working without an internet connection.

How it works: convert Excel to XML

  1. Choose your workbook

    Drop an .xlsx, .xls, .xlsm or .ods file on this page, choose it, or try a sample. It is read in your browser and never uploaded.

  2. Pick the sheet

    The first sheet is converted at once; choose another from the sheet list.

  3. Name the elements

    Change the root element (rows) and the row element (row), and the XML updates.

  4. Copy or download

    Copy the XML, or download it as an .xml file.

What the Excel to XML converter handles

  • Files: .xlsx, .xls (Excel 97–2003), .xlsm and .ods workbooks, one sheet at a time.
  • Shape: <rows><row><Name>Pen</Name>…</row></rows>, one row element per sheet row; empty rows are skipped.
  • Names: header cells are turned into valid XML element names, so a header such as Unit price still works.
  • Text: &, < and > in cells are escaped, so the XML stays well formed.
  • Values: each cell as Excel shows it, so formulas give their result and dates keep their displayed format.
  • Merged cells: the value goes to the first cell of the range; the others stay empty.

Excel to XML: what it can't do

  • Every value is written as element text; no attributes and no schema are produced.
  • Formatting, charts and images are not carried over, and password-protected workbooks cannot be opened.

Excel to XML: questions and answers

Is my file uploaded?
No. Your browser reads the workbook and writes the XML on your device. Nothing is sent to a server, saved on the site or kept in a history.
What does the XML look like?
A root element holds one row element per sheet row, and each cell is an element named after its header: <rows><row><Name>Pen</Name><Price>2.50</Price></row></rows>.
What happens to headers with spaces or symbols?
XML element names cannot hold spaces or start with a digit, so each header cell is turned into a valid name automatically. The values themselves are not changed.
Can I change rows and row to other names?
Yes. Type new names for the root and row elements, for example products and product, and the XML updates at once.
Are formulas or formatting kept?
No. Each formula becomes the result Excel shows, and colours, fonts and borders are left out. XML here holds values only.
Is there a size limit?
The preview shows the first 5,000 lines. Copy and Download take the whole XML, however long it is.
How do I convert an Excel spreadsheet to XML?
Open the workbook in OpenAnyDoc's Excel to XML converter, pick the sheet, and copy the XML or download it as an .xml file. Each row becomes a row element and each cell an element named after its column header, all made in your browser without uploading the file.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.