HTML Stripper
Remove HTML tags from entered markup and keep its text content.
About HTML Stripper
Copying page source, CMS exports or email templates leaves you with text buried in tags. When you only need the words, for a word count, a translation request or a plain-text email version, the markup gets in the way. Stripping the tags gives a quick, readable string of the visible text without opening a code editor.
How it works
Everything between a '<' and the next '>' is treated as a tag and replaced with a space. Then every run of whitespace, including line breaks, is collapsed into a single space and the ends are trimmed, so the output is one continuous line. HTML entities such as & or are left exactly as written, not decoded. Text inside script and style elements is kept, because only the tags themselves are removed. The result downloads as plain.txt.
How to use HTML Stripper
- Type or paste the text you want to process in the text box above.
- Select “Run tool” and check the result before copying or downloading it.
Worked example
Paste '<p>Price: <b>$20</b> & up</p>' on one line and '<p>Call now</p>' on the next. The output is 'Price: $20 & up Call now'. The tags are gone, the two paragraphs have merged into one line, and '&' remains as an entity rather than becoming '&'.
Tips for a better result
- Delete script and style blocks before pasting a full web page, otherwise JavaScript and CSS code will appear in the plain-text output.
- If you need entities like & turned into real characters and line breaks kept, try the Word to Text tool, which parses the HTML instead.
- Expect a single long line. Paste the result into Add Line Breaks if you need it wrapped for an email or text file.
Frequently asked questions
Why does my output contain ' ' and '&'?
This stripper removes tags with a simple pattern and does not decode entities. They stay as typed. Use Find and Replace to swap them, or use Word to Text, which decodes them while parsing.
Can a '>' inside an attribute break the result?
Yes. Because a tag is anything from '<' to the next '>', an attribute value containing '>' ends the match early and leaves part of the tag in the text. This is rare but can happen with inline scripts or templating code.
Does it keep paragraph breaks?
No. All whitespace, including line breaks, is collapsed into single spaces, so the output is one line of text. That suits word counts and translation but not formatted documents.
What to check
Review punctuation, formatting and meaning before using transformed text elsewhere.
Read the Privacy Policy for information about local processing, connected services and advertising.