Remove HTML Tags from Text

Paste HTML markup to get clean plain text — every tag is stripped while the content stays intact.

Strip all HTML tags from any text or markup. Free online tool that returns clean plain text.

Remove HTML Tags from Text examples

InputOutput
<p>Hello <strong>world</strong></p>Hello world

How the remove html tags from text works

  1. Every element tag is removed.
  2. The visible text content is kept exactly as written.
  3. Useful for turning rich text into plain text.

Rules and edge cases

  • Everything between < and > is removed, leaving only the visible text content.
  • Text inside script and style elements is part of the source, so review the output when you paste a full page.
  • HTML entities such as &amp; and &nbsp; are left as written rather than decoded.

Frequently asked questions

Will the text keep its paragraph structure?

Block tags are removed rather than converted to line breaks, so a page can come back as one long run of text. Add breaks manually or clean the text before stripping tags.

Is stripping tags a safe way to sanitise user input?

No. Use a proper sanitiser on the server for anything you will re-display. This tool is for turning rich text into plain text you read yourself.