Remove HTML Tags strips the tags from your HTML and leaves plain text. Paste your HTML, click the button and copy the result. It is free and runs in your browser.
<title>Website Title</title> <div>DIV Box</div>
Website Title DIV Box
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool removes the HTML tags from your text and leaves only the text between them. Opening tags, closing tags and tags with attributes, such as <a href="...">, are all removed. Comments and a doctype line are removed too.
A less-than sign that is not part of a tag, as in 3 < 5, is kept. You can also remove the content of script and style tags, keep line breaks where block tags were, and turn entities such as & back into normal characters.
Use it to get plain text out of a web page, an email template, a CMS export or any HTML source.
Each example shows the options used. Unless an option is named, all options are off.
| Case | Before | After |
|---|---|---|
| Basic example | <title>Website Title</title> <div>DIV Box</div> | Website Title DIV Box |
| Tag with attributes | <a href="https://example.com" class="btn">Click here</a> | Click here |
| Doctype and comment | <!DOCTYPE html><!-- note --><p>Hi</p> | Hi |
| Less-than sign is kept | if a < b then <b>bold</b> | if a < b then bold |
| Script and style content, off | <script>alert(1)</script>Hello | alert(1)Hello |
| Script and style content, on | <script>alert(1)</script>Hello | Hello |
| Keep line breaks, on | <p>Hello</p><p>World</p><br>Bye | Hello World Bye |
| Decode entities, on | <b>Tom & Jerry</b> <3 | Tom & Jerry <3 |
Getting plain text out of a web page, an email template or a CMS export, and cleaning text before you count words or paste it elsewhere.
Only the tags are removed, so text inside script and style tags stays unless you tick that option. Words in neighbouring tags can join together unless you keep line breaks. The result replaces your text, so use Undo if you need the original.
To remove only the comments try Remove Html Comments. To turn entities into characters try Html Entities Converter. To remove empty lines try Remove Empty Lines.
It removes every HTML tag from your text, such as <p>, </div> or <a href="...">, and leaves the text between the tags.
Paste your HTML or text into the box and click Remove HTML Tags. The tags are removed. Click Copy to use the result, or Undo to go back.
Yes. A tag is removed with everything inside it, so <a href="https://example.com" class="btn"> is removed completely.
Yes. HTML comments, the doctype line and XML declarations are removed along with the tags.
No. A tag must start with a letter, a slash, an exclamation mark or a question mark after the less-than sign. So a < b and 3 < 5 are kept as they are.
By default it stays, because only the tags are removed. Tick Also remove the content of script and style tags to remove the whole block.
If two tags sit right next to each other, such as </p><p>, nothing is left between the words. Tick Keep line breaks for br, p, div, li and headings to put a line break there.
It turns common entities such as &, <, >, " and and numbers like © back into normal characters. It happens after the tags are removed.
Your text is left as it is and you see the message No HTML tags found.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 12 November 2026