Convert XML to a spreadsheet
Turn an XML file into an Excel table by choosing the fields to keep.- 1Import
- 2Configure
- 3Download
Drag and drop your XMLs here
or click to select them from your device · 100% processed in your browser
About this tool
“XML to spreadsheet” reads an XML file and draws a table from it: repeated elements become the rows, their child tags the columns.
Attributes are carried over as @attribute, and Excel workbooks in XML 2003 format are read too.
Main benefits
- Repeated elements detected
- Attributes carried over
- Child tags as columns
- Excel XML 2003 read
How to use “XML to spreadsheet”
Drop the XML
Drag one or several .xml files.
Choose the format
XLSX, CSV, ODS or XLS for the table.
Run the conversion
The repeating element is spotted by itself.
Re-read the columns
Attributes carry an @ before their name.
Download
One table per XML, a ZIP for a series.
Key features
- Repeated elements spotted automatically
- Attributes carried over as @attribute
- Each child tag becomes a column
- Excel XML 2003 workbooks also read
- Several files converted in a row
- Result as ZIP for a series
Compatible formats
Accepted formats
- XML
Output formats
- XLSX
- CSV
- ODS
- XLS
- ZIP
Reverse operation?
A table exports to XML with the conversion tool.
Common use cases
Catalogue feed
Check a product feed in a spreadsheet before publishing it.
Accounting export
Review an XML invoicing file without dedicated software.
Administrative data
Use a public data set distributed as XML.
Software backup
Recover the content of a technical export.
Frequently asked questions (FAQ)
How are rows found?
The repeating element is detected automatically.
And attributes?
They become columns prefixed with @.
Is Excel XML 2003 read?
Yes, such workbooks are read too.
Which output format?
XLSX, CSV, ODS or XLS.
What are the limits?
Up to 20 files of 500 MB each.
Related tools
Discover other tools for your spreadsheets and workbooks.
JSON to spreadsheet
Convert a JSON file to Excel or CSV
Workbook to XML
Convert an Excel or CSV workbook to XML
HTML to spreadsheet
Convert tables from an HTML page to Excel
Text to spreadsheet
Convert a text or CSV file to Excel
Convert file format
Convert XLSX, XLS, ODS, XLSB, and Numbers
Workbook to CSV
Convert a workbook to CSV, TSV, or TXT
File privacy
Your files stay in your browser: processing happens on your device and no workbook is sent to a server.
Understanding the tool settings
Here is what each setting really changes in the result.
Output format
XLSX, CSV, ODS or XLS.
Repeating row
Spotted automatically in the tree.
Common problems and solutions
A single big block?
No element repeats in the file.
Many columns?
Each child tag and attribute creates one.
File refused?
The XML is malformed or above 500 MB.
Accents broken?
Check the file’s encoding declaration.
Nested data?
Deep levels are summarised.
Missing rows?
Only the main repeating element is kept.
Best practices
- Check the XML is well-formed: it is refused otherwise.
- Declare the encoding: accents stay correct.
- Spot the repeating element: it sets the rows.
- Favour XLSX: types are preserved.
- Open a sample: before a series.
- Keep the original: it is not altered.
Security and privacy
Local processing
The work is done directly in your browser, on your device.
No upload required
Your files are sent to no server: nothing is uploaded or stored.
Local parsing
The XML is read in your browser; no data is passed to a server.
Compatibility and limits
What the tool accepts, what it produces and how far it goes.
- Input: XML files, including Excel XML 2003. Output: XLSX, CSV, ODS or XLS, in a ZIP for a series.
- Limits: 20 files at a time, 500 MB each.
Go further
Clean data
Clean up a table in just a few clicks: extra spaces, invisible characters, blank rows and columns, text case, and numbers stored as text.
Extract columns
Keep only the columns you need (in whatever order you want), or remove the ones you don't, by letter, number, or header name.
Sort a table
Sort the rows of a table by one or two columns, in ascending or descending order, with sorting that understands numbers, dates, and accented characters.
Analyze a workbook
Get a full profile of a workbook: number of sheets, rows, and columns, blank cells, duplicates, column types, formulas, images, and author information.
