Loading...

HTML Entity Encoder & Decoder Online

Escape HTML special characters (<, >, &, ", ') into safe HTML entities (&lt;, &gt;, &amp;) to prevent XSS security bugs.

Key Technical Capabilities

  • Named & Numeric EntitiesSupports standard named entities (&copy;, &amp;) and hex codepoints (&#x26;).
  • XSS PreventionSafely escapes raw HTML for embedding into documentation and code blocks.

How to Escape HTML

  1. Paste HTMLInsert raw HTML markup.
  2. Copy EntitiesCopy escaped text strings.

Frequently Asked Questions

Does it handle quotes and apostrophes?
Yes, escapes &quot; and &#39; safely.