← All tools

HTML Entity Encoder & Decoder

Encode HTML-sensitive text or decode one layer of character references locally, without rendering the result as markup.

html-entity-encoderLOCAL WORKSPACE

Your text stays in this browser. Input limit: 1 MiB; output limit: 8 MiB. 0 characters.

Not a sanitizer: the result is not safe for JavaScript, CSS, URLs, event handlers, or unquoted attributes.

Enter text, then choose encode or decode.

Common HTML entity lookup

A local selection of92 common names, not the full HTML5 table. Data checked: 2026-10-22 · WHATWG HTML

92 matches

CharacterNamedNumericCategoryCopy
&&&punctuation
<&lt;&#60;punctuation
>&gt;&#62;punctuation
"&quot;&#34;punctuation
'&apos;&#39;punctuation
 &nbsp;&#160;punctuation
–&ndash;&#8211;punctuation
—&mdash;&#8212;punctuation
‘&lsquo;&#8216;punctuation
’&rsquo;&#8217;punctuation
“&ldquo;&#8220;punctuation
”&rdquo;&#8221;punctuation
…&hellip;&#8230;punctuation
«&laquo;&#171;punctuation
»&raquo;&#187;punctuation
•&bull;&#8226;punctuation
·&middot;&#183;punctuation
¢&cent;&#162;currency
£&pound;&#163;currency
¤&curren;&#164;currency
¥&yen;&#165;currency
€&euro;&#8364;currency
±&plusmn;&#177;math
×&times;&#215;math
÷&divide;&#247;math
−&minus;&#8722;math
≠&ne;&#8800;math
≤&le;&#8804;math
≥&ge;&#8805;math
≈&asymp;&#8776;math
≡&equiv;&#8801;math
∞&infin;&#8734;math
√&radic;&#8730;math
∑&sum;&#8721;math
∏&prod;&#8719;math
∫&int;&#8747;math
°&deg;&#176;math
‰&permil;&#8240;math
¼&frac14;&#188;math
½&frac12;&#189;math
¾&frac34;&#190;math
¹&sup1;&#185;math
²&sup2;&#178;math
³&sup3;&#179;math
←&larr;&#8592;arrows
↑&uarr;&#8593;arrows
→&rarr;&#8594;arrows
↓&darr;&#8595;arrows
↔&harr;&#8596;arrows
↵&crarr;&#8629;arrows
⇐&lArr;&#8656;arrows
⇑&uArr;&#8657;arrows
⇒&rArr;&#8658;arrows
⇓&dArr;&#8659;arrows
⇔&hArr;&#8660;arrows
©&copy;&#169;symbols
®&reg;&#174;symbols
™&trade;&#8482;symbols
§&sect;&#167;symbols
&para;&#182;symbols
†&dagger;&#8224;symbols
‡&Dagger;&#8225;symbols
♥&hearts;&#9829;symbols
♣&clubs;&#9827;symbols
♠&spades;&#9824;symbols
♦&diams;&#9830;symbols
✓&check;&#10003;symbols
Á&Aacute;&#193;accents
á&aacute;&#225;accents
É&Eacute;&#201;accents
é&eacute;&#233;accents
Í&Iacute;&#205;accents
í&iacute;&#237;accents
Ó&Oacute;&#211;accents
ó&oacute;&#243;accents
Ú&Uacute;&#218;accents
ú&uacute;&#250;accents
Ñ&Ntilde;&#209;accents
ñ&ntilde;&#241;accents
Ä&Auml;&#196;accents
ä&auml;&#228;accents
Ö&Ouml;&#214;accents
ö&ouml;&#246;accents
Ü&Uuml;&#220;accents
ü&uuml;&#252;accents
Å&Aring;&#197;accents
å&aring;&#229;accents
Æ&AElig;&#198;accents
æ&aelig;&#230;accents
Ç&Ccedil;&#199;accents
ç&ccedil;&#231;accents
ß&szlig;&#223;accents

How to use this tool

Encode untrusted text for an HTML text or quoted-attribute context, or decode one layer to inspect copied source. Review the destination context before using the result.

When not to use it

This is not a sanitizer and does not make text safe for JavaScript, CSS, URLs, event handlers, or unquoted attributes.

Read the guide →