CSV to XML Converter From flat to structured data

This CSV to XML converter is freely available. Make sure to read the instructions section on this page as there are some potential pitfalls to consider before you start converting your CSV to XML.

The XML format requires named elements. In order to extract names that can be used for creating xml element names from the CSV data, the values from the CSV file's first row (the header row) are used to create the element names. Therefore a header row must explicitly be present in the CSV file you want to convert. If a header row is not present you will need to add one manually. The element names in the generated XML output file will be defined based on your header row's field names. For that reason it is recommended to choose sensible names.

Special characters and whitespace will be stripped away from the field names during the XML generation process as they are not allowed by XML. Last but not least, each field defined in your header should have a unique name, no duplicate field names are allowed.

Application Details

  • Online data conversion tool for converting CSV to XML format.
  • Publisher: Luxon Software
  • Application category: File Format Converter - CSV to XML converter
  • Version: 1.1
  • Browser requirements: Browser needs access to disk space on local harddrive.
CSV to XML Converter Application

Upload a CSV file (max 4 mb)

No file selected
  • Start conversion by uploading a file.

For questions or enquiries, please visit the contact page.

Instructions

  •   Click the "Browse..." button and navigate to the folder containing the CSV file on your computer which you want to convert to XML. With the file selected, click the button "Open" to select the XML file you want to convert from your computer.
  •   Specify the column separator, text qualifier and encoding.
    • The column separator (a.k.a. column delimiter), is used to let the system know where a column starts and ends within the CSV data.
    • The text qalifier (a.k.a. text delimiter), is used to let the system know where the content within a column starts and ends. This is in particular important when the specified column separator is part of the text within a CSV column. For example, consider the following CSV fragment which uses double-quotes as its text qualifier:
      "McEnrough, John", "Copperplate, Michael"
      Without the text qualifier, it would not be possible for the system to interpreted the CSV correctly.
    • The specified encoding instructs the converter software how to deal with the characters it finds in your CSV file. In particular when handling CSV content containing special characters (i.e. characters used in Asian languages such as Chinese, but also for special characters such as mathematical notation). Good futher reading on this matter is available from w3.org's website.
  •  Back on the web page, with the XML file selected, click the button "Convert". Wait until the conversion has completed. This may take a while so please be patient.
  •  Once the conversion is complete the page will refresh itself. A link "Download converted XML file" has appeared as a large blue link. Click on this link.
  •  Specify the location where you want to save the converted file. The conversion results are combined into a.zip archive for your convenience. For now I assume you saved the zip file to your Windows or Mac desktop.
  •  Go to your desktop and double click the Zip file. Its content, a list of CSV files, will appear in a new window. Drag and drop the contents to a folder of your choice.
  •  The CSV files are now ready to be used.