HTML Entities Encoder and Decoder

Encode special characters as HTML entities or safely decode them back to text.

Which characters are encoded

Encoding transforms &, <, >, double quotes, and apostrophes. Other Unicode characters, including accents and emoji, remain unchanged because modern HTML supports UTF-8.

Safe decoding

The most common named HTML entities and decimal or hexadecimal numeric entities are recognized. Decoded output is always displayed as text, never as executable markup.

Explore all web development tools

Related tools