Strip HTML Tags

Paste HTML and get plain text back. Paragraphs, headings and <br> become line breaks, list items get a dash, table cells are separated by tabs, and <script>, <style> and comments are removed with their content. Entities like &amp;, &nbsp; and &#8377; are turned into real characters, and you can keep each link's address after its text.

What to do
Your text
Result
Lines in
0
Lines out
0
Blank lines in
0
Longest line
0

Everything runs in your browser. What you type never leaves this device.

Features

  • Removes every tag, keeps the text

  • Paragraphs, headings, <br> and lists become readable line breaks

  • Drops <script>, <style>, <head> and comments with their content

  • Decodes &amp;, &nbsp;, &#8377; and numeric entities

  • Optionally keeps link URLs: "text (https://...)"

  • Copy or download as .txt

  • Runs in your browser: your text is never uploaded. Free, no signup

Where plain text is needed

Email and CMS exports

Turn HTML newsletters or blog exports into text for a WhatsApp message, SMS or document.

Data cleaning

Strip markup from product descriptions or survey answers stored as HTML.

Word counts and proofreading

Count words or check grammar on the text without the tags getting in the way.

How the HTML is read

Structure is kept as line breaks

  • Block elements (p, div, h1-h6, blockquote, section, table) become paragraph breaks; <br> becomes a line break.
  • List items start with "- ", one per line.
  • Table cells are separated by a tab and rows by a line break, so a table pastes into a spreadsheet.
  • Line breaks inside the HTML source are treated as spaces, the way a browser shows them.

Limits

This is a quick text extractor, not a browser: it does not run scripts or apply CSS, so text hidden with CSS still appears. To keep headings, links and lists as formatting, convert with HTML to Markdown instead. To encode or decode entities only, use the HTML Encoder.

Other line tools

Strip HTML Tags - FAQ