Convert each sheet in an Excel file to a separate XML file

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 Download 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.

batch convert each sheet data in an Excel file to a separate XML file - task window

then show the wizard.

Select From “File” “Excel” To “Files” “XML”.

extract each sheet data in an Excel file to a separate XML file - select type

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

bulk convert each sheet data in an Excel file to a separate XML file - select Excel file

2. Config target XML files.

bulk extract each sheet data in an Excel file to a separate XML file - config XML files

3. Summary.

List selected sheets.

transform each sheet data in an Excel file to a separate XML file - list sheets

convert each sheet data in an Excel file to a separate XML file - summary

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

convert each sheet data in an Excel file to a separate XML file - convert

After converting, you can view output XML files.

convert each sheet data in an Excel file to a separate XML file - view XML file

Convert each Excel sheet to a separate XML file in command line

Save “SQL table to XML” session, then you can:

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:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “Excel sheet to XML” conversion.
  2. Set scheduled task for “Excel sheet to XML” conversion.

FAQ

What is Withdata DataFileConverter?
How long does it take to convert each Excel sheet to a separate XML file?
Is it safe to convert each Excel sheet to a separate XML file using DataFileConverter?
Can I convert each Excel sheet to a separate XML file on Linux, Mac OS?
Can I convert each Excel sheet to a separate XML file in command line?

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 kindin EXCELin XML
Int1234 (a real numeric cell)<int>1234</int>
Bigint9007199254740993 (exact only while the cell stays text)<bigint>9007199254740993</bigint>
Decimal1234.56 (numeric cell, format controls the displayed decimals)<decimal>1234.56</decimal>
Float1.234E+10 (numeric cell)<float>1.234e10</float>
Texttext cell; leading zeros survive only if the column is text<char>text</char>
Long texttext cell; wraps inside the cell rather than the row<text>multi-line text</text> (entities for &amp; &lt;)
Datea serial number plus a date cell format<date>2026-09-18</date> (xs:date with an XSD)
Datetimea serial number plus a date-time cell format<datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime)
Binarynot representable as data<blob>base64...</blob> (xs:base64Binary)
BooleanTRUE / FALSE (a real boolean cell)<bool>true</bool>
JSONa text cell; the quotes are part of the valueescaped 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.

Propertyin EXCELin XML
identifiersNot applicable; a cell holds exactly one valueAttribute values in quotes; entities (&amp; &lt; &gt;) for ...
datesStored as a serial number; only the cell format makes it lo...Text (xs:date / xs:dateTime when an XSD is in play)
binaryOnly as text or an embedded object, not as a data columnbase64Binary / hexBinary inside text
separatorCells, not delimitersTags, not delimiters
encodingUTF-8 internally, declared in the packageDeclared in the XML declaration
typingReal cell types: text, number, date, boolean, errorNone in the markup itself
shapeMultiple sheets, each a flat gridArbitrary tree
ceiling1,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.


Posted

in

by