Copying text out of a web page and pasting it somewhere else usually drags along exactly the junk you did not want: navigation labels, cookie banners, a stray “Read more”. Stripping the tags is trivial. Keeping the text readable afterwards is the actual work.
The HTML to text converter does both in the browser, with nothing uploaded.
What “plain text” should preserve
A good extraction keeps the things a human would have written down:
- Paragraph breaks — otherwise everything collapses into one wall of text.
- List items — a bullet tells you these are separate points; losing it merges them into a sentence.
- Table structure — at minimum, cells separated so columns stay distinguishable.
- Line breaks inside addresses and code blocks — where the break carries meaning.
It should drop everything else: tags, scripts, styles, and — importantly — the contents of <script> and <style> elements, which are text nodes too but are not text anyone wants.
The entity trap
& is not “amp”. A converter should decode entities so you read Tom & Jerry, not Tom & Jerry. But double-encoded input (&lt;) should decode exactly once, or you get a different wrong answer.
That single rule — decode once — is why naive regex replacements break, and why a real parser is worth using.
Tables and lists are where converters disagree
Two converters will agree on paragraphs and disagree completely on a table. Ours keeps rows on separate lines with tab-separated cells, which pastes into a spreadsheet as columns; if you would rather have prose, turn the table into lines manually.
Lists keep their structure: <ol> is numbered, <ul> gets bullets, and nested lists are indented so the hierarchy survives.
When you want clean text rather than a conversion
If the goal is removing whitespace and stray line breaks rather than tags, space remover is the smaller tool for the job. And if the source page is one you maintain, compare the output with what the live page actually shows — broken markup converts into confidently wrong text.