HTML escaper
Escape text before showing it as plain content in HTML.
Replace HTML-sensitive characters with entities.
About this tool
The HTML escaper replaces characters such as angle brackets, ampersands, and quotation marks with HTML entities. This lets a browser display markup-like text instead of treating it as page content. Use it to show an HTML example in documentation, prepare a safe code snippet, or inspect how user text should appear in a page. Escaping helps with output safety, but applications must still use the correct context when inserting untrusted data.