HTML Encoder / Decoder
Encode & decode HTML entities · Free · Instant
html • input
html • encoded
Common HTML Entities
&
&
<
<
>
>
"
"
'
'
space
©
©
®
®
™
™
€
€
£
£
—
—
About HTML Encoding
HTML encoding converts special characters that have meaning in HTML into their entity equivalents. This prevents browsers from interpreting them as HTML tags. For example, < becomes < so it displays as a literal less-than sign rather than the start of a tag. This is essential for preventing XSS (Cross-Site Scripting) attacks when displaying user-generated content.