HTML to Text Converter
Strip HTML to readable plain text, keeping paragraph breaks and list markers, and optionally the link targets.
Strip HTML down to readable plain text, keeping paragraph breaks, list markers and optionally link targets.
Plain text
Words
0
Characters
0
Script, style and template contents are removed rather than flattened into the text, which is the usual reason a naive tag strip produces a page full of JavaScript.
Generating...About the html to text converter
Stripping tags with a search and replace produces a wall of text with no paragraphs and, worse, the entire contents of every script tag mixed into it. That is the single most common failure of a naive tag stripper.
This parses the markup properly, removes script, style and template contents rather than flattening them, and keeps the block structure so paragraphs and list items still read as separate things.
How to use it
- 1Paste your HTML.
- 2Decide whether to keep link targets and list markers.
- 3Copy the plain text.
Questions
Why does a simple tag strip include JavaScript?
Because the code inside a script tag is text content. Removing only the tags leaves the code behind. This removes those elements entirely.
Are paragraph breaks kept?
Yes. Block elements produce line breaks, so paragraphs, headings and list items stay separated instead of running together.
What happens to images?
An image with alt text becomes [image: the alt text], since that is the only meaning it carries in plain text. Images without alt are dropped.
What is this useful for?
Plain text email versions, word counts on real content, feeding clean text into another tool, and checking what a screen reader or a search engine sees.