Convert semicolon delimited text to XML

Want to convert TXT (“;” semicolon delimited text) file to XML file?

Try Withdata Data File Converter, a desktop TXT to XML converter for Windows, MacOS, and Linux, Convert TXT to XML, Easy and Fast.

Download Withdata DataFileConverter Download DataFileConverter

Convert TXT (“;” semicolon delimited text) to XML

Choose TXT file -> Set XML file -> Convert TXT to XML

“Start a New Convert” for “TXT to XML”.

convert TXT file to XML file - task window

Select From “File” “TXT” To “File” “XML”.

create XML file by TXT file - select type

1. Open source TXT (“;” semicolon delimited text) file.

Support large TXT file ( > 4GB ).

transform TXT file to XML file - open a TXT file

Source TXT file’s content is like this:

TXT to XML converter - source TXT file

2. Config target XML file.

generate XML file by TXT file - config XML file

3. Set rows options.

convert TXT file to XML file - summary

4. Convert TXT to XML.

convert TXT file to XML file - convert file

After converting, you can view the output XML file.

convert TXT file to XML file - view XML file


More about TXT to XML converter

See Video: Convert TXT (“;” semicolon delimited text) file to XML file in a few clicks

See also:

Semicolon-delimited text → XML reference

What is a semicolon-delimited file?

A semicolon-delimited file is a plain-text file where each line is one record and a semicolon ; separates the fields. It is the usual CSV variant in locales where the decimal separator is a comma, so a comma inside a number would otherwise be ambiguous.

Name;Age;City
Alice;30;New York
Bob;41;San Francisco

To open it in Excel: Data → From Text/CSV, then set the delimiter to ;.

Type mapping

Value kindin Semicolon-delimited textin XML
Int1234<int>1234</int>
Bigint9007199254740993<bigint>9007199254740993</bigint>
Decimal1234.56<decimal>1234.56</decimal>
Float1.234e+10<float>1.234e10</float>
Textquoted only when it contains a semicolon or a quote<char>text</char>
Long textmust be quoted; line breaks inside force multi-line records<text>multi-line text</text> (entities for &amp; &lt;)
Date2026-09-18<date>2026-09-18</date> (xs:date with an XSD)
Datetime2026-09-18 14:30:00<datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime)
Binarynot representable - base64 or hex string<blob>base64...</blob> (xs:base64Binary)
BooleanTRUE / FALSE, or 1 / 0 depending on the writer<bool>true</bool>
JSONthe whole JSON value quoted, with internal quotes doubledescaped inside an element, or its own sub-tree

Dialect differences

Both Semicolon-delimited text and XML are file formats, so what differs below is how each one chooses to represent a value.

Propertyin Semicolon-delimited textin XML
identifiersDouble quotes; a literal quote is doubled ("" )Attribute values in quotes; entities (&amp; &lt; &gt;) for ...
datesDates often use D/M/Y or D.M.Y in European exportsText (xs:date / xs:dateTime when an XSD is in play)
binaryNot supportedbase64Binary / hexBinary inside text
separatorSemicolon ";"Tags, not delimiters
encodingOften ANSI or Latin-1 in European exports; UTF-8 needs a BOMDeclared in the XML declaration
typingNone - every field is textNone in the markup itself
shapeFlat table, optional header rowArbitrary tree
ceilingNo formal limit; row count bounded by memoryWhole 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