Text Tools

HTML to Text

Paste HTML, a page's source, or drop an .html file, and get readable plain text with the tags, scripts and styles stripped out. Paragraphs, headings, lists, links and tables stay tidy.

πŸ‘€ How do I get a page's HTML?
BrowserShow the source
Chrome, Edge, Firefox, Brave, Opera (Windows / Linux)Press Ctrl + U, or right-click the page and pick View page source
Chrome, Edge, Firefox (Mac)⌘ + βŒ₯ + U
Safari (Mac)Turn on Settings β€Ί Advanced β€Ί Show features for web developers, then ⌘ + βŒ₯ + U
Chrome on AndroidType view-source: in front of the address, like view-source:example.com
Any browserSave the page (Ctrl + S, "Webpage, HTML only") and drop the .html file below

Then select everything (Ctrl + A), copy it (Ctrl + C) and paste it into the left box. Pages that load their text with JavaScript may show little in their source: for those, save the page with Ctrl + S as "Webpage, Complete", or copy the text straight from the page.

Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

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.

Example

This HTML: <h2>Opening hours</h2><ul><li>Mon&ndash;Fri: 9&ndash;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

  1. Open the page you want, show its source (see "How do I get a page's HTML?" above) and copy all of it.
  2. Paste it into the left box, or drop a saved .html file on it.
  3. Pick the options you want. The text updates as you go.
  4. 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.