XML to Excel Converter

Paste XML or an HTML table -- download a clean .xlsx in seconds. Also converts HTML tables copied from web pages. Fully client-side: no data leaves your browser.

Format:

Repeated child elements are treated as rows. Each child element of a record becomes a column.

How to convert XML to Excel

  1. Paste your XML into the box above (or click Upload file to select a .xml file).
  2. Click Convert. The tool finds the repeating element in your XML and maps each occurrence to a row, with child elements as columns.
  3. Click Download .xlsx to save the Excel file.
  4. Open the file in Microsoft Excel, LibreOffice, or Numbers.

HTML table to Excel -- copy a table from any web page

Switch to HTML table mode and paste the HTML source of any table. The converter finds the first <table> element, uses the first row as the header (or <th> cells if present), and maps each subsequent row to a row in the Excel sheet. This works for tables from Wikipedia, financial sites, sports stats, and any page where you can view source or inspect element.

XML to XLSX -- frequently asked questions

How does the converter decide what becomes a row?
It finds the most-repeated child element under the root (or one level deeper if the root has a single container child). Each occurrence of that element becomes a row; its child elements and attributes become columns.
Does it handle XML attributes as well as child elements?
Yes. Both XML attributes and child element text content are mapped to columns. Attribute names and element tag names appear side by side as column headers.
What if columns are missing in some rows?
All column names across all records are collected into a unified header. Missing values for any record are left blank in the Excel output.
Is my data safe?
Yes. Everything runs in your browser -- no file or markup is sent to any server. Your XML or HTML never leaves your device.
Can I convert an RSS or Atom feed?
Yes. RSS feeds are XML with repeating <item> elements. The converter will map each item to a row with title, link, description, pubDate, and other child elements as columns.