Html Encode


Please Enter text to be encoded





What is HTML Encoding

HTML format contains many unsafe characters which are unsafe to transfer to server. HTML Encoding converts potentially unsafe characters to their HTML-encoded equivalent. It converts unsafe characters to safe characters which are now ready to transfer to sever.

Below example shows Some of the unsafe characters with their conversion to safe characters

Unsafe Character HTML Encoded Characters
The less-than character (<) &nbsp;
The greater-than character (>) &gt;
The ampersand character (&) &amp;
The double-quote character (") &quot;.
Any ASCII code character whose code is greater-than or equal to 0x80 &#

Some sample :
"This is sample paragraph tag: <p>"
will be converted to
"This is sample paragraph tag: &lt;P&gt;"