HTML Tags Stripper

Remove HTML tags and keep clean, readable text

Strip all HTML tags, scripts and styles from HTML and keep readable plain text - with paragraphs, list bullets and table cells preserved, links optionally kept as text (url), and image alt text included if you like.
Try an example:

Output will appear here...

About HTML Tags Stripper

How it works

  1. Comments, <script>, <style>, <svg> and <head> blocks are removed completely, including their contents.
  2. Block elements (paragraphs, headings, list items, table rows) become line breaks; list items get "- " bullets and table cells are separated by tabs.
  3. All remaining tags are removed, entities like &amp; and &nbsp; are decoded, and extra spaces and blank lines are tidied up.
  4. Optionally, links keep their URL in brackets and images are replaced by their alt text.

What you need

  • Some HTML - a page source, an email template, or rich text copied from an editor. Nothing to install.

Tips

  • To get a page's HTML, use our Source Code Downloader or your browser's "View page source".
  • Choose "text (url)" for links when converting newsletters or articles to plain-text emails.
  • Table cells are tab-separated, so you can paste tables straight into a spreadsheet.
  • Use "Use as input" to feed the result into the Word Counter or other text tools.

Limitations

  • Text added by JavaScript after the page loads is not in the HTML source, so it cannot be extracted.
  • Layout from CSS (columns, hidden elements) is ignored - hidden text is kept.
  • Badly broken HTML may leave stray characters.

Runs in your browser. Your HTML never leaves your browser.

Frequently asked questions

Is the content of <script> and <style> removed too?+

Yes - their contents are code, not readable text, so the whole block is removed, along with HTML comments and SVG graphics.

What does "Decode HTML entities" do?+

Turns codes like &amp;, &lt;, &copy; and &nbsp; back into the characters they stand for (&, <, ©, space).

Can I keep the links?+

Choose "Keep text and URL" and each link becomes "link text (https://...)". In-page links (#section) and javascript: links are left as plain text.

Is it safe to paste HTML here?+

Yes. The HTML is treated as text and never rendered or run, and it stays in your browser.