HTML Entity Encoder/Decoder
Encode and decode HTML entities with our free online tool
About HTML Entities
HTML entities are used to display reserved characters in HTML. For example, to display a less than sign (<) we need to write: <
or <
.
Common Entities:
< = <
> = >
& = &
Number Formats:
Decimal: ©
Hex: ©
Both represent ©
Usage:
Prevent XSS attacks
Display special chars
Ensure proper rendering
Features
Encode/Decode
Convert between text and HTML entities in both directions with a single click.
Multiple Formats
Support for named entities, decimal, and hexadecimal encoding formats.
Live Update
See changes in real-time as you type with the live update feature.