• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
logo Online Tools
1 Comments Favorite Copy Link Share

HTML Encode / Decode Online


HTML Encode / Decode Online-summary

HTML encoding and decoding tool, providing HTML entity online Decode and Encode functions. This tool supports encoding reserved characters in HTML into HTML character entities, and converting HTML character entities into corresponding characters.

HTML Encode / Decode Online-instructions

What is HTML entity

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), and invisible characters (like non-breaking spaces). You can also use them in place of other characters that are difficult to type with a standard keyboard.
A numeric character reference refers to a character by its Universal Character Set/Unicode code point, and uses the format:
&#nnnn;(decimal format)
or
&#xhhhh;(hex format)
where nnnn is the code point in decimal form, and hhhh is the code point in hexadecimal form. The x must be lowercase in XML documents. The nnnn or hhhh may be any number of digits and may include leading zeros. The hhhh may mix uppercase and lowercase, though uppercase is the usual style. In contrast, a character entity reference refers to a character by the name of an entity which has the desired character as its replacement text. The entity must either be predefined (built into the markup language) or explicitly declared in a Document Type Definition (DTD). The format is the same as for any entity reference:
&name;
where name is the case-sensitive name of the entity. The semicolon is required, unless marked otherwise in the table below.

HTML reserved characters

Display Names Description Unicode code point(decimal)
< &lt; less-than sign &#60;
> &gt; greater-than sign &#62;
& &amp; ampersand &#38;
" &quot; quotation mark &#34;

HTML common character entity references

HTML entity names are case sensitive

Display Names Description Unicode code point(decimal)
  &nbsp; space &#160;
< &lt; less-than sign &#60;
= &equals; equals sign &#61;
> &gt; greater-than sign &#62;
& &amp; ampersand &#38;
" &quot; quotation mark &#34;
' &apos; apostrophe &#39;
$ &dollar; dollar sign &#36;
£ &pound; pound sign &#163;
¥ &yen; yuan sign &#165;
&euro; euro sign &#8364;
© &copy; copyright sign &#169;
® &reg; registered sign &#174;
&trade; trademark symbol &#8482;
¢ &cent; cent sign &#162;