go-supertools
Text Tools

HTML Tags Stripper

Remove HTML tags from pasted text and keep the plain text between them.

Runs in your browser Your input never leaves your device.

0 characters | 0 words

Report a problem with this tool

About this tool

This tool removes HTML tags from the text you paste and leaves what was between them. Anything that looks like a tag is deleted: a less-than sign followed by a letter, a slash or an exclamation mark, up to the closing greater-than sign, including attributes and closing tags. It is a quick text cleanup and not an HTML parser: script and style elements and HTML comments are removed together with their contents, and entities such as &amp; are not converted back to symbols. A less-than sign in plain text, like a < b, is kept. Line breaks in your source are kept as they are. The work happens in your browser, so the HTML you paste is not sent anywhere.

How to use it

  1. Paste your HTML into the input box.
  2. The text without tags appears in the output.
  3. Press Copy to take the result.

Example

Input
<p>Hello <b>world</b></p>
Result
Hello world

Common problems

Script or CSS code remains in the output
Only the tags are removed, not the content between them. Delete script and style blocks from the input first.
Entities like &amp; or &nbsp; are still there
The tool does not decode entities. Use an HTML entity decoder on the result.
Text that looks like a tag is removed
A less-than sign followed by a letter, such as <name, is treated as the start of a tag and removed up to the next > or the end of the text, while a < b is kept. Escape or reword such text first.