Convert CSV to XML

Form for CSV converting to XML

This form allows you convert CSV data to XML data, paste or upload your CSV file below:



Your result can be seen below.

Result of CSV conversion to XML


Move to "Paste Code" for Save it

About CSV conversion to XML

About CSV data conversion to XML data

The CSV to XML Converter was created for online transform CSV(Comma Separated Values) data into XML(Extensible Markup Language) data. It supports custom CSV column delimiters, if you use headers, then the first CSV row will be used for XML tags.

How it Works?

Just select the options you need and paste your CSV data to the textarea above and click to the button "Convert" and you will instantly get XML document.

Example of CSV conversion to XML

Before:
"LatD", "LatM", "LatS", "NS", "LonD", "LonM", "LonS", "EW", "City", "State"
   41,    5,   59, "N",     80,   39,    0, "W", "Youngstown", OH
   42,   52,   48, "N",     97,   23,   23, "W", "Yankton", SD
   46,   35,   59, "N",    120,   30,   36, "W", "Yakima", WA
   42,   16,   12, "N",     71,   48,    0, "W", "Worcester", MA
   43,   37,   48, "N",     89,   46,   11, "W", "Wisconsin Dells", WI
After:
<root>
 <row>
   <LatD>41</LatD>
   <LatM>5</LatM>
   <LatS>59</LatS>
   <NS>N</NS>
   <LonD>80</LonD>
   <LonM>39</LonM>
   <LonS>0</LonS>
   <EW>W</EW>
   <City>Youngstown</City>
   <State>OH</State>
 </row>
 <row>
   <LatD>42</LatD>
   <LatM>52</LatM>
   <LatS>48</LatS>
   <NS>N</NS>
   <LonD>97</LonD>
   <LonM>23</LonM>
   <LonS>23</LonS>
   <EW>W</EW>
   <City>Yankton</City>
   <State>SD</State>
 </row>
 <row>
   <LatD>46</LatD>
   <LatM>35</LatM>
   <LatS>59</LatS>
   <NS>N</NS>
   <LonD>120</LonD>
   <LonM>30</LonM>
   <LonS>36</LonS>
   <EW>W</EW>
   <City>Yakima</City>
   <State>WA</State>
 </row>
 <row>
   <LatD>42</LatD>
   <LatM>16</LatM>
   <LatS>12</LatS>
   <NS>N</NS>
   <LonD>71</LonD>
   <LonM>48</LonM>
   <LonS>0</LonS>
   <EW>W</EW>
   <City>Worcester</City>
   <State>MA</State>
 </row>
 <row>
   <LatD>43</LatD>
   <LatM>37</LatM>
   <LatS>48</LatS>
   <NS>N</NS>
   <LonD>89</LonD>
   <LonM>46</LonM>
   <LonS>11</LonS>
   <EW>W</EW>
   <City>Wisconsin Dells</City>
   <State>WI</State>
 </row>
</root>
After the conversion, you can apply the XML object to your project or use it for some other purpose.
Donate

Did you like this tool? You can donate to us. This will help us improve our free web tools.

Paypal