BytePane

HTML Entities Encoder/Decoder

Encode special characters to HTML entities or decode them back. Handles &, <, >, quotes, and all named/numeric entities.

Common HTML Entities

&
&amp;
Ampersand
<
&lt;
Less than
>
&gt;
Greater than
"
&quot;
Double quote
'
&#39;
Single quote
&nbsp;
Non-breaking space
©
&copy;
Copyright
®
&reg;
Registered
&trade;
Trademark
&mdash;
Em dash
&ndash;
En dash
«
&laquo;
Left guillemet
»
&raquo;
Right guillemet
&bull;
Bullet
&hellip;
Ellipsis
&euro;
Euro
£
&pound;
Pound
¥
&yen;
Yen
¢
&cent;
Cent
°
&deg;
Degree
±
&plusmn;
Plus-minus
×
&times;
Multiplication
÷
&divide;
Division
½
&frac12;
Half
¼
&frac14;
Quarter

Frequently Asked Questions

What are HTML entities?

HTML entities are special codes used to represent characters that have special meaning in HTML (like < and >) or characters not available on the keyboard. They start with & and end with ;

When should I encode HTML entities?

Always encode user-generated content displayed in HTML to prevent XSS attacks. Characters like <, >, &, and quotes must be encoded when used inside HTML tags or attributes.

Related Tools