How to remove HTML tags
- Paste HTML: a web page's source, an email template, a CMS export or rich text from an editor.
- All tags are removed and the readable text remains. Scripts and styles are dropped entirely, entities such as & and are turned back into normal characters, and extra spacing is tidied.
- Copy the plain text.
Uses for stripping HTML
Plain text is needed for meta descriptions, plain-text email versions, SMS, word counts, translation, search indexes and data imports. When content is exported from a website or CMS it usually comes wrapped in markup. Stripping the tags by hand is slow, and simple find-and-replace approaches leave behind entities and broken spacing.
This tool parses the HTML safely without running any scripts, and keeps paragraph and line breaks from block elements such as paragraphs, headings and list items so the result is readable. Link addresses are dropped and only the link text is kept. If you want to convert HTML into formatted Markdown instead, keeping headings, bold text and links, use our HTML to Markdown converter.
The HTML is processed in your browser and never uploaded.
FAQ
Is it safe to paste HTML with scripts?
Yes. Scripts are never run; they are removed along with their contents.
Does it keep line breaks?
Yes. Paragraphs, headings, list items and line breaks become new lines.
Can I keep links?
Only the link text is kept. Use HTML to Markdown to keep link addresses.