Strip HTML

Paste HTML and convert it to plain, decoded text. Works fully in your browser.

Examples (input → output)

Basic HTML
Input:
<p>Hello <strong>World</strong></p>
Output:
Hello World
Nested tags & attributes
Input:
<div class="card">Title: <span class="muted">New</span></div>
Output:
Title: New
Links and entities
Input:
<a href="https://example.com">Visit &amp; Learn</a>
Output:
Visit & Learn
Scripts and style tags
Input:
<script>alert('x')</script><p>Safe text</p>
Output:
Safe text

FAQ

  • Does my data leave my browser?
    No. Everything is processed locally in your browser; nothing is sent to a server.
  • Will scripts run?
    No. Using DOMParser prevents executing scripts — this tool only extracts text content.
  • Are HTML entities decoded?
    Yes — entities like &nbsp; and &amp; are decoded to their text equivalents.