Strip HTML Tags From Text
Paste HTML or markup to strip out every tag and get clean, readable plain text. Script and style blocks are removed with their contents, entities like & are decoded, and block tags can become line breaks.
How to strip HTML tags
- Paste your HTML or rich text into the input box.
- Choose whether to decode entities and keep line breaks.
- Copy or download the clean plain text result.
Examples
Strip a paragraph
<p>Hello <b>world</b></p>
Hello world
Remove a script block
<p>Visible</p><script>track();</script>
Visible
Frequently asked questions
What does stripping HTML tags do?
It removes every tag like <p>, <a> and <span> from your text and returns just the readable content. Script and style blocks are removed along with their contents.
Does it decode HTML entities?
Yes, by default. Entities such as &, <, >, ", ' and are turned back into the real characters. You can switch this off to keep them as written.
Can it keep paragraphs and line breaks?
Yes. With the line break option on, block tags like <br>, </p> and </div> become newlines so the plain text keeps its structure. Turn it off to flatten everything onto one line.
Will it remove dangerous scripts?
Yes. <script> and <style> elements are removed together with everything inside them, so leftover code and CSS never appear in the output.
What happens to a stray less-than sign?
A lone < or > that is not part of a real tag, such as in 2 < 3, is left untouched. Only valid tags and comments are removed.
Is my text private?
Yes. Stripping runs entirely in your browser and nothing is uploaded to a server.
Related tools
Remove Line Breaks
Remove line breaks and paragraph breaks from text online. Flatten copied text into one line, keep spaces tidy, then copy the result. Free and private.
Whitespace Remover
Remove extra whitespace from text online. Collapse double spaces, strip all spaces and tabs, trim lines, and drop blank lines. Free, private, instant.
Word Counter
Free online word counter. Paste text to count words, characters, sentences, paragraphs and reading time instantly. Works in your browser and stays private.
Find and Replace
Find and replace text online with literal or regex search, case sensitivity, and replace first or all. See a live count of changes. Free and private.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
Bullet List Maker
Turn lines of text into a bullet or numbered list online. Pick dash, asterisk, dot, arrow or numbers, add indent, then copy. Free and private.