HTML to Plain Text

Safely extract readable text from HTML without executing scripts or requesting remote resources.

0 / 200,000

How to use

Paste an HTML document or fragment. Structural elements become line breaks, list items become bullets, and script/style content is ignored.

Example

Input
<h1>Hello</h1><p>Safe <strong>text</strong>.</p><script>alert(1)</script>
Output
Hello Safe text.

Limitations

This is text extraction, not a visual browser rendering. CSS-generated text, complex table layout, and accessibility-name computation are not reproduced.

Frequently Asked Questions

Can pasted scripts run?

No. HTML is parsed as data with parse5; scripts and active content are never executed.

Will it download images?

No. No network resources are loaded; image alt text is retained when available.