Remove HTML Tags
Strip HTML tags (<p>, <a>, <div>...) preserving inner text. Useful for extracting only readable content from a page.
—
Strip the tags, keep the words
You copied a chunk from a CMS, from an HTML email or from a database export and it arrived wrapped in paragraph tags, spans with inline styles and div after div. What you want is the text in between. Paste the block into the field and the unmarked version shows up as you type, with no code editor and no throwaway script.
The rule is literal: everything between a less-than sign and the next greater-than sign is deleted, and nothing replaces it. That explains two surprising behaviors. Adjacent paragraphs end up glued, because the tag disappears without becoming a space, and two table cells holding Ana and Silva come out as AnaSilva. Script and style content also survives, since only the tag was removed, not the code inside it.
Watch out for text using bare less-than and greater-than signs, such as a math comparison: the stretch between them is read as a tag and vanishes. Entities are not decoded either, so the codes for the ampersand and the non-breaking space stay written the same way. And do not treat this as a sanitizer: deleting tags does not neutralize hostile HTML, there are libraries for that. Everything runs in your browser.
Frequently asked questions
Why are my paragraphs glued together?
Does it remove the code inside script and style?
Can I use it to clean user-submitted HTML before displaying it?
Related Tools
Remove Accents
Remove accents and special characters from text. Useful for normalizing data, generating slugs and preparing text for legacy systems.
Emoji Stripper
Remove all Unicode emojis and pictograms from a text, keeping the rest intact. Shows count of removed characters.
Remove Line Breaks
Remove or replace line breaks from text. Replace with space, comma or any other character. Instant result.