Skip to main content

Escaping HTML

To facilitate the embedding of code examples into web pages. Replacing the characters: < > and & with HTML entities: &lt; &gt; and &amp;

Mike Foskett - (incept: )

Replace the characters which lead to incorrect interpretation of HTML markup, and conveniently copy the result to the clipboard.

Please note: This tool is not intended as a prevention of cross-site scripting on inputs. It is purely for the displaying of code examples in your web pages.