Escape HTML

Escaping special symbols with HTML codes for highlighting

When you are trying to highlight some code that contains special characters, this can mess up your markup. So you need to escape some characters first, for example replace all < and > with &lt; and &gt;.

Paste the source code to the left area and escaped result will appear in the right area automatically.

The source code
Escaped result

This page was created in addition to post in Declaration of VAR