QuickFreeTools

Online Extract Text from XML

Strip XML tags and get plain text only. Removes all elements and attributes, keeps only the text content. Handles common entities. Client-side only.

Frequently Asked Questions

What is removed?
All XML tags (element names and attributes) are removed. Only the character data between tags is kept. CDATA sections are typically included as text.
Are entities decoded?
Yes. Common entities like &, <, >, ", ' and numeric ones (e.g.  ) are decoded to their character equivalents.
What about malformed XML?
The browser's DOMParser may still try to parse and extract text from slightly malformed XML; severely broken input can produce errors or unexpected output.

Related Text Tools