HTML to Plain Text
Get the readable text out of HTML, without tags, entities or code.
- Runs in your browser
- No uploads
- No account
Loading your browser tool…
What HTML to Plain Text does
Sometimes you need the words without the markup: the text of a web page for a video script, the plain-text part of an HTML email, or copy pulled from a CMS export for translation or review. Paste the HTML and the converter returns readable text with paragraphs separated by blank lines.
Entities such as & and turn back into the characters they stand for. Turn on Keep link URLs in parentheses when readers need the addresses, as in the text version of an email.
Example
Input
<h1>Shortcuts</h1><ul><li>Start: <kbd>Ctrl</kbd>+<kbd>R</kbd></li><li>Stop: <a href="/help/stop">Esc</a></li></ul><table><tr><th>Key</th><th>Action</th></tr><tr><td>P</td><td>Pause</td></tr></table><style>p{}</style>Result
Shortcuts - Start: Ctrl+R - Stop: Esc Key Action P Pause
The style block produces nothing, and the link keeps only its text because Keep link URLs in parentheses is off by default.
How to use HTML to Plain Text
- Paste HTML into the HTML box, or click Open file to load an .html file.
- Turn on Keep link URLs in parentheses if you want the addresses; Keep image descriptions is under More options.
- Click Copy, or Download .txt.
Good to know
- Text hidden with CSS, such as collapsed menus or screen-reader-only labels, is still included, because styles aren't applied.
- Buttons and form fields are left out, so labels like Sign up on a button disappear.
- It works on HTML you paste, not on a web address. To get a page's text, copy its source or the article element first.
- For Markdown input, Markdown to Plain Text gives the same kind of result.
Questions about HTML to Plain Text
How do I convert an HTML email to plain text?
Open the email's HTML source, paste it here and turn on Keep link URLs in parentheses so readers of the text version can still find each link. Copy the result into the plain-text part of your email tool.
How do I get the text of a web page without the HTML?
View the page source or inspect the main content in your browser, copy its HTML and paste it here. You get the text with paragraphs and lists intact. Copying only the article avoids menus and footers.
Why do images show as [Image: …]?
Images with alt text are kept as a short description so you know a picture was there. Turn off Keep image descriptions in More options to drop them. Images without alt text are left out either way.