Strip HTML Tags
Remove HTML tags and get clean plain text, with entities decoded and whitespace tidied. Optionally keep basic formatting tags. Free online tool.
On your device: nothing you enter here is uploaded.
Input
Result
The result appears here as you type.
What this tool is for
Extract the readable text from a block of markup: tags removed, entities decoded, blank lines collapsed. Useful for word counts on a rendered page, for cleaning content pasted out of a website, and for sanity checking what a scraper actually captured.
How to use it
- Paste the HTML.
- Choose whether script and style contents should be dropped entirely.
- Copy the plain text.
Frequently asked questions
Is stripping tags enough to sanitise user input?
No. Removing tags from untrusted input is a text cleanup, not a security boundary. If the text will be rendered as HTML again, escape it on output instead.