Text / html-strip
HTML stripper
Remove HTML tags and clean up whitespace and entities. Toggle options to preserve line breaks, structure, or decode common entities like &.
input.html
·
output.txt
·
options
How it works
Strips HTML tags with a regex pass, then optionally decodes named entities and normalises whitespace. Structure-preservation maps block tags onto line breaks before stripping.
Privacy
Everything runs locally in your browser. Your data never leaves the page.
Tips
- ·Use preserve structure for prose with paragraphs and lists.
- ·Use collapse whitespace for one-line output.
- ·Decoding handles
&, , smart quotes, and more.