Skip to content
Tutorials Center
My learning

Topics

HTML Reference · Characters and Codes

HTML Character Entities

HTML character entity reference: reserved characters, spaces, quotes, currency, math, arrows, Greek and accented letters with named, decimal and hex codes.

A character reference lets you write a character in HTML by its name or number instead of typing it. You need one for the few characters that HTML treats as syntax (< and & above all), and it is handy for characters that are invisible, hard to type or easy to confuse, such as a no-break space or an en dash.

Every reference starts with & and ends with ;. There are three forms, and all three produce the same character:

HTML
<p>&copy; 2026</p>    <!-- named reference -->
<p>&#169; 2026</p>    <!-- decimal code point -->
<p>&#xA9; 2026</p>    <!-- hexadecimal code point -->

Numeric references work for every Unicode character. Named references cover only about 1,500 characters (some have several names), and names are case-sensitive: &Eacute; is É, &eacute; is é. Characters without a name in the tables below show a dash in the Named column.

If your page is saved and served as UTF-8 (it should be), you can type most of these characters directly, such as é, € or →. References are only required for < and & in text and for the quote character that matches an attribute's delimiter.

Try it

Character reference converter

Reference tables

Reserved characters

Character Named Decimal Hex Description
& &amp; &#38; &#x26; Ampersand; starts every character reference
< &lt; &#60; &#x3C; Less-than sign; opens a tag
> &gt; &#62; &#x3E; Greater-than sign; closes a tag
" &quot; &#34; &#x22; Straight double quote; ends a double-quoted attribute
' &apos; &#39; &#x27; Straight single quote (apostrophe); ends a single-quoted attribute

Spaces and invisible characters

Character Named Decimal Hex Description
(space) &nbsp; &#160; &#xA0; No-break space: a space that never wraps to a new line
(space) &ensp; &#8194; &#x2002; En space (half an em wide)
(space) &emsp; &#8195; &#x2003; Em space (as wide as the font size)
(space) &emsp13; &#8196; &#x2004; Three-per-em space (one third of an em)
(space) &emsp14; &#8197; &#x2005; Four-per-em space (one quarter of an em)
(space) &numsp; &#8199; &#x2007; Figure space (as wide as a digit)
(space) &puncsp; &#8200; &#x2008; Punctuation space (as wide as a period)
(space) &thinsp; &#8201; &#x2009; Thin space
(space) &hairsp; &#8202; &#x200A; Hair space (the narrowest space)
(space) &MediumSpace; &#8287; &#x205F; Medium mathematical space
(invisible) &ZeroWidthSpace; &#8203; &#x200B; Zero-width space: an invisible line-break opportunity
(invisible) &zwnj; &#8204; &#x200C; Zero-width non-joiner: keeps neighbors from joining
(invisible) &zwj; &#8205; &#x200D; Zero-width joiner: joins neighbors (used in emoji sequences)
(invisible) &NoBreak; &#8288; &#x2060; Word joiner: invisible, prevents a line break
(invisible) &shy; &#173; &#xAD; Soft hyphen: shown only if the word breaks there
(invisible) &lrm; &#8206; &#x200E; Left-to-right mark (invisible direction hint)
(invisible) &rlm; &#8207; &#x200F; Right-to-left mark (invisible direction hint)
(invisible) &Tab; &#9; &#x09; Character tabulation (tab)
(invisible) &NewLine; &#10; &#x0A; Line feed (new line)

Punctuation and quotation marks

Character Named Decimal Hex Description
‘ &lsquo; &#8216; &#x2018; Left single curly quote
’ &rsquo; &#8217; &#x2019; Right single curly quote; also the typographic apostrophe
‚ &sbquo; &#8218; &#x201A; Single low-9 quote (opening quote in German and others)
“ &ldquo; &#8220; &#x201C; Left double curly quote
” &rdquo; &#8221; &#x201D; Right double curly quote
„ &bdquo; &#8222; &#x201E; Double low-9 quote („ opening quote)
« &laquo; &#171; &#xAB; Left-pointing double angle quote (guillemet)
» &raquo; &#187; &#xBB; Right-pointing double angle quote (guillemet)
‹ &lsaquo; &#8249; &#x2039; Single left-pointing angle quote
› &rsaquo; &#8250; &#x203A; Single right-pointing angle quote
‐ &hyphen; &#8208; &#x2010; Unambiguous hyphen
– &ndash; &#8211; &#x2013; En dash: ranges such as 9–5
— &mdash; &#8212; &#x2014; Em dash: a break in a sentence
― &horbar; &#8213; &#x2015; Horizontal bar (quotation dash)
… &hellip; &#8230; &#x2026; Horizontal ellipsis
‥ &nldr; &#8229; &#x2025; Two-dot leader
• &bull; &#8226; &#x2022; Bullet
· &middot; &#183; &#xB7; Middle dot
′ &prime; &#8242; &#x2032; Prime: feet, minutes
″ &Prime; &#8243; &#x2033; Double prime: inches, seconds
¡ &iexcl; &#161; &#xA1; Inverted exclamation mark (Spanish)
¿ &iquest; &#191; &#xBF; Inverted question mark (Spanish)
§ &sect; &#167; &#xA7; Section sign
&para; &#182; &#xB6; Pilcrow (paragraph sign)
† &dagger; &#8224; &#x2020; Dagger: footnote marker
‡ &Dagger; &#8225; &#x2021; Double dagger: second footnote marker
‾ &oline; &#8254; &#x203E; Overline
⁄ &frasl; &#8260; &#x2044; Fraction slash
! &excl; &#33; &#x21; Exclamation mark
# &num; &#35; &#x23; Number sign (hash)
% &percnt; &#37; &#x25; Percent sign
* &ast; &#42; &#x2A; Asterisk
, &comma; &#44; &#x2C; Comma
. &period; &#46; &#x2E; Full stop (period)
: &colon; &#58; &#x3A; Colon
; &semi; &#59; &#x3B; Semicolon
? &quest; &#63; &#x3F; Question mark
@ &commat; &#64; &#x40; Commercial at
( &lpar; &#40; &#x28; Left parenthesis
) &rpar; &#41; &#x29; Right parenthesis
[ &lsqb; &#91; &#x5B; Left square bracket
] &rsqb; &#93; &#x5D; Right square bracket
{ &lcub; &#123; &#x7B; Left curly brace
} &rcub; &#125; &#x7D; Right curly brace
/ &sol; &#47; &#x2F; Solidus (forward slash)
\ &bsol; &#92; &#x5C; Reverse solidus (backslash)
| &verbar; &#124; &#x7C; Vertical line (pipe)
_ &lowbar; &#95; &#x5F; Low line (underscore)
` &grave; &#96; &#x60; Grave accent (backtick)
^ &Hat; &#94; &#x5E; Circumflex accent (caret)

Currency symbols

Character Named Decimal Hex Description
$ &dollar; &#36; &#x24; Dollar sign
¢ &cent; &#162; &#xA2; Cent sign
£ &pound; &#163; &#xA3; Pound sign
€ &euro; &#8364; &#x20AC; Euro sign
¥ &yen; &#165; &#xA5; Yen and yuan sign
¤ &curren; &#164; &#xA4; Generic currency sign
ƒ &fnof; &#402; &#x192; Latin small f with hook; the florin sign
₹ – &#8377; &#x20B9; Indian rupee sign
₩ – &#8361; &#x20A9; Won sign (Korea)
₪ – &#8362; &#x20AA; New shekel sign (Israel)
₫ – &#8363; &#x20AB; Dong sign (Vietnam)
₱ – &#8369; &#x20B1; Peso sign (Philippines)
₺ – &#8378; &#x20BA; Turkish lira sign
₽ – &#8381; &#x20BD; Ruble sign
₴ – &#8372; &#x20B4; Hryvnia sign (Ukraine)
₦ – &#8358; &#x20A6; Naira sign (Nigeria)
₼ – &#8380; &#x20BC; Manat sign (Azerbaijan)
₾ – &#8382; &#x20BE; Lari sign (Georgia)
₸ – &#8376; &#x20B8; Tenge sign (Kazakhstan)
฿ – &#3647; &#xE3F; Baht sign (Thailand)
₿ – &#8383; &#x20BF; Bitcoin sign

Math and numbers

Character Named Decimal Hex Description
+ &plus; &#43; &#x2B; Plus sign
− &minus; &#8722; &#x2212; Minus sign (longer than a hyphen)
× &times; &#215; &#xD7; Multiplication sign
÷ &divide; &#247; &#xF7; Division sign
= &equals; &#61; &#x3D; Equals sign
≠ &ne; &#8800; &#x2260; Not equal to
± &plusmn; &#177; &#xB1; Plus-minus sign
≤ &le; &#8804; &#x2264; Less-than or equal to
≥ &ge; &#8805; &#x2265; Greater-than or equal to
≈ &asymp; &#8776; &#x2248; Almost equal to
∼ &sim; &#8764; &#x223C; Tilde operator (similar to)
≅ &cong; &#8773; &#x2245; Approximately equal to (congruent)
≡ &equiv; &#8801; &#x2261; Identical to
∝ &prop; &#8733; &#x221D; Proportional to
∞ &infin; &#8734; &#x221E; Infinity
∑ &sum; &#8721; &#x2211; N-ary summation (sigma sign)
∏ &prod; &#8719; &#x220F; N-ary product
√ &radic; &#8730; &#x221A; Square root
∂ &part; &#8706; &#x2202; Partial differential
∇ &nabla; &#8711; &#x2207; Nabla (del)
∫ &int; &#8747; &#x222B; Integral
∮ &oint; &#8750; &#x222E; Contour integral
∴ &there4; &#8756; &#x2234; Therefore
∵ &because; &#8757; &#x2235; Because
∀ &forall; &#8704; &#x2200; For all
∃ &exist; &#8707; &#x2203; There exists
∄ &nexist; &#8708; &#x2204; There does not exist
∅ &empty; &#8709; &#x2205; Empty set
∈ &isin; &#8712; &#x2208; Element of
∉ &notin; &#8713; &#x2209; Not an element of
∋ &ni; &#8715; &#x220B; Contains as member
⊂ &sub; &#8834; &#x2282; Subset of
⊃ &sup; &#8835; &#x2283; Superset of
⊄ &nsub; &#8836; &#x2284; Not a subset of
⊆ &sube; &#8838; &#x2286; Subset of or equal to
⊇ &supe; &#8839; &#x2287; Superset of or equal to
∩ &cap; &#8745; &#x2229; Intersection
∪ &cup; &#8746; &#x222A; Union
∧ &and; &#8743; &#x2227; Logical and
∨ &or; &#8744; &#x2228; Logical or
¬ &not; &#172; &#xAC; Not sign
∠ &ang; &#8736; &#x2220; Angle
⊥ &perp; &#8869; &#x22A5; Perpendicular (up tack)
⋅ &sdot; &#8901; &#x22C5; Dot operator
∗ &lowast; &#8727; &#x2217; Asterisk operator
⌈ &lceil; &#8968; &#x2308; Left ceiling
⌉ &rceil; &#8969; &#x2309; Right ceiling
⌊ &lfloor; &#8970; &#x230A; Left floor
⌋ &rfloor; &#8971; &#x230B; Right floor
⟨ &lang; &#10216; &#x27E8; Mathematical left angle bracket
⟩ &rang; &#10217; &#x27E9; Mathematical right angle bracket
° &deg; &#176; &#xB0; Degree sign
µ &micro; &#181; &#xB5; Micro sign
‰ &permil; &#8240; &#x2030; Per mille (per thousand) sign
‱ &pertenk; &#8241; &#x2031; Per ten thousand sign
½ &frac12; &#189; &#xBD; Fraction one half
⅓ &frac13; &#8531; &#x2153; Fraction one third
⅔ &frac23; &#8532; &#x2154; Fraction two thirds
¼ &frac14; &#188; &#xBC; Fraction one quarter
¾ &frac34; &#190; &#xBE; Fraction three quarters
⅕ &frac15; &#8533; &#x2155; Fraction one fifth
⅛ &frac18; &#8539; &#x215B; Fraction one eighth
¹ &sup1; &#185; &#xB9; Superscript one
² &sup2; &#178; &#xB2; Superscript two (squared)
³ &sup3; &#179; &#xB3; Superscript three (cubed)
ª &ordf; &#170; &#xAA; Feminine ordinal indicator
º &ordm; &#186; &#xBA; Masculine ordinal indicator

Arrows

Character Named Decimal Hex Description
← &larr; &#8592; &#x2190; Leftwards arrow
↑ &uarr; &#8593; &#x2191; Upwards arrow
→ &rarr; &#8594; &#x2192; Rightwards arrow
↓ &darr; &#8595; &#x2193; Downwards arrow
↔ &harr; &#8596; &#x2194; Left-right arrow
↕ &varr; &#8597; &#x2195; Up-down arrow
↖ &nwarr; &#8598; &#x2196; North-west arrow
↗ &nearr; &#8599; &#x2197; North-east arrow
↘ &searr; &#8600; &#x2198; South-east arrow
↙ &swarr; &#8601; &#x2199; South-west arrow
↚ &nlarr; &#8602; &#x219A; Leftwards arrow with stroke
↛ &nrarr; &#8603; &#x219B; Rightwards arrow with stroke
↦ &map; &#8614; &#x21A6; Rightwards arrow from bar (maps to)
↩ &larrhk; &#8617; &#x21A9; Leftwards arrow with hook
↪ &rarrhk; &#8618; &#x21AA; Rightwards arrow with hook
↺ &olarr; &#8634; &#x21BA; Anticlockwise open circle arrow
↻ &orarr; &#8635; &#x21BB; Clockwise open circle arrow
↵ &crarr; &#8629; &#x21B5; Downwards arrow with corner leftwards (carriage return)
⇆ &lrarr; &#8646; &#x21C6; Leftwards arrow over rightwards arrow
⇄ &rlarr; &#8644; &#x21C4; Rightwards arrow over leftwards arrow
⇐ &lArr; &#8656; &#x21D0; Leftwards double arrow
⇑ &uArr; &#8657; &#x21D1; Upwards double arrow
⇒ &rArr; &#8658; &#x21D2; Rightwards double arrow (implies)
⇓ &dArr; &#8659; &#x21D3; Downwards double arrow
⇔ &hArr; &#8660; &#x21D4; Left-right double arrow (if and only if)
⇕ &vArr; &#8661; &#x21D5; Up-down double arrow
⟵ &xlarr; &#10229; &#x27F5; Long leftwards arrow
⟶ &xrarr; &#10230; &#x27F6; Long rightwards arrow
⟷ &xharr; &#10231; &#x27F7; Long left-right arrow

Greek letters

Character Named Decimal Hex Description
Α &Alpha; &#913; &#x391; Greek capital letter Alpha
α &alpha; &#945; &#x3B1; Greek small letter alpha
Β &Beta; &#914; &#x392; Greek capital letter Beta
β &beta; &#946; &#x3B2; Greek small letter beta
Γ &Gamma; &#915; &#x393; Greek capital letter Gamma
γ &gamma; &#947; &#x3B3; Greek small letter gamma
Δ &Delta; &#916; &#x394; Greek capital letter Delta
δ &delta; &#948; &#x3B4; Greek small letter delta
Ε &Epsilon; &#917; &#x395; Greek capital letter Epsilon
ε &epsilon; &#949; &#x3B5; Greek small letter epsilon
Ζ &Zeta; &#918; &#x396; Greek capital letter Zeta
ζ &zeta; &#950; &#x3B6; Greek small letter zeta
Η &Eta; &#919; &#x397; Greek capital letter Eta
η &eta; &#951; &#x3B7; Greek small letter eta
Θ &Theta; &#920; &#x398; Greek capital letter Theta
θ &theta; &#952; &#x3B8; Greek small letter theta
Ι &Iota; &#921; &#x399; Greek capital letter Iota
ι &iota; &#953; &#x3B9; Greek small letter iota
Κ &Kappa; &#922; &#x39A; Greek capital letter Kappa
κ &kappa; &#954; &#x3BA; Greek small letter kappa
Λ &Lambda; &#923; &#x39B; Greek capital letter Lambda
λ &lambda; &#955; &#x3BB; Greek small letter lambda
Μ &Mu; &#924; &#x39C; Greek capital letter Mu
μ &mu; &#956; &#x3BC; Greek small letter mu
Ν &Nu; &#925; &#x39D; Greek capital letter Nu
ν &nu; &#957; &#x3BD; Greek small letter nu
Ξ &Xi; &#926; &#x39E; Greek capital letter Xi
ξ &xi; &#958; &#x3BE; Greek small letter xi
Ο &Omicron; &#927; &#x39F; Greek capital letter Omicron
ο &omicron; &#959; &#x3BF; Greek small letter omicron
Π &Pi; &#928; &#x3A0; Greek capital letter Pi
π &pi; &#960; &#x3C0; Greek small letter pi
Ρ &Rho; &#929; &#x3A1; Greek capital letter Rho
ρ &rho; &#961; &#x3C1; Greek small letter rho
Σ &Sigma; &#931; &#x3A3; Greek capital letter Sigma
σ &sigma; &#963; &#x3C3; Greek small letter sigma
ς &sigmaf; &#962; &#x3C2; Greek small letter final sigma (end of a word)
Τ &Tau; &#932; &#x3A4; Greek capital letter Tau
τ &tau; &#964; &#x3C4; Greek small letter tau
Υ &Upsilon; &#933; &#x3A5; Greek capital letter Upsilon
υ &upsilon; &#965; &#x3C5; Greek small letter upsilon
Φ &Phi; &#934; &#x3A6; Greek capital letter Phi
φ &phi; &#966; &#x3C6; Greek small letter phi
Χ &Chi; &#935; &#x3A7; Greek capital letter Chi
χ &chi; &#967; &#x3C7; Greek small letter chi
Ψ &Psi; &#936; &#x3A8; Greek capital letter Psi
ψ &psi; &#968; &#x3C8; Greek small letter psi
Ω &Omega; &#937; &#x3A9; Greek capital letter Omega
ω &omega; &#969; &#x3C9; Greek small letter omega
ϑ &thetasym; &#977; &#x3D1; Greek theta symbol
ϒ &upsih; &#978; &#x3D2; Greek upsilon with hook symbol
ϖ &piv; &#982; &#x3D6; Greek pi symbol

Latin letters with accents

Character Named Decimal Hex Description
À &Agrave; &#192; &#xC0; Latin capital letter A with grave
à &agrave; &#224; &#xE0; Latin small letter a with grave
Á &Aacute; &#193; &#xC1; Latin capital letter A with acute
á &aacute; &#225; &#xE1; Latin small letter a with acute
 &Acirc; &#194; &#xC2; Latin capital letter A with circumflex
â &acirc; &#226; &#xE2; Latin small letter a with circumflex
à &Atilde; &#195; &#xC3; Latin capital letter A with tilde
ã &atilde; &#227; &#xE3; Latin small letter a with tilde
Ä &Auml; &#196; &#xC4; Latin capital letter A with diaeresis
ä &auml; &#228; &#xE4; Latin small letter a with diaeresis
Å &Aring; &#197; &#xC5; Latin capital letter A with ring above
å &aring; &#229; &#xE5; Latin small letter a with ring above
Æ &AElig; &#198; &#xC6; Latin capital letter AE
æ &aelig; &#230; &#xE6; Latin small letter ae
Ç &Ccedil; &#199; &#xC7; Latin capital letter C with cedilla
ç &ccedil; &#231; &#xE7; Latin small letter c with cedilla
Č &Ccaron; &#268; &#x10C; Latin capital letter C with caron
č &ccaron; &#269; &#x10D; Latin small letter c with caron
È &Egrave; &#200; &#xC8; Latin capital letter E with grave
è &egrave; &#232; &#xE8; Latin small letter e with grave
É &Eacute; &#201; &#xC9; Latin capital letter E with acute
é &eacute; &#233; &#xE9; Latin small letter e with acute
Ê &Ecirc; &#202; &#xCA; Latin capital letter E with circumflex
ê &ecirc; &#234; &#xEA; Latin small letter e with circumflex
Ë &Euml; &#203; &#xCB; Latin capital letter E with diaeresis
ë &euml; &#235; &#xEB; Latin small letter e with diaeresis
Ě &Ecaron; &#282; &#x11A; Latin capital letter E with caron
ě &ecaron; &#283; &#x11B; Latin small letter e with caron
Ğ &Gbreve; &#286; &#x11E; Latin capital letter G with breve
ğ &gbreve; &#287; &#x11F; Latin small letter g with breve
Ì &Igrave; &#204; &#xCC; Latin capital letter I with grave
ì &igrave; &#236; &#xEC; Latin small letter i with grave
Í &Iacute; &#205; &#xCD; Latin capital letter I with acute
í &iacute; &#237; &#xED; Latin small letter i with acute
Î &Icirc; &#206; &#xCE; Latin capital letter I with circumflex
î &icirc; &#238; &#xEE; Latin small letter i with circumflex
Ï &Iuml; &#207; &#xCF; Latin capital letter I with diaeresis
ï &iuml; &#239; &#xEF; Latin small letter i with diaeresis
İ &Idot; &#304; &#x130; Latin capital letter I with dot above
ı &imath; &#305; &#x131; Latin small letter dotless i
Ł &Lstrok; &#321; &#x141; Latin capital letter L with stroke
ł &lstrok; &#322; &#x142; Latin small letter l with stroke
Ñ &Ntilde; &#209; &#xD1; Latin capital letter N with tilde
ñ &ntilde; &#241; &#xF1; Latin small letter n with tilde
Ń &Nacute; &#323; &#x143; Latin capital letter N with acute
ń &nacute; &#324; &#x144; Latin small letter n with acute
Ò &Ograve; &#210; &#xD2; Latin capital letter O with grave
ò &ograve; &#242; &#xF2; Latin small letter o with grave
Ó &Oacute; &#211; &#xD3; Latin capital letter O with acute
ó &oacute; &#243; &#xF3; Latin small letter o with acute
Ô &Ocirc; &#212; &#xD4; Latin capital letter O with circumflex
ô &ocirc; &#244; &#xF4; Latin small letter o with circumflex
Õ &Otilde; &#213; &#xD5; Latin capital letter O with tilde
õ &otilde; &#245; &#xF5; Latin small letter o with tilde
Ö &Ouml; &#214; &#xD6; Latin capital letter O with diaeresis
ö &ouml; &#246; &#xF6; Latin small letter o with diaeresis
Ø &Oslash; &#216; &#xD8; Latin capital letter O with stroke
ø &oslash; &#248; &#xF8; Latin small letter o with stroke
Œ &OElig; &#338; &#x152; Latin capital ligature oe
œ &oelig; &#339; &#x153; Latin small ligature oe
Š &Scaron; &#352; &#x160; Latin capital letter S with caron
š &scaron; &#353; &#x161; Latin small letter s with caron
Ś &Sacute; &#346; &#x15A; Latin capital letter S with acute
ś &sacute; &#347; &#x15B; Latin small letter s with acute
Ş &Scedil; &#350; &#x15E; Latin capital letter S with cedilla
ş &scedil; &#351; &#x15F; Latin small letter s with cedilla
Ù &Ugrave; &#217; &#xD9; Latin capital letter U with grave
ù &ugrave; &#249; &#xF9; Latin small letter u with grave
Ú &Uacute; &#218; &#xDA; Latin capital letter U with acute
ú &uacute; &#250; &#xFA; Latin small letter u with acute
Û &Ucirc; &#219; &#xDB; Latin capital letter U with circumflex
û &ucirc; &#251; &#xFB; Latin small letter u with circumflex
Ü &Uuml; &#220; &#xDC; Latin capital letter U with diaeresis
ü &uuml; &#252; &#xFC; Latin small letter u with diaeresis
Ů &Uring; &#366; &#x16E; Latin capital letter U with ring above
ů &uring; &#367; &#x16F; Latin small letter u with ring above
Ý &Yacute; &#221; &#xDD; Latin capital letter Y with acute
ý &yacute; &#253; &#xFD; Latin small letter y with acute
Ÿ &Yuml; &#376; &#x178; Latin capital letter Y with diaeresis
ÿ &yuml; &#255; &#xFF; Latin small letter y with diaeresis
Ž &Zcaron; &#381; &#x17D; Latin capital letter Z with caron
ž &zcaron; &#382; &#x17E; Latin small letter z with caron
Ż &Zdot; &#379; &#x17B; Latin capital letter Z with dot above
ż &zdot; &#380; &#x17C; Latin small letter z with dot above
Ð &ETH; &#208; &#xD0; Latin capital letter Eth
ð &eth; &#240; &#xF0; Latin small letter eth
Þ &THORN; &#222; &#xDE; Latin capital letter Thorn
þ &thorn; &#254; &#xFE; Latin small letter thorn
ß &szlig; &#223; &#xDF; Latin small letter sharp s

Symbols and shapes

Character Named Decimal Hex Description
© &copy; &#169; &#xA9; Copyright sign
® &reg; &#174; &#xAE; Registered sign
™ &trade; &#8482; &#x2122; Trademark sign
℗ &copysr; &#8471; &#x2117; Sound recording copyright
№ &numero; &#8470; &#x2116; Numero sign
℅ &incare; &#8453; &#x2105; Care of
Ω &ohm; &#937; &#x3A9; Ohm sign
¦ &brvbar; &#166; &#xA6; Broken bar
¨ &uml; &#168; &#xA8; Diaeresis (umlaut) on its own
¯ &macr; &#175; &#xAF; Macron on its own
´ &acute; &#180; &#xB4; Acute accent on its own
¸ &cedil; &#184; &#xB8; Cedilla on its own
ˆ &circ; &#710; &#x2C6; Modifier letter circumflex
˜ &tilde; &#732; &#x2DC; Small tilde
♠ &spades; &#9824; &#x2660; Black spade suit
♣ &clubs; &#9827; &#x2663; Black club suit
♥ &hearts; &#9829; &#x2665; Black heart suit
♦ &diams; &#9830; &#x2666; Black diamond suit
◊ &loz; &#9674; &#x25CA; Lozenge
★ &starf; &#9733; &#x2605; Black (filled) star
☆ &star; &#9734; &#x2606; White (outline) star
✓ &check; &#10003; &#x2713; Check mark
✗ &cross; &#10007; &#x2717; Ballot X
✶ &sext; &#10038; &#x2736; Six-pointed black star
✠ &malt; &#10016; &#x2720; Maltese cross
☎ &phone; &#9742; &#x260E; Black telephone
♀ &female; &#9792; &#x2640; Female sign
♂ &male; &#9794; &#x2642; Male sign
♪ &sung; &#9834; &#x266A; Eighth note
♭ &flat; &#9837; &#x266D; Music flat sign
♮ &natural; &#9838; &#x266E; Music natural sign
♯ &sharp; &#9839; &#x266F; Music sharp sign
□ &squ; &#9633; &#x25A1; White square
▪ &squf; &#9642; &#x25AA; Black small square
▭ &rect; &#9645; &#x25AD; White rectangle
○ &cir; &#9675; &#x25CB; White circle
▴ &utrif; &#9652; &#x25B4; Black up-pointing small triangle
▾ &dtrif; &#9662; &#x25BE; Black down-pointing small triangle
◂ &ltrif; &#9666; &#x25C2; Black left-pointing small triangle
▸ &rtrif; &#9656; &#x25B8; Black right-pointing small triangle
█ &block; &#9608; &#x2588; Full block
▓ &blk34; &#9619; &#x2593; Dark shade
▒ &blk12; &#9618; &#x2592; Medium shade
░ &blk14; &#9617; &#x2591; Light shade
⌖ &target; &#8982; &#x2316; Position indicator
⌕ &telrec; &#8981; &#x2315; Telephone recorder

Usage notes

  • Always escape & and < in text. A stray < can start an unwanted tag, and & followed by letters may be read as a reference. Write &amp; and &lt;. Escaping > is optional but harmless.
  • Escape quotes inside attributes. In title="Say &quot;hi&quot;" the inner quotes need references, because a plain " would end the value. Using the other quote style (title='Say "hi"') works too.
  • Don't forget the semicolon. For historical reasons browsers accept a few names without it (&copy 2026), but that is an error and can misfire inside URLs such as ?a=1&copy=2. Always close references with ;.
  • &nbsp; is not a layout tool. Use it to keep things together, like 10&nbsp;km or Mr.&nbsp;Smith. For spacing, use CSS margins and padding.
  • Pick the right dash and quote. A hyphen (-) joins words, an en dash (&ndash;) marks ranges, an em dash (&mdash;) breaks a sentence, and the minus sign (&minus;) is for math. Curly quotes (&ldquo; &rdquo;) look better in prose than straight ones.
  • Numeric references use Unicode code points, never legacy byte values. &#8364; is the euro sign; &#128; is not (browsers patch that one up for old pages, but you should not rely on it).
  • Emoji have no names. Use the character itself or a numeric reference: &#x1F600; gives 😀.