Remove HTML tags
Converts HTML source into readable plain text: tags, comments, scripts and styles go, paragraphs, lists and <br> become line breaks and entities are decoded.
How it works
- Paste the HTML or load an .html, .xml or text file.
- Add other cleanups if needed, for example extra spaces or empty lines.
- Copy the plain text or download it as a .txt file.
Works well for
- Getting the text out of an HTML e-mail, web page source or CMS export
- Paragraphs, headings, lists and <br> turned into line breaks
- Entities such as &, and € turned into real characters
- Content of <script> and <style> removed together with the tags
Limitations
- It is not an HTML sanitizer: the output is plain text, not safe HTML to put back on a website – decoded < and > become real < and >.
- CSS is not applied: text hidden with CSS stays, and table cells are only separated by spaces.
- Link addresses and image alt texts sit inside tags, so they are removed as well.
- Only common named entities are decoded (all numeric ones are); rare named entities stay as written.
Frequently asked questions
Is the HTML executed or loaded?
No. The HTML is read as text by a small tokenizer; nothing is rendered, run or fetched, not even images or scripts.
What happens to <script> and <style>?
They are removed together with their content, so no JavaScript or CSS code ends up in the text.
Does it keep paragraphs?
Yes. Block elements such as paragraphs, headings, list items and table rows, plus <br> and <hr>, become line breaks. Several blank lines in a row are reduced to one.
Is my HTML uploaded?
No. It is processed in your browser. Limits: 1 MB of text without an account, 2 MB with a free account, 10 MB with Pro.