HTML Escape converts HTML markup so that it can be displayed in an HTML web page.
It replaces all of the <, >, and & characters with <, >, and &. 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.
HTML | Escape |
---|---|
< | < |
> | > |
& | & |
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.