HTML Escape

Encode and decode HTML entity characters

Input/Output Text

💡 What is HTML Escaping?

HTML Escape是将 HTML 预留字符Convert为 HTML 实体。例如,将 `<` Convert为 `&lt;`。

This is commonly used to safely display code snippets on web pages, preventing the browser from parsing them as actual HTML tags, or to prevent XSS attacks.

< → &lt;
> → &gt;
& → &amp;
" → &quot;