HTML to Text Converter
Strip tags and keep the readable content.
HTML
Plain text
About the HTML to Text converter
Sometimes you just want the words. This converter removes every tag, decodes entities, and keeps the line breaks that make the result readable.
Unlike a naive regular expression, it drops the contents of `script` and `style` elements rather than dumping JavaScript into your text.
How spacing is decided
Block elements — paragraphs, headings, list items, table rows — end with a line break. Inline elements do not. Runs of whitespace collapse to single spaces, the same way a browser renders them.
List items are prefixed with a bullet so the structure survives in plain text.
Frequently asked questions
Will links be kept?
The link text is kept, the URL is not. Use HTML to Markdown if you need both.
Is this good for extracting an email body?
Yes, that is a common use. Paste the HTML part of the message to get a readable plain-text version.