HTML Entity Encoder/Decoder

Convert special characters to HTML entities and vice versa

Encode/Decode HTML Entities

Enter text to encode special characters or HTML entities to decode.

Encodes only essential HTML characters: & < > " '

0 characters
0 characters

About HTML Entities

HTML entities represent special characters that have meaning in HTML or cannot be easily typed. They can be named (e.g., &amp;), decimal (e.g., &#38;), or hexadecimal (e.g., &#x26;).

&amp; = &
&lt; = <
&gt; = >
&quot; = "
&copy; = ©
&euro; = €

What are HTML Entities?

HTML entities are special codes used to display reserved characters in HTML that would otherwise be interpreted as code.

For example, < becomes &lt; and & becomes &amp;. This prevents XSS attacks and ensures special characters display correctly in web pages.

Related Tools