Apr
21

CSV to XML Converter

04/21/2022 12:00 AM

This online tool allows you to convert a CSV file into an XML file.

To make use of this converter, define a valid XML template using placeholders in the format ##POSITION## to substitute the value of the CSV file within the XML snippet. ##1## is the first value, ##2## is the second value, and so on.

Your template should NOT include an XML document declaration! Remember that the XML template you provide is applied to each line and isn't a document construct. You can always change the wrapping document element afterward.

The converter supports multiple delimiters and quoting characters (comma, colon, semicolon, tab, dot, single-quote and double-quote). You can therefore convert tab-separated values (tsv) to XML files as well.