Strip HTML Tags

0tags stripped
EntityCharacterNumeric form
&lt;<&#60;
&gt;>&#62;
&amp;&&#38;
&quot;"&#34;
&#39;'&#39;
&nbsp;(a space)&#160;
These six are exactly the set this tool decodes - the same list lives in the decoder itself, so what the table shows is what the tool does. Entities exist because <, > and & double as markup: the moment raw text carries them, a browser reads structure instead of content - <b> means bold, so a literal less-than has to dress up as &lt; (MDN's entity glossary). Numbered forms like &#60; always work, including for characters with no named short form. And if a stripped page still shows &amp;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 &nbsp; 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

  1. Paste your HTML into the input box — a fragment or a full document both work.
  2. The plain-text version appears instantly, with HTML entities like &amp; decoded to real characters.
  3. Check how many tags were stripped, then copy the clean text with one click.
Good to know — What the tag count is really measuring: styled pages carry far more markup than visible text - a strip count in the hundreds is normal for a paste that reads as three paragraphs, and most of it is spans, wrappers and alignment directives no reader was ever meant to see. The survivors that naive stripping leaves behind are the invisible ones: entity-encoded characters that look like spaces, conditional comments aimed at old mail clients, and style or script blocks whose contents are text-shaped code - which is why this tool decodes entities and removes those blocks whole rather than line by line.

Frequently asked questions

How does HTML stripping work?

Every <tag> is removed with a pattern match, then common HTML entities (&amp;, &lt;, &gt; 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 &nbsp; 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.

Related tools