HTML Entity Decoder & Encoder

HTML entities represent special characters using escape sequences. Named entities use &name; format: &amp; for &, &lt; for <, &gt; for >, &copy; for the copyright symbol. Numeric entities use &#number; (decimal) or &#xHEX; (hexadecimal). Decoding converts entities back to readable characters. Encoding prevents HTML injection and ensures special characters display correctly in web pages.

Decode HTML entities to readable text or encode special characters as HTML entities. Handles named entities (&amp;, &lt;, &copy;), numeric (&#169;), and hex (&#xA9;) formats. Minimal and full encoding modes. Reference table of 18 common entities.

Presets

Mode

Encoded HTML Input

Common HTML Entities

EntityCharacterNameNumeric
&amp;&Ampersand&#38;
&lt;<Less than&#60;
&gt;>Greater than&#62;
&quot;"Double quote&#34;
&apos;'Apostrophe&#39;
&nbsp; Non-breaking space&#160;
&copy;©Copyright&#169;
&reg;®Registered&#174;
&trade;Trademark&#8482;
&mdash;Em dash&#8212;
&ndash;En dash&#8211;
&euro;Euro sign&#8364;
&pound;£Pound sign&#163;
&yen;¥Yen sign&#165;
&hellip;Ellipsis&#8230;
&laquo;«Left guillemet&#171;
&raquo;»Right guillemet&#187;
&bull;Bullet&#8226;

How to Use

  1. Enter your value in the input field
  2. Click the Calculate/Convert button
  3. Copy the result to your clipboard

Related Tools