Go to Sign up
Note: Your files never leave your device. We don't upload, transfer, or store your data.
|
|
|
|
|---|---|---|
|
|
|
XML (eXtensible Markup Language) is a markup language that defines rules for encoding documents in a format that is both human-readable and machine-readable. It uses tags to structure data hierarchically:
<?xml version="1.0" encoding="UTF-8"?><employees> <employee><name>Alice</name><age>30</age><city>Berlin</city> </employee></employees>XML is used in:
SOAP web services — enterprise API communication
RSS/Atom feeds — content syndication
SVG images — vector graphics
Android layouts — UI definitions
Spring Framework — bean configuration
Sitemaps — sitemap.xml for SEO
Microsoft Office — .docx, .xlsx are ZIP archives containing XML
SOAP/REST payloads — legacy enterprise integrations
XBRL — financial reporting
HL7/FHIR — healthcare data exchange
Converting Excel data to XML enables integration with systems that require XML input:
Enterprise systems — SAP, Oracle, and legacy applications use XML for data import
Data feeds — Generate product feeds in XML for e-commerce platforms
Sitemap generation — Convert URL lists from Excel into sitemap.xml
Configuration files — Generate XML configs for Java, .NET, or Android projects
API payloads — Prepare XML request bodies for SOAP services
Content migration — Move spreadsheet data into XML-based CMS platforms
| Format | Extension | Notes |
|---|---|---|
| Excel Workbook | .xlsx | Default format since Excel 2007 |
| Legacy Excel | .xls | Excel 97–2003 format |
| Macro-Enabled | .xlsm | Excel with VBA macros (data only) |
Multi-sheet workbooks are supported — a sheet selector appears when multiple worksheets are detected.
Root Element defines the outermost XML tag wrapping all data. Defaults to root. Row Element defines the tag name for each data row. Defaults to row.
With root=employees and row=employee:
<employees> <employee><name>Alice</name><age>30</age> </employee></employees>Element mode (default) outputs column values as child elements:
<employee> <name>Alice</name> <age>30</age> <city>Berlin</city></employee>Attribute mode outputs column values as XML attributes:
<employee name="Alice" age="30" city="Berlin" />| Mode | Best For |
|---|---|
| Element | Complex data, long text values, mixed content |
| Attribute | Compact output, simple key-value pairs, metadata |
Enable XML Declaration to prepend <?xml version="1.0" encoding="UTF-8"?> at the top of the output. This is required for valid XML documents and recommended for any file that will be parsed by an XML processor.
Enable CDATA Wrapper to wrap text content in <![CDATA[...]]> sections:
<description><![CDATA[Price > $100 & < $500]]></description>CDATA sections allow text to contain characters like <, >, and & without escaping. This is useful when cell values contain HTML, code snippets, or mathematical expressions.
Enable Escape XML Characters to convert the five reserved XML characters to their entity references:
| Character | Entity |
|---|---|
< | < |
> | > |
& | & |
" | " |
' | ' |
This ensures the output is always valid XML, even when cell values contain these characters.
Enable Minify Output to remove all whitespace, producing compact single-line XML. Reduces file size significantly for large datasets.
Control formatting with four options:
| Option | Convention |
|---|---|
| 2 spaces | Common for web configurations |
| 4 spaces | Java/.NET convention |
| 8 spaces | Legacy enterprise systems |
| Tabs | Minimal file size with structure |
Choose the character encoding declared in the XML header:
| Encoding | Best For |
|---|---|
| UTF-8 | Default. Full Unicode support, web standard |
| UTF-16 | Systems requiring wide character encoding |
| ISO-8859-1 | Legacy Western European systems |
After uploading your Excel file, the built-in editor lets you:
Add, delete, and reorder rows and columns
Transpose rows to columns
Remove empty rows and duplicate rows
Apply case transformations (UPPERCASE, lowercase, Capitalize)
Find and replace values (with regex support)
All processing happens in your browser. Your Excel files are never uploaded to any server.
Drag and drop an .xlsx, .xls, or .xlsm file onto the upload area, or click to browse. If the workbook has multiple sheets, select the desired sheet from the dropdown.
Use the toolbar to modify your data before conversion. Insert or remove rows and columns, transpose the table, deduplicate rows, or apply bulk case changes.
In the Properties panel, enter names for the Root Element (outermost tag) and Row Element (per-row tag).
XML Declaration — toggle on to include <?xml ...?> header
Attribute Mode — toggle on for attributes instead of child elements
CDATA Wrapper — toggle on to wrap text in CDATA sections
Escape XML Characters — toggle on to escape reserved characters
Minify Output — toggle on for compact single-line output
Indent Size — select 2, 4, or 8 spaces, or tabs
Encoding — choose UTF-8, UTF-16, or ISO-8859-1
Click Convert. The XML output appears in the Output Data panel. Click Copy to Clipboard or Download File (Premium) to save the .xml file.
Product feeds — Generate XML product catalogs for e-commerce platforms (Google Shopping, Amazon)
Sitemap generation — Convert URL lists from Excel into sitemap.xml for SEO
SOAP API payloads — Prepare XML request bodies from spreadsheet test data
Enterprise data import — Convert Excel data for SAP, Oracle, or legacy XML-based systems
Android layouts — Generate XML resource definitions from design specifications
Spring configuration — Create XML bean definitions from parameter tables
Content migration — Move structured data from Excel into XML-based CMS platforms
Financial reporting — Convert financial data to XBRL-compatible XML
The converter accepts .xlsx (Excel Workbook), .xls (Excel 97–2003), and .xlsm (Macro-Enabled Workbook) files. Multi-sheet workbooks are supported with a sheet selector.
No. All conversion happens entirely in your browser using client-side JavaScript. Your files are never uploaded, transferred, or stored on any server.
Element Mode outputs column values as child XML elements (
When enabled, the CDATA Wrapper wraps text content in sections. This allows cell values to contain reserved XML characters (<,>, &) without escaping, which is useful for HTML content, code snippets, or mathematical expressions.
When enabled, the converter replaces the five reserved XML characters with their entity references: < becomes <, > becomes >, & becomes &, \" becomes ", and ' becomes '. This ensures the output is always valid XML.
The converter supports UTF-8 (default, full Unicode support), UTF-16 (wide character encoding for specific systems), and ISO-8859-1 (legacy Western European encoding). The selected encoding is declared in the XML header.What encoding options are available?
Yes. After uploading your file, a full table editor opens where you can add or remove rows and columns, transpose the table, deduplicate rows, change text case, and find and replace values.