HTML Entity Encoder / Decoder

Escape HTML-sensitive characters or decode common named and numeric entities.

Enter text to convert it.

Escape HTML characters

HTML entities represent characters such as ampersands and angle brackets in markup.

Encoding replaces ampersands, angle brackets, quotation marks, and apostrophes. Decoding supports common named entities and decimal or hexadecimal numeric entities.

When to use it

Escape plain text before placing it in an HTML text context, or inspect entity-encoded content.