CSV to XML Converter

This online tool allows you to convert a CSV file into a 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## the second value and so on.

Your template should NOT include a 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 afterwards.

The converter supports multiple delimiter 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.

Show usage example

Option 1: Copy-paste your CSV string here
Option 2: Or upload your CSV file
XML Template:
Delimiter character:
Quote character:
Indentation level:
Force output to new window: