Remove HTML Tags

Paste HTML, get clean plain text. Strips tags, scripts and styles, keeps paragraph breaks and decodes entities like & and  . Free and private.

You copied something from a page’s source, an email template, a CMS export or a database field, and it is full of <p>, <strong> and <a href="…">. You need the words. This tool strips the tags and gives you readable plain text.

Paste the HTML above. The result shows the text with the markup removed.

What it does with each piece

Tags go: everything between < and > that starts with a tag name or a slash. Script and style blocks go with their contents, since the JavaScript or CSS inside is not text anyone should read. HTML comments go too.

Block-level tags are turned into line breaks if that option is on. </p>, </div>, </li>, </h2>, </tr> and <br> all mark the end of a line in a browser, so converting them keeps your paragraphs and list items on separate lines instead of running into one wall of text. Turn the option off if you want the content squashed together.

Entities are decoded when that option is ticked. &amp; becomes &, &lt; becomes <, &nbsp; becomes a space, and numbered entities such as &#8217; or &#x2019; become the real character. Without decoding you would be left with a mess of ampersands.

Things worth knowing

Link addresses disappear with the tag. <a href="https://example.com">Click here</a> becomes “Click here” and the URL is gone. If you need the links, pull them out first with the URL extractor and then strip the tags.

Image alt text lives inside the tag, so it goes too. Tables lose their structure: cells run together as text, and only the row end breaks a line.

A stray less-than sign in ordinary writing, as in “if a < b and c > d”, is left alone because a tag has to start with a letter or a slash. Something like x<y>z will lose the <y>, since it looks exactly like a tag.

Safe to paste?

The HTML is treated as plain text. It is never rendered on this page and no scripts inside it run, and nothing is sent anywhere, so pasting a sample from an unknown source is fine.

Next steps

Plain text out of a web page usually still has uneven spacing, so remove extra spaces and remove empty lines finish the job. If you need to go the other way and write markup, Markdown to HTML converts simple writing into tags, and the HTML entities tool escapes and unescapes characters like & and < on their own.

Frequently asked questions

Can it keep the link URLs in the output?

No, they are part of the tag and are removed with it. Run the URL extractor on the HTML first to collect the links, then strip the tags from a copy.

Why are my table cells running together?

Plain text has no columns. Cells in the same row are joined directly, and only the end of a row becomes a line break. If you need structure preserved, a spreadsheet import is a better route than stripping tags.

Is it safe to paste HTML from an email I do not trust?

Yes. The tool reads it as text and never displays it as a web page, so nothing in it can run.