Want to convert HTML table to XML file?
Try Withdata Data File Converter, a desktop HTML to XML converter for Windows, MacOS, and Linux, Convert HTML table 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 HTML file(s) to online services.
- Support Windows, Linux, and macOS.
Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Convert HTML table to XML
Choose HTML file -> Set XML file -> Convert HTML table to XML
“Start a New Convert” for “HTML to XML”.
Select From “File” “HTML” To “File” “XML”.
1. Open source HTML file.
Support large HTML file ( > 4GB ).
Source HTML file’s content is like this:
2. Config target XML file.
3. Set rows options.
4. Convert HTML table to XML.
After converting, you can view the output XML file.
More about HTML to XML converter
Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
See Video: Convert html table to XML file in a few clicks
See also:
HTML → XML reference
Type mapping
| Value kind | in HTML | in XML |
|---|---|---|
| Int | <td>1234</td> | <int>1234</int> |
| Bigint | <td>9007199254740993</td> | <bigint>9007199254740993</bigint> |
| Decimal | <td>1234.56</td> | <decimal>1234.56</decimal> |
| Float | <td>1.234e+10</td> | <float>1.234e10</float> |
| Text | <td>text</td> | <char>text</char> |
| Long text | <td>multi-line text</td> (entities for & <) | <text>multi-line text</text> (entities for & <) |
| Date | <td>2026-09-18</td> | <date>2026-09-18</date> (xs:date with an XSD) |
| Datetime | <td>2026-09-18 14:30:00</td> | <datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime) |
| Binary | not representable in a cell | <blob>base64...</blob> (xs:base64Binary) |
| Boolean | <td>true</td> | <bool>true</bool> |
| JSON | <td>{"a":1}</td> (quotes escaped) | escaped inside an element, or its own sub-tree |
Dialect differences
Both HTML and XML are file formats, so what differs below is how each one chooses to represent a value.
| Property | in HTML | in XML |
|---|---|---|
| identifiers | Attribute values in quotes; entities for reserved characters | Attribute values in quotes; entities (& < >) for ... |
| dates | Whatever text was rendered | Text (xs:date / xs:dateTime when an XSD is in play) |
| binary | data: URIs inside src attributes | base64Binary / hexBinary inside text |
| encoding | Declared in a meta charset tag or the HTTP header | Declared in the XML declaration |
| typing | None | None in the markup itself |
| shape | Free form; tables are row/column structures inside markup | Arbitrary tree |
| ceiling | No formal limit | Whole document is usually parsed into memory |
Convert HTML to XML the easy way
Use the HTML to XML converter — an offline desktop app for Windows, macOS and Linux. Nothing to upload, large files and batch runs supported (free trial).