ToolsEdit PDFArticlesPricingContact
TryPDFKit
Spreadsheets tool

Convert XLSX to XML

Turn spreadsheet rows into XML in two styles: one element per row, or an Excel 2003 XML spreadsheet. It runs in your browser, so your data stays put.

  • 3 free uses, no sign-up
  • Files stay on your device
  • Two XML styles
  • Header names as tags

Drop your spreadsheet files here

or click to browse your device

  • XLSX
  • XLS
  • ODS
  • CSV
  • XLSM
  • XLSB
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was XLSX to XML?
Be the first to rate this tool.
1How it works

XLSX to XML in three steps

  1. 01

    Add your workbook

    Drag a workbook or CSV onto the page.

  2. 02

    Choose the XML style

    Data XML writes a row element per row with a tag per column. Excel 2003 XML makes a spreadsheet that Excel can open.

  3. 03

    Download the XML

    Save the file and send it to the system that needs it.

2The details

What you get, and what to know

What you get

  • Data XMLEach row becomes a row element, and each column becomes a child tag named after its header.
  • Valid tag namesSpaces and special characters in headers are replaced, and names that start with a digit get a prefix so the XML stays well-formed.
  • Excel 2003 XML optionWrite the whole workbook as an XML Spreadsheet that Excel opens directly.
  • Escaped contentCharacters like & and < are escaped, and control characters are removed.
  • Private by designThe workbook never leaves your browser.

Good to know

  • Fixed layoutThe Data XML shape is a rows element with row children. You cannot rename those elements here.
  • No stylingColors, fonts, charts and pictures are not written. Formula cells give their values.
  • One sheet per fileIn Data XML mode each chosen sheet becomes its own file. The Excel 2003 style writes the whole workbook together.
3Use cases

When people use XLSX to XML

Import into a legacy system

Feed an ERP or integration that expects XML.

Archive tables in plain text

Keep a human-readable copy of a sheet.

Prepare feeds

Build product or catalog data that partners ask for in XML.

Learn how XML maps to tables

See a spreadsheet as nested elements.

How the XML is shaped

In Data XML mode the file starts with a rows element that carries the sheet name. Inside, every spreadsheet row is a row element, and each cell is a tag named after its column header. Empty cells are written as empty tags so every row has the same structure.

Choosing between the two styles

Use Data XML when another program will read the data. Use Excel 2003 XML when a person needs to open the result in Excel and you want all sheets in one file.

If a header contains spaces, expect underscores in the tag name. Rename columns first with Rename spreadsheet columns to control the tags. For JSON instead, see XLSX to JSON.

4FAQ

Questions, answered

How do I convert Excel to XML?+

Add the workbook, pick an XML style and download the file.

Does my data get uploaded?+

No. The XML is generated in your browser on your own device.

What if my headers have spaces?+

Spaces and symbols are replaced with underscores so the tag names are valid XML.

Can Excel open the XML?+

Choose the Excel 2003 XML spreadsheet style, which Excel can open directly.

Can I convert every sheet?+

In Data XML mode select Every sheet to get one XML file per sheet.

Can I convert on a tablet or Chromebook?+

Yes. Any current browser can do it, whether on iPadOS, Android, ChromeOS, macOS or Windows.

+Keep going

Related tools