HTML Entities Encoder/Decoder
Encode special characters to HTML entities or decode them back. Handles &, <, >, quotes, and all named/numeric entities.
Common HTML Entities
&
&
Ampersand
<
<
Less than
>
>
Greater than
"
"
Double quote
'
'
Single quote
Non-breaking space
©
©
Copyright
®
®
Registered
™
™
Trademark
—
—
Em dash
–
–
En dash
«
«
Left guillemet
»
»
Right guillemet
•
•
Bullet
…
…
Ellipsis
€
€
Euro
£
£
Pound
¥
¥
Yen
¢
¢
Cent
°
°
Degree
±
±
Plus-minus
×
×
Multiplication
÷
÷
Division
½
½
Half
¼
¼
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.