What it does
This HTML stripper turns web page code into text you can actually read. Paste the HTML, and every tag, script, style, comment and hidden element is removed, while the structure that matters is kept: paragraphs stay separate, headings stand out, lists get bullets or numbers, tables become tab-separated rows, and HTML codes like & and become the real characters.
- Main content only uses the page's
<main>or<article>when it has one, and skips menus, headers, footers and sidebars. - Optionally keep link addresses after the link text, and image descriptions (alt text).
- Copy the result or download it as a .txt file, with word and character counts.
- It runs in your browser. The HTML is read, never run, so scripts in it can't do anything, and nothing is uploaded.
Example
This HTML: <h2>Opening hours</h2><ul><li>Mon–Fri: 9–5</li><li>Sat: <b>closed</b></li></ul><script>track()</script> becomes:
== OPENING HOURS == β’ MonβFri: 9β5 β’ Sat: closed
How to use HTML to Text
- Open the page you want, show its source (see "How do I get a page's HTML?" above) and copy all of it.
- Paste it into the left box, or drop a saved .html file on it.
- Pick the options you want. The text updates as you go.
- Copy it or download it as a .txt file.
HTML to Text FAQ
Can I just paste a web address?
No. Browsers don't let one website download another site's pages (that rule protects you), so you copy the source yourself, which takes a few seconds with Ctrl+U.
Why is some text missing?
Many modern sites build their text with JavaScript after the page loads, so it isn't in the source. Save the page with Ctrl+S as "Webpage, Complete" and drop that file in, or turn off "Main content only" in case the text is outside the main area.
Is it safe to paste HTML from anywhere?
Yes. The HTML is only read as text by your browser's parser. Its scripts never run and nothing it links to is loaded.
Want Markdown instead?
Use the HTML to Markdown converter: it keeps bold, links and tables as Markdown formatting.