HTML Entity Encoder / Decoder
Encode special characters to HTML entities or decode HTML entities back to characters.
Plain Text / HTML0 chars
Encoded Entities
Common HTML Entities Reference
Character
Entity
Code
Description
&
&
&
Ampersand
<
<
<
Less than
>
>
>
Greater than
"
"
"
Double quote
'
'
'
Single quote
(space)
 
Non-breaking space
©
©
©
Copyright
®
®
®
Registered
™
™
™
Trademark
–
–
–
En dash
—
—
—
Em dash
€
€
€
Euro
£
£
£
Pound
¥
¥
¥
Yen
How to Encode and Decode HTML Entities Online
- 1.Select Encode or Decode.
- 2.Paste or type your input. Results update in real time.
- 3.Use Swap Input/Output to flip.
- 4.Click Copy to copy the result.
- 5.Refer to the reference table for common entities.
Frequently Asked Questions
Named vs numeric HTML entities?
Named entities use human-readable names like &. Numeric entities use code points like &.
Why encode HTML entities?
Characters like <, >, & have special meaning in HTML. Encoding prevents rendering issues and XSS.
Does this support Unicode?
Yes. Non-ASCII characters are converted to hex Unicode entities like €.
Is my data sent to a server?
No. All processing runs entirely in your browser.