ASCII Character Codes

The ASCII character set comprises only codes 00–7F. Codes 00–1F and 7F are non-printing control characters and are shown at the bottom of this page if you need to know them. ASCII characters are displayed here with a green background.

Codes 80–FF, along with the ASCII set, make up the Extended ASCII or ISO Latin‑1 character set. This set is technically called ISO-8859‑1. These characters are displayed here with a yellow background. Codes 80–9F in the Latin‑1 set are non-printing control characters.

Characters 80–9F as shown on this chart do not belong to the Latin‑1 character set. They are part of the Windows-1252 character set and can be used with most Windows applications, including MS Word. These characters are displayed here with a blue background. They should NOT be used directly on web pages. If you want to use non-ASCII characters on a web page, use the proper numeric character reference or HTML entity. All of these characters may be used on a web page by specifying the numeric character reference or HTML entity.

At the end of the page you will find a small table that shows how Microsoft Word uses some of the ASCII control characters.

Hold your pointer over any character in the charts to see the numeric character reference and HTML entity if it has one. Remember that HTML entity names are case-sensitive, so use them as given here. A solid gray block (    ) indicates a character position that is not used.

View this chart using decimal numbers More information on character codes
HTML entities Dan’s Home Page
20.   30. 0 40. @ 50. P 60. ` 70. p        
21. ! 31. 1 41. A 51. Q 61. a 71. q        
22. " 32. 2 42. B 52. R 62. b 72. r        
23. # 33. 3 43. C 53. S 63. c 73. s        
24. $ 34. 4 44. D 54. T 64. d 74. t        
25. % 35. 5 45. E 55. U 65. e 75. u        
26. & 36. 6 46. F 56. V 66. f 76. v        
27. ' 37. 7 47. G 57. W 67. g 77. w        
28. ( 38. 8 48. H 58. X 68. h 78. x        
29. ) 39. 9 49. I 59. Y 69. i 79. y        
2A. * 3A. : 4A. J 5A. Z 6A. j 7A. z        
2B. + 3B. ; 4B. K 5B. [ 6B. k 7B. {        
2C. , 3C. < 4C. L 5C. \ 6C. l 7C. |        
2D. - 3D. = 4D. M 5D. ] 6D. m 7D. }        
2E. . 3E. > 4E. N 5E. ^ 6E. n 7E. ~        
2F. / 3F. ? 4F. O 5F. _ 6F. o 7F.           
80. 88. ˆ 90.    98. ˜ A0.   A8. ¨ B0. ° B8. ¸
81.    89. 91. 99. A1. ¡ A9. © B1. ± B9. ¹
82. 8A. Š 92. 9A. š A2. ¢ AA. ª B2. ² BA. º
83. ƒ 8B. 93. 9B. A3. £ AB. « B3. ³ BB. »
84. 8C. Œ 94. 9C. œ A4. ¤ AC. ¬ B4. ´ BC. ¼
85. 8D.    95. 9D.    A5. ¥ AD. - B5. µ BD. ½
86. 8E. Ž 96. 9E. ž A6. ¦ AE. ® B6. BE. ¾
87. 8F.    97. 9F. Ÿ A7. § AF. ¯ B7. · BF. ¿
C0. À C8. È CC. Ì D0. Ð D2. Ò D7. × D9. Ù DD. Ý
C1. Á C9. É CD. Í D1. Ñ D3. Ó D8. Ø DA. Ú DE. Þ
C2. Â CA. Ê CE. Î     D4. Ô     DB. Û DF. ß
C3. Ã CB. Ë CF. Ï     D5. Õ     DC. Ü    
C4. Ä             D6. Ö            
C5. Å                            
C6. Æ                            
C7. Ç                            
E0. à E8. è EC. ì F0. ð F2. ò F7. ÷ F9. ù FD. ý
E1. á E9. é ED. í F1. ñ F3. ó F8. ø FA. ú FE. þ
E2. â EA. ê EE. î     F4. ô     FB. û FF. ÿ
E3. ã EB. ë EF. ï     F5. õ     FC. ü    
E4. ä             F6. ö            
E5. å                            
E6. æ                            
E7. ç                            
00. NUL null 08. BS backspace 10. DLE data link escape 18. CAN cancel
01. SOH start of heading 09. HT horizontal tabulation 11. DC1 device control 1 19. EM end of medium
02. STX start of text 0A. LF line feed 12. DC2 device control 2 1A. SUB substitute
03. ETX end of text 0B. VT vertical tabulation 13. DC3 device control 3 1B. ESC escape
04. EOT end of transmission 0C. FF form feed 14. DC4 device control 4 1C. FS file separator
05. ENQ enquiry 0D. CR carriage return 15. NAK negative acknowledge 1D. GS group separator
06. ACK acknowledge 0E. SO shift out 16. SYN synchronous idle 1E. RS record separator
07. BEL bell 0F. SI shift in 17. ETB end of transmission block 1F. US unit separator
                  7F. DEL delete
ASCII Control Characters used in Microsoft Word
09. Tab
0B. New line
0C. Page break
0D. Paragraph
0E. Column break
1E. Non-breaking hyphen
1F. Optional hyphen
A0. Non-breaking space

Background courtesy of www.squidfingers.com