HTML to Plain Text
Strip tags and extract clean text from HTML — handles block elements, entities, and whitespace. 100% local.
Block elements and newline insertion
Before stripping tags, the converter inserts newlines at block boundaries so the plain text has structure. Then all remaining tags are removed, HTML entities are decoded, and runs of 3+ blank lines are collapsed to 2.
| HTML element | Plain text treatment |
|---|---|
| <br /> | Replaced with \n |
| </p> | Replaced with \n\n (paragraph break) |
| </div> | Replaced with \n |
| </li> | Replaced with \n |
| </h1> through </h6> | Replaced with \n\n |
| All other tags | Removed, no replacement |
HTML entity decoding
Five named entities are decoded: & → &, < → <, > → >, " → ", ' → ', → space. Numeric entities (— for em dash, etc.) and named entities beyond this set are not decoded and will appear as-is in the plain text output.
Warning: This converter does not execute JavaScript, resolve relative URLs, or apply CSS. HTML that renders differently based on styles — such as display:none elements or content inserted via pseudo-elements — will appear in the output as raw text.
Frequently Asked Questions
Your files stay on your computer. Dad promised.