HTML entity encoder

An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon (;). Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code)
source: MDN

encode mode  

Notations

char name numeric
     
< &lt; &#60;
> &gt; &#62;
& &amp; &#38;
" &quot; &#34;
' &apos; &#39;

Use case

Store a quote based smiley in value

<input type="text" value="hello "-"" />

Tools