Scripts and styles never leak
The contents of <script>, <style> and HTML comments are dropped wholesale rather than stripped of their tags, so JavaScript and CSS do not appear as stray text in the output.
Convert HTML to plain text by removing tags, scripts and styles safely.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Remove HTML tags and convert markup to clean plain text. Drops script, style and comment contents, turns block tags into line breaks and decodes entities.
Getting clean text out of HTML looks like a one-liner — delete everything between angle brackets — until you try it on real markup. A naive strip leaves the body of a <script> tag sitting in your output as JavaScript, merges two paragraphs into one run-on sentence, and leaves & and scattered through the text. Doing it properly means treating HTML as structure, not as a string with tags in it.
Non-content elements. <script>, <style> and <!-- comments --> hold content that is never meant to be read. Their entire bodies must be removed, not just their tags.
Block boundaries. <p>, <br>, <li>, <div>, table cells and headings all imply a break. Replacing them with a newline keeps lists as lists and paragraphs as paragraphs.
Inline tags. <strong>, <em>, <a> and <span> carry no break — their tags vanish and their text flows together, which is correct.
Entities. After the tags are gone the text still contains &, <, — and friends. Decoding them is what turns the output into something you can actually read.
For extracting an article to read or count, leave all three on. When you are feeding the text into something that will re-format it anyway, turning off line breaks gives you a single block to work with.
Stripping HTML is a step in many larger jobs: pulling the readable text out of a scraped page before summarising it, cleaning a rich-text editor export before storing plain text, extracting an email body, or preparing copy for a word count. For a PDF rather than a web page, the PDF-to-text tool does the equivalent job from a different source format.
Step by step
Paste the HTML fragment, page source or rich-text export.
Choose whether to decode entities, keep line breaks and collapse spaces.
Read the extracted plain text, which updates as you type.
Copy the text or download it for use elsewhere.
Why use it
What this tool is good for, and what it deliberately does not try to do.
The contents of <script>, <style> and HTML comments are dropped wholesale rather than stripped of their tags, so JavaScript and CSS do not appear as stray text in the output.
Block-level tags such as <p>, <br>, <li> and headings become line breaks, so a list stays a list and paragraphs do not run together into one wall of text.
&, < and numeric references are turned back into the characters they represent, giving you genuinely readable text rather than half-escaped markup.
The extraction happens in your browser. Email templates, scraped pages and confidential documents are converted without a single network request.
Questions
Short, honest answers about quality, limits and privacy.