HTML Character Codes

The following list includes the HTML codes for many of the common (and some not so common) symbols used on Web pages.

Friendly Code Numerical Code Display Hex Description
  	     Horizontal Tab
      Line feed
      20 Space
  ! ! 21 Exclamation point
" " 22 Double quote
  # # 23 Number sign
  $ $ 24 Dollar sign
  % % 25 Percent sign
& & & 26 Ampersand
' ' 27 Single quote ¹
  ( ( 28 Left parenthesis
  ) ) 29 Right parenthesis
  * * 2A Asterisk (star)
  + + 2B Plus
  , , 2C Comma
  - 2D Minus (hyphen)
  . . 2E Period
  / / 2F Forward slash
  0 0 30 Zero
  1 1 31 1
  2 2 32 2
  3 3 33 3
  4 4 34 4
  5 5 35 5
  6 6 36 6
  7 7 37 7
  8 8 38 8
  9 9 39 9
  : : 3A Colon
  &#059; ; 3B Semi-colon
&lt; &#060; < 3C Less-than
  &#061; = 3D Equals
&gt; &#062; > 3E Greater-than
  &#063; ? 3F Question mark
  &#064; @ 40 At symbol
  &#065; A 41 A
  &#066; B 42 B
  &#067; C 43 C
  &#068; D 44 D
  &#069; E 45 E
  &#070; F 46 F
  &#071; G 47 G
  &#072; H 48 H
  &#073; I 49 I
  &#074; J 4A J
  &#075; K 4B K
  &#076; L 4C L
  &#077; M 4D M
  &#078; N 4E N
  &#079; O 4F O
  &#080; P 50 P
  &#081; Q 51 Q
  &#082; R 52 R
  &#083; S 53 S
  &#084; T 54 T
  &#085; U 55 U
  &#086; V 56 V
  &#087; W 57 W
  &#088; X 58 X
  &#089; Y 59 Y
  &#090; Z 5A Z
  &#091; [ 5B Left square bracket
  &#092; \ 5C Back slash
  &#093; ] 5D Right square bracket
  &#094; ^ 5E Caret
  &#095; _ 5F Underscore
  &#096; ` 60 Grave accent
  &#097; a 61 a
  &#098; b 62 b
  &#099; c 63 c
  &#100; d 64 d
  &#101; e 65 e
  &#102; f 66 f
  &#103; g 67 g
  &#104; h 68 h
  &#105; i 69 i
  &#106; j 6A j
  &#107; k 6B k
  &#108; l 6C l
  &#109; m 6D m
  &#110; n 6E n
  &#111; o 6F o
  &#112; p 70 p
  &#113; q 71 q
  &#114; r 72 r
  &#115; s 73 s
  &#116; t 74 t
  &#117; u 75 u
  &#118; v 76 v
  &#119; w 77 w
  &#120; x 78 x
  &#121; y 79 y
  &#122; z 7A z
  &#123; { 7B Left curly brace
  &#124; | 7C Vertical bar
  &#125; } 7D Right curly brace
&tilde; &#126; ~ 7E tilde
  &#127;  7F Not defined
&nbsp; &#160;   A0 Non-breaking space
&iexcl; &#161; ¡ A1 Inverted exclamation point
&cent; &#162; ¢ A2 Cent
&pound; &#163; £ A3 Pound currency sign
&curren; &#164; ¤ A4 Currency sign
&yen; &#165; ¥ A5 Yen currency sign
&brvbar; &#166; ¦ A6 Broken vertical bar
&sect; &#167; § A7 Section symbol
&uml; &#168; ¨ A8 Umlaut (Diaeresis)
&copy; &#169; © A9 Copyright
&ordf; &#170; ª AA Feminine ordinal indicator
&laquo; &#171; « AB Left double angle quote
&not; &#172; ¬ AC Not sign
&shy; &#173; ­  AD Soft hyphen
&reg; &#174; ® AE Registered sign
&macr; &#175; ¯ AF Macron
&deg; &#176; ° B0 Degree sign
&plusmn; &#177; ± B1 Plus/minus sign
&sup2; &#178; ² B2 Superscript 2
&sup3; &#179; ³ B3 Superscript 3
&acute; &#180; ´ B4 Acute accent
&micro; &#181; µ B5 Micro sign
&para; &#182; B6 Pilcrow sign (paragraph)
&middot; &#183; · B7 Middle dot
&cedil; &#184; ¸ B8 Cedilla
&sup1; &#185; ¹ B9 Superscript 1
&ordm; &#186; º BA Masculine ordinal indicator
&raquo; &#187; » BB Right double angle quote
&frac14; &#188; ¼ BC One quarter fraction
&frac12; &#189; ½ BD One half fraction
&frac34; &#190; ¾ BE Three quarters fraction
&iquest; &#191; ¿ BF Inverted question mark
&Agrave; &#192; À C0 A grave accent
&Aacute; &#193; Á C1 A accute accent
&Acirc; &#194; Â C2 A circumflex
&Atilde; &#195; Ã C3 A tilde
&Auml; &#196; Ä C4 A umlaut
&Aring; &#197; Å C5 A ring
&AElig; &#198; Æ C6 AE ligature
&Ccedil; &#199; Ç C7 C cedilla
&Egrave; &#200; È C8 E grave
&Eacute; &#201; É C9 E acute
&Ecirc; &#202; Ê CA E circumflex
&Euml; &#203; Ë CB E umlaut
&Igrave; &#204; Ì CC I grave
&Iacute; &#205; Í CD I acute
&Icirc; &#206; Î CE I circumflex
&Iuml; &#207; Ï CF I umlaut
&ETH; &#208; Ð D0  
&Ntilde; &#209; Ñ D1 N tilde (enye)
&Ograve; &#210; Ò D2 O grave
&Oacute; &#211; Ó D3 O acute
&Ocirc; &#212; Ô D4 O circumflex
&Otilde; &#213; Õ D5 O tilde
&Ouml; &#214; Ö D6 O umlaut
&times; &#215; × D7 Multipy
&Oslash; &#216; Ø D8 O slash
&Ugrave; &#217; Ù D9 U grave
&Uacute; &#218; Ú DA U acute
&Ucirc; &#219; Û DB U circumflex
&Uuml; &#220; Ü DC U umlaut
&Yacute; &#221; Ý DD Y acute
&THORN; &#222; Þ DE Thorn
&szlig; &#223; ß DF SZ ligature
&agrave; &#224; à E0 a grave
&aacute; &#225; á E1 a acute
&acirc; &#226; â E2 a circumflex
&atilde; &#227; ã E3 a tilde
&auml; &#228; ä E4 a umlaut
&aring; &#229; å E5 a ring
&aelig; &#230; æ E6 ae ligature
&ccedil; &#231; ç E7 c cedilla
&egrave; &#232; è E8 e grave
&eacute; &#233; é E9 e acute
&ecirc; &#234; ê EA e circumflex
&euml; &#235; ë EB e umlaut
&igrave; &#236; ì EC i grave
&iacute; &#237; í ED i acute
&icirc; &#238; î EE i circumflex
&iuml; &#239; ï EF i umlaut
&eth; &#240; ð F0 eth
&ntilde; &#241; ñ F1 n tilde
&ograve; &#242; ò F2 o grave
&oacute; &#243; ó F3 o acute
&ocirc; &#244; ô F4 o circumflex
&otilde; &#245; õ F5 o tilde
&ouml; &#246; ö F6 o umlaut
&divide; &#247; ÷ F7 Divide
&oslash; &#248; ø F8 o slash
&ugrave; &#249; ù F9 u grave
&uacute; &#250; ú FA u acute
&ucirc; &#251; û FB u circumflex
&uuml; &#252; ü FC u umlaut
&yacute; &#253; ý FD y acute
&thorn; &#254; þ FE thorn
&yuml; &#255; ÿ FF y umlaut
  &#338; Œ 152 OE ligature
  &#339; œ 153 oe ligature
  &#352; Š 160 Š
  &#353; š 161 š
&Yuml; &#376; Ÿ 178 Y-umlaut
  &#381; Ž   Ž
  &#382; ž   ž
  &#402; ƒ 192 Function symbol
  &#710; ˆ   ˆ
&tilde; &#732; ˜   Tilde
&#8208; &#x2010; Hyphen
&#8209; &#x2011; Non breaking hyphen
&ndash; &#8211; &#x2013; En dash
&mdash; &#8212; &#x2014; Em dash
  &#8214; &#x2016;  
&lsquo; &#8216; &#x2018; Left single-quote
&rsquo; &#8217; &#x2019; Right single-quote
&sbquo; &#8218; &#x201A; Single low-quote
&ldquo; &#8220; &#x201C; Left double-quote
&rdquo; &#8221; &#x201D; Right double-quote
&dbquo; &#8222; &#x201E; Double low-quote
&dbquo; &#8223; &#x201F; Double high-quote
&dagger; &#8224; &#x2020; Dagger
&Dagger; &#8225; &#x2021; Double dagger
  &#8226; &#x2022; Small bullet
  &#8227; &#x2023;
  &#8228; &#x2024;
  &#8229; &#x2025;
  &#8230; &#x2026; Elipsis
&permil; &#8240; &#x2030; Per-thousand symbol
&prime; &#8242; &#x2032; Prime (minutes, feet)
         
&lsaquo; &#8249;   Left single angle quote
&rsaquo; &#8250;   Right single angle quote
&oline; &#8254;   Overline
  &#8364; &#x20AC; Euro
&trade; &#8482; &#x2122; Trademark
&vellip; &#8942; &#x22EE; Vertical ellipsis
  &#8943; &#x22EF; Mid line horizontal ellipsis
&larr; &#8592;   Left arrow
&uarr; &#8593;   Up arrow
&rarr; &#8594;   Right arrow
&darr; &#8595;   Down arrow
&spades; &#9824;   Spades
&clubs; &#9827;   Clubs
&hearts; &#9829;   Hearts
&diams; &#9830;   Diamonds

¹ Strictly speaking this is only defined by XHTML not XML so may not work with some browsers.

References