HTML to Plain Text Converter
Strip HTML tags and convert HTML to clean plain text. Remove markup, preserve line breaks, and extract readable content.
About this calculator
Strip HTML tags and get clean plain text. Choose whether to keep link addresses and line breaks. Useful for extracting text from emails, pages and CMS exports.
Scripts and styles are dropped, so only readable content remains.
How to use it
- Paste your HTML.
- Tick Preserve links and Preserve line breaks as needed.
- Press Copy.
What is removed
Tags are removed, entities such as & are decoded, <script> and <style> blocks are dropped, and block elements turn into line breaks.
Worked example
<p>Hello <b>world</b></p>
| Plain text | Hello world |
Tips and common mistakes
- Keep links when you need to retain references.
- Check the result for missing spaces between adjoining tags.
- Large pages may include navigation text you don't want.
- Use for word counts of web content.
- For scraping at scale use a proper parser.
Frequently asked questions
How do I remove HTML tags?
Paste the HTML and read the plain text.
Does it decode entities?
Yes.
Are scripts removed?
Yes.
Can it keep links?
Yes.
Does it keep line breaks?
Optionally.
Is it free?
Yes.