HTML Character Entities

Quick Reference of Character Codes for HTML Special Characters
Character Named Entity Decimal Hexadecimal
& - ampersand & & &
< - less than sign &lt; &#60; &#x3c;
> - greater than sign &gt; &#62; &#x3e;
" - double quotes &quot; &#34; &#x22;
' - apostrophe / single quote &apos; &#39; &#x27;

Note that even the frequently-used &nbsp; in not even included above. Instead, the easiest HTML code to use for non-breaking space is &#160;.

For all other special characters not in the list above, either include the declaration of the entity (ex: <!ENTITY nbsp "&#160;">) in the internal subset of the DOCTYPE declaration or, better yet, use the numeric character entity references shown in the following table, which is probably more widely supported:

Char. Instead of use (decimal) or (hex)
á &aacute; &#225; &#xe1;
Á &Aacute; &#193; &#xc1;
&abreve; &#259; &#x0103;
Ă &Abreve; &#258; &#x0102;
&ac; &#8766; &#x223e;
&acd; &#8767; &#x223f;
â &acirc; &#226; &#xe2;
 &Acirc; &#194; &#xc2;
´ &acute; &#180; &#xb4;
а &acy; &#1072; &#x0430;
А &Acy; &#1040; &#x0410;
æ &aelig; &#230; &#xe6;
Æ &AElig; &#198; &#xc6;
&af; &#8289; &#x2061;
𝔞 &afr; &#120094; &#x1d51e;
𝔄 &Afr; &#120068; &#x1d504;
à &agrave; &#224; &#xe0;
À &Agrave; &#192; &#xc0;
&alefsym; &#8501; &#x2135;
&aleph; &#8501; &#x2135;
α &alpha; &#945; &#x03b1;
Α &Alpha; &#913; &#x0391;
ā &amacr; &#257; &#x0101;
Ā &Amacr; &#256; &#x0100;
⨿ &amalg; &#10815; &#x2a3f;
& &AMP; &#38; &#x26;
&and; &#8743; &#x2227;
&And; &#x2a53;
&andand; &#x2a55;
&andd; &#x2a5c;
&andslope; &#x2a58;
&andv; &#x2a5a;
? &ang; &#8736; &#x2220;
&ange; &#x29a4;
? &angle; &#8736; &#x2220;
&angmsd; &#x2221;
&angmsdaa; &#x29a8;
&angmsdab; &#x29a9;
&angmsdac; &#x29aa;
&angmsdad; &#x29ab;
&angmsdae; &#x29ac;
&angmsdaf; &#x29ad;
&angmsdag; &#x29ae;
&angmsdah; &#x29af;
&angrt; &#x221f;
&angrtvb; &#x22be;
&angrtvbd; &#x299d;
&angsph; &#x2222;
&angst; &#x212b;
&angzarr; &#x237c;
&aogon; &#x0105;
&Aogon; &#x0104;
&aopf; &#x1d552;
&Aopf; &#x1d538;
˜ &ap; &#8776; &#x2248;
&apacir; &#x2a6f;
&ape; &#x224a;
&apE; &#x2a70;
&apid; &#x224b;
&ApplyFunction; &#x2061;
˜ &approx; &#8776; &#x2248;
&approxeq; &#x224a;
å &aring; &#229; &#xe5;
Å &Aring; &#197; &#xc5;
&ascr; &#x1d4b6;
&Ascr; &#x1d49c;
&Assign; &#x2254;
&ast; &#x2a;
˜ &asymp; &#8776; &#x2248;
&asympeq; &#x224d;
ã &atilde; &#227; &#xe3;
à &Atilde; &#195; &#xc3;
ä &auml; &#228; &#xe4;
Ä &Auml; &#196; &#xc4;
&awconint; &#x2233;
&awint; &#x2a11;
&backcong; &#x224c;
&backepsilon; &#x03f6;
&backprime; &#x2035;
&backsim; &#x223d;
&backsimeq; &#x22cd;
&Backslash; &#x2216;
&Barv; &#x2ae7;
&barvee; &#x22bd;
&barwed; &#x2305;
&Barwed; &#x2306;
&barwedge; &#x2305;
e &bbrk; &#949; &#x23b5;
? &bbrktbrk; &#950; &#x23b6;
&bcong; &#x224c;
&Bcy; &#x0411;
&bcy; &#x0431;
&bdquo; &#8222; &#x201e;
&becaus; &#x2235;
&because; &#x2235;
&Because; &#x2235;
&bemptyv; &#x29b0;
&bepsi; &#x03f6;
&bernou; &#x212c;
&Bernoullis; &#x212c;
ß &beta; &#946; &#x03b2;
? &Beta; &#914; &#x0392;
&beth; &#x2136;
&between; &#x226c;
&bfr; &#x1d51f;
&Bfr; &#x1d505;
&bigcap; &#x22c2;
&bigcirc; &#x25ef;
&bigcup; &#x22c3;
&bigodot; &#x2a00;
&bigoplus; &#x2a01;
&bigotimes; &#x2a02;
&bigsqcup; &#x2a06;
&bigstar; &#x2605;
&bigtriangledown; &#x25bd;
&bigtriangleup; &#x25b3;
&biguplus; &#x2a04;
&bigvee; &#x22c1;
&bigwedge; &#x22c0;
&bkarow; &#x290d;
&blacklozenge; &#x29eb;
&blacksquare; &#x25aa;
&blacktriangle; &#x25b4;
&blacktriangledown; &#x25be;
&blacktriangleleft; &#x25c2;
&blacktriangleright; &#x25b8;
&blank; &#x2423;
&blk12; &#x2592;
&blk14; &#x2591;
&blk34; &#x2593;
&block; &#x2588;
&bnot; &#x2310;
&bNot; &#x2aed;
&bopf; &#x1d553;
&Bopf; &#x1d539;
&bot; &#x22a5;
&bottom; &#x22a5;
&bowtie; &#x22c8;
&boxbox; &#x29c9;
&boxdl; &#x2510;
&boxdL; &#x2555;
&boxDl; &#x2556;
&boxDL; &#x2557;
&boxdr; &#x250c;
&boxdR; &#x2552;
&boxDr; &#x2553;
&boxDR; &#x2554;
&boxh; &#x2500;
&boxH; &#x2550;
&boxhd; &#x252c;
&boxhD; &#x2565;
&boxHd; &#x2564;
&boxHD; &#x2566;
&boxhu; &#x2534;
&boxHu; &#x2567;
&boxhU; &#x2568;
&boxHU; &#x2569;
&boxminus; &#x229f;
&boxplus; &#x229e;
&boxtimes; &#x22a0;
&boxul; &#x2518;
&boxuL; &#x255b;
&boxUl; &#x255c;
&boxUL; &#x255d;
&boxur; &#x2514;
&boxuR; &#x2558;
&boxUr; &#x2559;
&boxUR; &#x255a;
&boxv; &#x2502;
&boxV; &#x2551;
&boxvh; &#x253c;
&boxvH; &#x256a;
&boxVh; &#x256b;
&boxVH; &#x256c;
&boxvl; &#x2524;
&boxvL; &#x2561;
&boxVl; &#x2562;
&boxVL; &#x2563;
&boxvr; &#x251c;
&boxvR; &#x255e;
&boxVr; &#x255f;
&boxVR; &#x2560;
&bprime; &#x2035;
&breve; &#x02d8;
&Breve; &#x02d8;
¦ &brvbar; &#166; &#xa6;
&bscr; &#x1d4b7;
&Bscr; &#x212c;
&bsemi; &#x204f;
&bsim; &#x223d;
&bsime; &#x22cd;
&bsol; &#x5c;
&bsolb; &#x29c5;
&bull; &#8226; &#x2022;
&bullet; &#8226; &#x2022;
&bump; &#x224e;
&bumpe; &#x224f;
&bumpE; &#x2aae;
&bumpeq; &#x224f;
&Bumpeq; &#x224e;
&cacute; &#x0107;
&Cacute; &#x0106;
n &cap; &#8745; &#x2229;
&Cap; &#x22d2;
&capand; &#x2a44;
&capbrcup; &#x2a49;
&capcap; &#x2a4b;
&capcup; &#x2a47;
&capdot; &#x2a40;
&CapitalDifferentiald; &#x2145;
&caret; &#x2041;
&caron; &#x02c7;
&Cayleys; &#x212d;
&ccaps; &#x2a4d;
&ccaron; &#x010d;
&Ccaron; &#x010c;
ç &ccedil; &#231; &#xe7;
Ç &Ccedil; &#199; &#xc7;
&ccirc; &#x0109;
&Ccirc; &#x0108;
&Cconint; &#x2230;
&ccups; &#x2a4c;
&ccupssm; &#x2a50;
&Cdot; &#x010a;
&cdot; &#x010b;
¸ &cedil; &#184; &#xb8;
&Cedilla; &#xb8;
&cemptyv; &#x29b2;
¢ &cent; &#162; &#xa2;
&CenterDot; &#xb7;
&centerdot; &#xb7;
&cfr; &#x1d520;
&Cfr; &#x212d;
&CHcy; &#x0427;
&chcy; &#x0447;
&check; &#x2713;
&checkmark; &#x2713;
? &chi; &#967; &#x03c7;
? &Chi; &#935; &#x03a7;
&cir; &#x25cb;
ˆ &circ; &#710; &#x02c6;
&circeq; &#x2257;
&circlearrowleft; &#x21ba;
&circlearrowright; &#x21bb;
&circledast; &#x229b;
&circledcirc; &#x229a;
&circleddash; &#x229d;
&CircleDot; &#x2299;
&circledR; &#xae;
&circledS; &#x24c8;
&CircleMinus; &#x2296;
? &CirclePlus; &#8853; &#x2295;
&CircleTimes; &#x2297;
&cire; &#x2257;
&cirE; &#x29c3;
&cirfnint; &#x2a10;
&cirmid; &#x2aef;
&cirscir; &#x29c2;
&ClockwiseContourIntegral; &#x2232;
&CloseCurlyDoubleQuote; &#8221; &#x201d;
&CloseCurlyQuote; &#8217; &#x2019;
? &clubs; &#9827; &#x2663;
? &clubsuit; &#9827; &#x2663;
&colon; &#x3a;
&Colon; &#x2237;
&colone; &#x2254;
&Colone; &#x2a74;
&coloneq; &#x2254;
&comma; &#x2c;
&commat; &#x40;
&comp; &#x2201;
&compfn; &#x2218;
&complement; &#x2201;
&complexes; &#x2102;
? &cong; &#8773; &#x2245;
&congdot; &#x2a6d;
&Congruent; &#x2261;
&conint; &#x222e;
&Conint; &#x222f;
&ContourIntegral; &#x222e;
&copf; &#x1d554;
&Copf; &#x2102;
&coprod; &#x2210;
&Coproduct; &#x2210;
&COPY; &#xa9;
© &copy; &#169; &#xa9;
&copysr; &#x2117;
&CounterClockwiseContourIntegral; &#x2233;
? &crarr; &#8629; &#x21b5;
&cross; &#x2717;
&Cross; &#x2a2f;
&Cscr; &#x1d49e;
&cscr; &#x1d4b8;
&csub; &#x2acf;
&csube; &#x2ad1;
&csup; &#x2ad0;
&csupe; &#x2ad2;
&ctdot; &#x22ef;
&cudarrl; &#x2938;
&cudarrr; &#x2935;
&cuepr; &#x22de;
&cuesc; &#x22df;
&cularr; &#x21b6;
&cularrp; &#x293d;
? &cup; &#8746; &#x222a;
&Cup; &#x22d3;
&cupbrcap; &#x2a48;
&cupcap; &#x2a46;
&CupCap; &#x224d;
&cupcup; &#x2a4a;
&cupdot; &#x228d;
&cupor; &#x2a45;
&curarr; &#x21b7;
&curarrm; &#x293c;
&curlyeqprec; &#x22de;
&curlyeqsucc; &#x22df;
&curlyvee; &#x22ce;
&curlywedge; &#x22cf;
¤ &curren; &#164; &#xa4;
&curvearrowleft; &#x21b6;
&curvearrowright; &#x21b7;
&cuvee; &#x22ce;
&cuwed; &#x22cf;
&cwconint; &#x2232;
&cwint; &#x2231;
&cylcty; &#x232d;
&dagger; &#8224; &#x2020;
&Dagger; &#8225; &#x2021;
&daleth; &#x2138;
&Darr; &#x21a1;
? &darr; &#8595; &#x2193;
? &dArr; &#8659; &#x21d3;
&dash; &#x2010;
&dashv; &#x22a3;
&Dashv; &#x2ae4;
&dbkarow; &#x290f;
&dblac; &#x02dd;
&Dcaron; &#x010e;
&dcaron; &#x010f;
&Dcy; &#x0414;
&dcy; &#x0434;
&DD; &#x2145;
&dd; &#x2146;
&ddagger; &#8225; &#x2021;
&ddarr; &#x21ca;
&DDotrahd; &#x2911;
&ddotseq; &#x2a77;
° &deg; &#176; &#xb0;
? &Del; &#8711; &#x2207;
d &delta; &#948; &#x03b4;
? &Delta; &#916; &#x0394;
&demptyv; &#x29b1;
&dfisht; &#x297f;
&Dfr; &#x1d507;
&dfr; &#x1d521;
&dHar; &#x2965;
&dharl; &#x21c3;
&dharr; &#x21c2;
&DiacriticalAcute; &#xb4;
&DiacriticalDot; &#x02d9;
&DiacriticalDoubleacute; &#x02dd;
&DiacriticalGrave; &#x60;
˜ &DiacriticalTilde; &#732; &#x02dc;
&diam; &#x22c4;
&diamond; &#x22c4;
&Diamond; &#x22c4;
? &diamondsuit; &#9830; &#x2666;
? &diams; &#9830; &#x2666;
&die; &#xa8;
&DifferentialD; &#x2146;
&digamma; &#x03dd;
&disin; &#x22f2;
÷ &div; &#247; &#xf7;
÷ &divide; &#247; &#xf7;
&divideontimes; &#x22c7;
&divonx; &#x22c7;
&DJcy; &#x0402;
&djcy; &#x0452;
&dlcorn; &#x231e;
&dlcrop; &#x230d;
&dollar; &#x24;
&Dopf; &#x1d53b;
&dopf; &#x1d555;
&dot; &#x02d9;
&Dot; &#xa8;
&DotDot; &#x20dc;
&doteq; &#x2250;
&doteqdot; &#x2251;
&DotEqual; &#x2250;
&dotminus; &#x2238;
&dotplus; &#x2214;
&dotsquare; &#x22a1;
&doublebarwedge; &#x2306;
&DoubleContourIntegral; &#x222f;
&DoubleDot; &#xa8;
? &DoubleDownArrow; &#8659; &#x21d3;
? &DoubleLeftArrow; &#8656; &#x21d0;
? &DoubleLeftRightarrow; &#8660; &#x21d4;
&DoubleLeftTee; &#x2ae4;
&DoubleLongLeftarrow; &#x27f8;
&DoubleLongLeftRightarrow; &#x27fa;
&DoubleLongRightarrow; &#x27f9;
? &DoubleRightArrow; &#8658; &#x21d2;
&DoubleRightTee; &#x22a8;
? &DoubleUpArrow; &#8657; &#x21d1;
&DoubleUpDownArrow; &#x21d5;
&DoubleVerticalBar; &#x2225;
? &DownArrow; &#8595; &#x2193;
? &downarrow; &#8595; &#x2193;
? &Downarrow; &#8659; &#x21d3;
&DownArrowBar; &#x2913;
&DownArrowUpArrow; &#x21f5;
&DownBreve; &#x0311;
&downdownarrows; &#x21ca;
&downharpoonleft; &#x21c3;
&downharpoonright; &#x21c2;
&DownLeftRightVector; &#x2950;
&DownLeftTeeVector; &#x295e;
&DownLeftVector; &#x21bd;
&DownLeftVectorBar; &#x2956;
&DownRightTeeVector; &#x295f;
&DownRightVector; &#x21c1;
&DownRightVectorBar; &#x2957;
&DownTee; &#x22a4;
&DownTeeArrow; &#x21a7;
&drbkarow; &#x2910;
&drcorn; &#x231f;
&drcrop; &#x230c;
&dscr; &#x1d4b9;
&Dscr; &#x1d49f;
&dscy; &#x0455;
&DScy; &#x0405;
&dsol; &#x29f6;
&dstrok; &#x0111;
&Dstrok; &#x0110;
&dtdot; &#x22f1;
&dtri; &#x25bf;
&dtrif; &#x25be;
&duarr; &#x21f5;
&duhar; &#x296f;
&dwangle; &#x29a6;
&dzcy; &#x045f;
&DZcy; &#x040f;
&dzigrarr; &#x27ff;
É &Eacute; &#201; &#xc9;
é &eacute; &#233; &#xe9;
&easter; &#x2a6e;
&Ecaron; &#x011a;
&ecaron; &#x011b;
&ecir; &#x2256;
Ê &Ecirc; &#202; &#xca;
ê &ecirc; &#234; &#xea;
&ecolon; &#x2255;
&Ecy; &#x042d;
&ecy; &#x044d;
&eDDot; &#x2a77;
&edot; &#x0117;
&eDot; &#x2251;
&Edot; &#x0116;
&ee; &#x2147;
&efDot; &#x2252;
&efr; &#x1d522;
&Efr; &#x1d508;
&eg; &#x2a9a;
è &egrave; &#232; &#xe8;
È &Egrave; &#200; &#xc8;
&egs; &#x2a96;
&egsdot; &#x2a98;
&el; &#x2a99;
&elinters; &#x23e7;
&ell; &#x2113;
&els; &#x2a95;
&elsdot; &#x2a97;
&emacr; &#x0113;
&Emacr; &#x0112;
Ø &empty; &#8709; &#x2205;
Ø &emptyset; &#8709; &#x2205;
&EmptySmallSquare; &#x25fb;
Ø &emptyv; &#8709; &#x2205;
&EmptyVerySmallSquare; &#x25ab;
&emsp13; &#x2004;
&emsp14; &#x2005;
&emsp; &#8195; &#x2003;
&emsp13; &#x2004;
&emsp14; &#x2005;
&ENG; &#x014a;
&eng; &#x014b;
&ensp; &#8194; &#x2002;
&eogon; &#x0119;
&Eogon; &#x0118;
&Eopf; &#x1d53c;
&eopf; &#x1d556;
&epar; &#x22d5;
&eparsl; &#x29e3;
&eplus; &#x2a71;
&epsi; &#x03f5;
e &epsilon; &#949; &#x03b5;