Skip to content

Data Conversion Suite · free · no sign-up

Text to XML Converter

Wrap each line of text in XML tags.

How it works Report a problem

Text to XML Converter

Convert list of items or structured text into valid XML format

0
Input Items (One per line)

About the Text to XML Converter

Wrap each line of text in XML tags.

How to use the Text to XML Converter

  1. Paste your lines of text or click Sample.
  2. Set the Root Element and Item Element names, and choose Include Header, Indent XML or Wrap in CDATA.
  3. Press Generate XML Output and copy or download it.

Tips

  • Use CDATA when the text contains characters such as < or &.

Frequently asked questions

What is CDATA?
A section of XML in which special characters are treated as plain text.