HTML Entity Encode/Decode

Escape or unescape HTML entities in text.

0 characters
0 characters

Frequently asked questions

Why escape HTML entities?

So text containing characters like <, > and & displays literally instead of being interpreted as HTML markup β€” important when rendering user-submitted text safely on a web page.

Which characters get escaped?

The five predefined XML/HTML entities: &, <, >, " and ' become &amp;, &lt;, &gt;, &quot; and &#39;.