XML to Excel & CSV
Open an XML file as a table: its repeating records become rows, their fields columns.
Processed in your browser — files never leave your deviceDrop a file here
or
Select fileProcessing your file…
0%
Something went wrong
About XML to Excel & CSV
Open an XML file as a table you can read and edit in Excel. The tool finds the records — the elements that repeat, such as <item>, <row> or <student> — and makes one row of each, with their attributes and fields as columns (nested ones as parent.child). You see the table before downloading it as Excel or CSV. The file stays on your device.
How XML to Excel & CSV works
XML to Excel reads your XML file in your browser and looks for the records: the element name that repeats most often under one parent, such as <item>, <row> or <student>. Each of those becomes a row.
Inside a record, attributes and child elements become columns. Elements nested deeper are named parent.child, and a field that appears more than once in a record is kept in one cell, joined by a semicolon. You see the resulting table before you download it as Excel or CSV.
When to use XML to Excel & CSV
- Open an XML export or feed in Excel to read, sort and filter it.
- Turn product, order or student data exported as XML into a spreadsheet.
- Check what is inside an XML file without a programming tool.
How to use XML to Excel & CSV
- Add your file. Drop an .xml file into the box above.
- Check the table. The preview shows the records found and their columns.
- Download. Save it as Excel (.xlsx) or CSV.
How the table is made
Frequently asked questions
My XML has several kinds of records. Which become rows?
The kind that repeats most often under one parent. Other parts of the file are not included.
What if a record has the same field twice?
Both values are kept in one cell, separated by a semicolon.
Why do I get an error about invalid XML?
The file has a mistake, such as a tag that isn't closed. The message gives the line where the problem was found.
Are numbers kept as numbers in Excel?
Yes. Numbers and yyyy-mm-dd dates are written as numbers and dates; long IDs and numbers with a leading 0 stay text.
Are my files safe with XML to Excel & CSV?
Yes. XML to Excel & CSV runs entirely in your web browser, so your files never leave your device and are never uploaded to us.
Is there a file size limit?
Files up to 30 MB are accepted. Because the work happens on your device, very large files depend on your device's memory.
Related tools
- CSV to Excel Convert CSV files to XLSX with proper columns and headers.
- Excel to CSV Export Excel sheets to CSV, one file per sheet.
- JSON to Excel & CSV Turn a JSON array of records into an Excel sheet or CSV.
- Excel to JSON Turn an Excel sheet or CSV into a JSON array of records, numbers kept as numbers.