Convert List to XML

Form for List converting to XML

This form allows you convert text list to XML(each line will be converted to an xml element), paste or upload your list below:



Your result can be seen below.

Result of List conversion to XML


Move to "Paste Code" for Save it

About List conversion to XML

About this tool

The List to XML Converter was created for online converting text list into XML. Each new line will be converted to a separate xml element. This can come in handy for testing or debugging your list data, also for fast formatting and adding XML to your config or anywhere else. No need to download or install any software.

Many programmers have cases when they need to add lists to the database or send emails to the list of emails or something else, so this tool is very useful because you can quickly convert the list to the xml.

How it Works?

Just paste your list to the textarea above and click to the button "Convert" and you will get XML in the next textarea.

Example of List conversion to XML

Before:
first line
second line
last line
After:
<?xml version="1.0" encoding="UTF-8" ?>
<root>
	<item0>first line</item0>
	<item1>second line</item1>
	<item2>last line</item2>
</root>
After the conversion, you can apply the XML data to your project or use it for some other purpose.