HTML Entity Encoder

Escape & Unescape HTML Tags

Result

Why Encode HTML Entities?

If you paste raw HTML code like <div> into a website comments section or a blog post, the browser will try to render it as an actual element. To display the code itself, you must convert the special characters into HTML Entities.

Common Conversions

Character Entity Name Usage
< &lt; Opening Bracket
> &gt; Closing Bracket
& &amp; Ampersand

Related Tools