Everything below is answered in full, nothing to click open.
How do I strip HTML tags from source code?
Paste the raw markup into the box above and press Strip HTML. Tags, attributes and script and style blocks are removed, leaving plain text.
Is the HTML tag stripper free?
Yes, entirely free. No signup, no trial and no usage limit, since it runs in your browser.
Is my markup uploaded anywhere?
No. Stripping runs on your own machine in JavaScript. Nothing is sent over the network.
What's the difference between this and the strip HTML page?
The same underlying strip runs on both. This page is written for raw source, scraped markup and feed exports; the strip HTML page is aimed at text copied from a web page, doc or email.
Does it decode entities like & and ?
Yes, along with < and >. Less common entities, numeric or named, are left exactly as typed in the source.
Does it remove attributes like class, id and style?
Yes. Every attribute inside a tag is removed with the tag, since none of them render as visible text.
Does it strip script and style blocks?
Yes, contents included. JavaScript and CSS are never text a reader sees.
Is it a full HTML parser?
No, it is a regex-based stripper, not a document-tree parser. It handles well-formed markup reliably; broken markup should be checked after.
Can I paste a whole page of source?
Yes, there is no length cap. A full page reduces to its visible text with no structure or layout left.
Does it remove HTML comments?
Yes, a comment is markup between angle brackets and is removed the same way any tag is.
Will it break on malformed HTML?
It can behave unexpectedly on genuinely broken markup, since it doesn't build a real document tree. Check the output on anything irregular.
Does it preserve link text?
Yes. The <a> tag and its href are removed; the visible text inside it stays.
Can it strip a scraped page before I feed it into another tool?
Yes, that's a common use. Paste the source, strip it, and pass the plain text on to whatever counts, translates or analyzes it next.
Why does a comparison symbol in my text disappear?
Because a regex-based stripper reads a stray < followed later by a > as a tag. Rewrite the comparison using words, or check the output carefully.
Does it work on phones?
Yes, it works the same in any modern mobile browser.
Does stripping change the actual words?
No, only tags, attributes and the four listed entities are touched. The text itself is unchanged.
Is there a batch mode or an API for scraped pages?
Not yet. For multiple pages, paste, strip and copy each one for now.
Is it safe for source I haven't published?
Yes, nothing is transmitted or retained, so it's fine for unreleased markup or drafts.
Can I strip tags out of an RSS or Atom feed?
Yes, paste the item content and the HTML inside it will be stripped the same as any other markup.
What should I check after stripping scraped HTML?
Look for leftover numeric or named entities, and for any text that had a stray angle bracket read as a tag, since this is a regex pass rather than a full parser.