Skip to content

HTML to text

Extract the readable text from HTML, without tags, scripts or styles, with optional link URLs. Runs in your browser.

AvailableIn your browserInput: Text

How to use: HTML to text

  1. Paste the HTML or load a file.
  2. Optionally show each link's address.
  3. Copy or download the clean text.

What it accepts and what you get

Input
HTML up to 2 million characters.
Output
The visible text with headings, paragraphs, lists and tab-separated tables.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • Tags, styles, scripts and images are discarded.
  • Content a website loads with JavaScript is not in the HTML and does not appear.

Frequently asked questions

How do I get clean text out of HTML code?

Paste the HTML or load the file, choose whether to show each link's address, and copy or download the visible text.

Why is some content from my site missing?

Anything a site loads with JavaScript is not in the original HTML, so it does not appear. Tags, styles, scripts and images are dropped.

When to use it

  • When you need the visible text of an HTML page without tags.
  • To clean an email or a piece of web before pasting it.

Examples

Without tags
Paste the HTML and copy the clean text with its headings and paragraphs.
With links
Turn on showing each link's address so you do not lose them.

Common mistakes

  • Expecting content a website loads with JavaScript: it is not in the HTML and does not appear.
  • Looking for images: they are discarded.

Suggested next steps