HTML Escape/Unescape

Encode and decode HTML entities instantly. Convert special characters to HTML-safe entities and vice versa.

0
Input Characters
0
Output Characters
0%
Size Ratio

Why Use Our HTML Escape Tool?

Escape & Unescape

Switch between encoding and decoding modes instantly with one click.

100% Private

All processing happens in your browser. Your data never leaves your device.

Real-time Conversion

Instant conversion as you type. No delays, no server requests.

What are HTML Entities?

HTML entities are special characters used to display reserved characters in HTML that would otherwise be interpreted as code. They start with an ampersand (&) and end with a semicolon (;).

Common Use Cases:

  • Displaying HTML code snippets on web pages without rendering
  • Preventing XSS (Cross-Site Scripting) attacks by escaping user input
  • Displaying special symbols (©, ®, â„¢, €, £, Â¥) in web content
  • Safely embedding code examples in documentation

Common HTML Entities:

Character Entity Name Entity Number Description
& & & Ampersand
< &lt; &#60; Less than
> &gt; &#62; Greater than
" &quot; &#34; Double quote
' &apos; &#39; Single quote
&nbsp; &#160; Non-breaking space