🏷 HTML Entity Encoder & Decoder

Encode or decode HTML entities. Convert characters like <, >, & to their entity equivalents and back. Essential for web developers working with HTML content.

Common HTML Entities

CharacterEntity NameEntity NumberDescription
<&lt;&#60;Less than
>&gt;&#62;Greater than
&&amp;&#38;Ampersand
"&quot;&#34;Double quote
'&apos;&#39;Single quote
&nbsp;&#160;Non-breaking space

Encoding is essential when displaying HTML code snippets on web pages. Without encoding, the browser would interpret <div> as an actual HTML element rather than displaying it as text.