HTML ESCAPE

HTML Escape converts HTML markup so that it can be displayed in an HTML web page. It replaces all of the <, >, and & characters with &lt;, &gt;, and &amp;. I've done this too many times by hand and wrote this web page to help out. Paste the HTML markup in the HTML Markup box and click the HTML Escape button. The window named Escaped HTML Markup contains the escaped HTML markup and can be pasted into an HTML document inside of pre tags.

HTMLEscape
<&lt;
>&gt;
&&amp;

In addition, the syntax highlighted markup is shown using the W3schools highlighter. Cut and paste the text in the Syntax Highlighted HTML Markup window for color syntax highlighting without javascript.

HTML Markup:

⎘ Copy

Escaped HTML Markup:

⎘ Copy


Display Escaped HTML Markup:

⎘ Copy

Escaped HTML Markup Showing the Escape Sequences:

⎘ Copy


Display Escaped HTML Markup Showing the Escape Sequences:

⎘ Copy

Syntax Highlighted HTML Markup:

⎘ Copy

Display HTML Syntax Highlighted Markup

⎘ Copy