HTML Entity Encoder & Decoder

Escape reserved HTML characters to prevent rendering issues or decode HTML entities back to raw text.

Ready to process.

What are HTML Entities?

An HTML Entity is a piece of text ("string") that starts with an ampersand (&) and ends with a semicolon (;). Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code) or invisible characters (like non-breaking spaces).

Common HTML Entities Reference:

Character Entity Name Entity Number (Decimal) Description
< &lt; &#60; Less than sign
> &gt; &#62; Greater than sign
& &amp; &#38; Ampersand
" &quot; &#34; Double quotation mark
' &apos; &#39; Single quotation mark (Apostrophe)