Strip HTML tags and get plain text

Remove HTML tags and keep just the readable text.

Input

Output

Words 9Characters 115Without spaces 107Sentences 1Lines 3Paragraphs 1Reading time < 1 min

About Strip HTML Tags

Paste HTML from a web page, CMS or email template and get back just the words. Script and style blocks and comments are removed completely, paragraphs, list items, headings and <br> become line breaks, and entities like &amp; and &nbsp; turn back into normal characters.

Spacing is tidied as well, so the result reads like ordinary text. The conversion runs in your browser and the HTML is not uploaded.

How to use it

  1. Paste HTML into the Input box, or press Sample to try an example.
  2. Keep “Decode entities” on to turn codes like &amp; into &, or turn it off to keep them as they are.
  3. Copy the plain text from the right-hand side or download it.

Frequently asked questions

Are links kept?

The link text is kept but the URLs in href attributes are removed along with the tags. To keep links, convert the HTML to Markdown instead.

Is the text inside <script> and <style> removed?

Yes. Those blocks are dropped entirely, as are HTML comments, so you don’t get stray code in the output.

Can I keep some structure, like headings and lists?

Use HTML to Markdown, which keeps headings, lists, links and emphasis as Markdown syntax.

Related tools