Excel to XML
Turn an Excel sheet or CSV into an XML file with one element per row.
Processed in your browser — files never leave your deviceDrop a file here
or
Select fileProcessing your file…
0%
Something went wrong
About Excel to XML
Turn the first sheet of a workbook, or a CSV, into an XML file with one element per row and one child element per column, named after the headings (Roll No. becomes <Roll_No>). Choose the names of the outer and row elements, leave out empty cells if you like, and download a UTF-8 XML file made in your browser.
How Excel to XML works
Excel to XML reads the first sheet of your .xlsx file, or your CSV, in your browser and writes an XML document: an outer element, one element for each row, and inside it one element for each column, named after the heading.
Headings are turned into valid XML names: spaces and symbols become underscores, and a heading that starts with a digit or with "xml" gets an underscore in front. Two columns with the same heading get _2, _3 added. Special characters in the cells (&, <, >) are escaped, and dates are written as yyyy-mm-dd.
When to use Excel to XML
- Make an XML feed of products or prices from a spreadsheet.
- Prepare data for software that imports only XML.
- Share a table with a system that expects one element per record.
How to use Excel to XML
- Add your file. Drop an Excel (.xlsx) or CSV file into the box above.
- Name the elements. Change the outer and row element names if your software expects others.
- Download. Save the UTF-8 .xml file.
Options explained
Frequently asked questions
What if a heading isn't a valid XML name?
It is changed into one: spaces and symbols become underscores, and a heading that starts with a digit gets an underscore in front (2024 → _2024).
Can I convert several sheets?
Only the first sheet is converted. Move the sheet you need to the front, or save it as its own file.
Is the file uploaded?
No. The XML is made in your browser.
Are my files safe with Excel to XML?
Yes. Excel to XML 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.