WebToolsPlanet
Converter Tools

XML to Excel Converter

Paste XML and download an Excel spreadsheet with repeated elements flattened into rows.

Last updated: May 28, 2026

Client-Side Processing
Input Data Stays on Device
Instant Local Execution

Find this tool useful? Support the project to keep it free!

Buy me a coffee

What is XML to Excel Converter?

This tool parses an XML document and converts repeated child elements into spreadsheet rows. Each unique child tag becomes a column header. Nested elements are flattened with dot notation. The output is an .xls file compatible with Microsoft Excel, LibreOffice, and Google Sheets.

How to Use XML to Excel Converter

1

Paste XML into the input panel.

2

Set a sheet name.

3

Toggle header row inclusion.

4

Click Download .xls or copy the table preview.

Common Use Cases

  • Converting an XML API response to a spreadsheet for analysis.
  • Exporting XML report data to Excel for non-technical review.
  • Flattening an XML data feed for use in a BI tool.
  • Producing a quick spreadsheet from XML config data.

Example Input and Output

Repeated XML item elements become spreadsheet rows.

XML input
<catalog><item><name>Widget</name><price>9.99</price></item><item><name>Gadget</name><price>19.99</price></item></catalog>
Excel rows (columns: name, price)
name    | price
Widget  | 9.99
Gadget  | 19.99

Note

The .xls output uses an HTML-based spreadsheet format. For true .xlsx format, open the file in Excel and save as .xlsx.

Frequently Asked Questions

What XML structures work best?
XML with repeated sibling elements (like API list responses) convert cleanly. Deeply nested or irregular XML may produce many dot-notation columns.
Can I open the .xls file in Google Sheets?
Yes. The downloaded file uses an HTML-based format that Excel, LibreOffice, and Google Sheets can open.
Is my XML sent to a server?
No. All XML parsing and conversion happen in your browser.