Show markup as text
Escape reserved characters to display a piece of markup as text. Choose named, decimal or hexadecimal entities. The result is always shown as text here, so pasting a script does not execute it.
A worked example
The opening angle bracket becomes < in named mode, < in decimal mode, or < in hexadecimal mode.
Before you use the result
Escaping HTML is not a general security fix for JavaScript, CSS or URLs. Each context has its own escaping rules. Decoding reveals markup; do not insert it into a live page unless you trust it. For a query-string value, use URL component encoding.