Strip HTML Tags
| Entity | Character | Numeric form |
|---|---|---|
< | < | < |
> | > | > |
& | & | & |
" | " | " |
' | ' | ' |
| (a space) |   |
<b> means bold, so a literal less-than has to dress up as < (MDN's entity glossary). Numbered forms like < always work, including for characters with no named short form. And if a stripped page still shows &lt; in the output, the content was escaped twice - run it through again.
Bottom line: the tag count is the honesty meter - a pasted page that claims to be one paragraph but reports 180 tags was 90 percent markup, and most of that was styling noise (spans, wrappers, alignment directives) no reader was ever meant to see.
Paste HTML — an email template, a scraped page, a CMS export — and get clean plain text with every tag removed: no divs, no spans, no inline styles, no surprise characters. The tag count shows how much markup was hiding in there.
It exists for the moment every developer, marketer and data analyst has: text arrives full of markup and something downstream needs it naked. Everything runs locally in your browser, so it is safe for confidential content.
How to use
- Paste your HTML into the input box — a fragment or a full document both work.
- The plain-text version appears instantly, with HTML entities like & decoded to real characters.
- Check how many tags were stripped, then copy the clean text with one click.
Frequently asked questions
How does HTML stripping work?
Every <tag> is removed with a pattern match, then common HTML entities (&, <, > and friends) are decoded into their real characters. What remains is the human-readable text content.
Is it safe to paste confidential HTML here?
Yes — stripping runs entirely in your browser with JavaScript. Nothing is transmitted, logged or stored; you can disconnect from the internet and it still works.
Does it handle script and style tags?
Yes — their entire contents are removed, not just the tags, so no stray CSS rules or JavaScript survive into the output.
Will the formatting survive?
Plain text has no formatting by definition — headings become lines, links become their visible text, bold becomes normal. Line breaks between blocks are preserved so paragraphs stay readable.
Why does cleaned text still contain weird words after tag removal?
Because tags are only half of what HTML hides: style and script blocks carry code as their text content, conditional comments target specific Outlook versions, and entities like decode into characters that look like spaces but are not. Word-processed pastes are the worst offenders, wrapping every paragraph in proprietary markup. After stripping, a quick scan for stray CSS property names or 'Skip to content' strings catches the survivors that tag removal alone cannot.
Can I strip HTML from a file instead of pasting?
Open the file, select all, and paste - the input takes whatever the page or template contains, fragment or full document. For bulk or automated stripping, the same operation belongs in your pipeline, where every language has an HTML-to-text library; this page is the interactive case: one document, one glance, one copy.