Want to convert each sheet data in an Excel file to a separate XML file at one time?
Try Withdata Data File Converter, an Excel to XML converter for Windows, MacOS, and Linux, Batch convert Excel sheets to XML, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert files locally and privately, avoid uploading large Excel file(s) to online services.
Download Withdata DataFileConverter
Convert each sheet data in an Excel file to a separate XML file
Select source Excel file -> Set target XML file -> Convert Excel sheet to XML file
Click “Start a New Convert” at task dialog.

then show the wizard.
Select From “File” “Excel” To “Files” “XML”.

1. Open a source Excel file, select sheets to convert to XML files.

2. Config target XML files.

3. Summary.
List selected sheets.


4. Convert each Excel sheet to a separate XML file.

After converting, you can view output XML files.

Convert each Excel sheet to a separate XML file in command line
Save “SQL table to XML” session, then you can:
- Convert each Excel sheet to a separate XML file in Windows command line.
- Convert each Excel sheet to a separate XML file in Linux command line.
- Convert each Excel sheet to a separate XML file in macOS command line.
Set scheduled tasks for converting each Excel sheet data to a separate XML file
You can schedule and automate this Excel sheet to XML converting task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “Excel sheet to XML” conversion.
- Set scheduled task for “Excel sheet to XML” conversion.
FAQ
More about Withdata DataFileConverter – Excel sheets to XML converter
See Video: Convert each worksheet in an Excel file to a separate XML file at one time
EXCEL → XML reference
Type mapping
| Value kind | in EXCEL | in XML |
|---|---|---|
| Int | 1234 (a real numeric cell) | <int>1234</int> |
| Bigint | 9007199254740993 (exact only while the cell stays text) | <bigint>9007199254740993</bigint> |
| Decimal | 1234.56 (numeric cell, format controls the displayed decimals) | <decimal>1234.56</decimal> |
| Float | 1.234E+10 (numeric cell) | <float>1.234e10</float> |
| Text | text cell; leading zeros survive only if the column is text | <char>text</char> |
| Long text | text cell; wraps inside the cell rather than the row | <text>multi-line text</text> (entities for & <) |
| Date | a serial number plus a date cell format | <date>2026-09-18</date> (xs:date with an XSD) |
| Datetime | a serial number plus a date-time cell format | <datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime) |
| Binary | not representable as data | <blob>base64...</blob> (xs:base64Binary) |
| Boolean | TRUE / FALSE (a real boolean cell) | <bool>true</bool> |
| JSON | a text cell; the quotes are part of the value | escaped inside an element, or its own sub-tree |
Dialect differences
Both EXCEL and XML are file formats, so what differs below is how each one chooses to represent a value.
| Property | in EXCEL | in XML |
|---|---|---|
| identifiers | Not applicable; a cell holds exactly one value | Attribute values in quotes; entities (& < >) for ... |
| dates | Stored as a serial number; only the cell format makes it lo... | Text (xs:date / xs:dateTime when an XSD is in play) |
| binary | Only as text or an embedded object, not as a data column | base64Binary / hexBinary inside text |
| separator | Cells, not delimiters | Tags, not delimiters |
| encoding | UTF-8 internally, declared in the package | Declared in the XML declaration |
| typing | Real cell types: text, number, date, boolean, error | None in the markup itself |
| shape | Multiple sheets, each a flat grid | Arbitrary tree |
| ceiling | 1,048,576 rows x 16,384 columns per sheet; 255 sheets per w... | Whole document is usually parsed into memory |
Data File Converter without the manual work
For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.
