Strip HTML tags
Paste HTML, get the plain text back. The "Strip HTML tags" step is already queued up below.
Your text never leaves your browser.
Pipeline
Add one or more steps below. They run top to bottom, live, and you can reorder or remove any of them.
No steps yet — add one above, or try an example that already has a few queued up.
Result
Why this is safe to paste untrusted markup into
Stripping HTML by inserting it into a live element and reading back its text — the shortcut several other tools take — means the browser parses and can execute whatever you pasted first. This tool never does that. It scans the text for tag syntax and removes it directly, the same way you'd read the markup rather than render it, so a pasted <script>tag has its contents deleted along with the tag rather than being executed.
HTML entities (&, ’, and the like) are decoded afterward, so "Tom & Jerry" comes back as "Tom & Jerry" rather than left with the raw entity in place. Comments are dropped, and the contents of <script>and <style> tags are removed along with their tags rather than left behind as stray text.
Reaching for Markdown instead
If your source is Markdown rather than HTML — a README, a doc exported from a wiki — add the "Strip Markdown formatting" step instead (or as well): it removes headings, emphasis, links, and code markup the same way, tuned for Markdown's syntax rather than HTML's.