HTML Entity Encoder & Decoder

HTML Entity Encoder & Decoder: Escape or unescape common HTML special characters.

HTML Entity Encoder & Decoder

HTML Entity Encoder & Decoder: Paste text to escape the five common HTML special characters, or decode supported named and numeric entities.

Loading the tool...

✓ Your inputs stay in this browser

How to use HTML Entity Encoder & Decoder

Paste text to escape the five common HTML special characters, or decode supported named and numeric entities.

Example

'<b>' becomes '&lt;b&gt;' after encoding.

What to know

Encoding helps place text within HTML content; it does not replace context-specific sanitization for untrusted scripts, attributes or URLs.