About the Strip XML Tags
The input is parsed as XML with DOMParser, then the text of every element is collected in document order. CDATA sections are read as text, so <![CDATA[<b>bold</b>]]> yields <b>bold</b> literally. Entities like & and numeric references like © are decoded. Comments, processing instructions and the XML declaration are dropped, and attribute values are not included.
With One line per element, each element's text goes on its own line, which turns records into readable lists, for example the titles, descriptions and dates of an RSS feed. Turn it off to join everything with single spaces. Collapse extra whitespace removes the indentation used for pretty-printing.
If the document is not well-formed (a missing closing tag, a stray &), the tool falls back to removing anything that looks like a tag and says so in the status line, so you still get text from broken fragments. Nothing leaves your browser.
How to use it
- Paste XML or open a file.
- Choose one line per element or a single paragraph.
- Copy or download the text.