CSV to XML Converter

CSV to XML Converter is used to convert CSV data or file into XML. You can choose whether to write the values as XML attributes or as text inside the record elements. The XML elements generated can also be named as per your choice. The input CSV can also have double quote characters surrounding the values.

Converted on ToolSlick's server. Your input and its output are not stored.

Paste CSV content below
Converted XML

Settings

How the input is converted. Each is explained below.

History

  • 2018-03-07Delimiter & First Row is Header Parameters
  • 2017-08-25Tool Launched

Settings explained

Root Element Name
The name of the root element of the output XML, under which the record elements are created.
Record Element Name
The name of the element each record (row) of the CSV becomes.
Attribute Values
On, the values are the record elements' attributes; off, they are elements of text inside them.
First Row Is Header
Whether the first row holds the column names; without it they are Column1, Column2 and so on.

Background

CSV is an old & very popular format for storing tabular data. It has been used in the desktop as well as mainframe. It is a simple & compact format that works really well for tabular data and so is still in use today.

Extensible Markup Language (XML) is a widely used language that was once the de facto standard for data interchange between applications. Since the advent of JSON, however, it has lost the advantage to the more simple nature of JSON. Nevertheless, XML is still used by applications and SOAP based web services