← All tools/Utilities/Text/Strip HTML Tags
Strip HTML Tags
Paste HTML, get plain text back — tags gone, entities decoded, scripts and styles dropped.
Tags removed
25 characters in → 11 out
How it works
Parse with DOMParser → drop script, style and comment nodes → read the text nodes, with a line break after each block element → entities decoded automatically.
“<p>Hello <strong>world</strong></p>” becomes “Hello world”: the tags are removed, the text is kept, and the character count drops from 35 to 11. The default text, “<p>Hello <b>World</b></p>”, becomes “Hello World” — 25 characters down to 11, with 4 tags removed.
Runs entirely in your browser using the built-in DOMParser. Nothing is uploaded or stored. Last updated November 2026.
Frequently asked questions
Does it work on a whole web page?
Yes — paste the full HTML source and the tags, scripts and styles are all dropped, leaving the readable text. Very large pages still work, but the result is plain text with no formatting.
Are HTML entities decoded?
Yes. The page is parsed by the browser, so “&” becomes “&”, a non-breaking space becomes a plain space and numeric entities such as “©” become their characters.
What happens to scripts and styles?
Their content is removed entirely, not turned into text — so JavaScript and CSS never appear in the output, and nothing in the pasted HTML runs.
Can I keep the paragraph breaks?
Yes, the “Keep line breaks” option is on by default: each block element such as a paragraph or list item starts a new line. Turn it off to get everything on one line.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.