ASCII Character Codes

The ASCII character set comprises only codes 0–127. Codes 0–31 and 127 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 128–255, 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 128–159 in the Latin‑1 set are non-printing control characters.

Characters 128–159 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 hexadecimal numbers More information on character codes
HTML entities Dan’s Home Page
32.   48. 0 64. @ 80. P 96. ` 112. p        
33. ! 49. 1 65. A 81. Q 97. a 113. q        
34. " 50. 2 66. B 82. R 98. b 114. r        
35. # 51. 3 67. C 83. S 99. c 115. s        
36. $ 52. 4 68. D 84. T 100. d 116. t        
37. % 53. 5 69. E 85. U 101. e 117. u        
38. & 54. 6 70. F 86. V 102. f 118. v        
39. ' 55. 7 71. G 87. W 103. g 119. w        
40. ( 56. 8 72. H 88. X 104. h 120. x        
41. ) 57. 9 73. I 89. Y 105. i 121. y        
42. * 58. : 74. J 90. Z 106. j 122. z        
43. + 59. ; 75. K 91. [ 107. k 123. {        
44. , 60. < 76. L 92. \ 108. l 124. |        
45. - 61. = 77. M 93. ] 109. m 125. }        
46. . 62. > 78. N 94. ^ 110. n 126. ~        
47. / 63. ? 79. O 95. _ 111. o 127.           
128. 136. ˆ 144.    152. ˜ 160.   168. ¨ 176. ° 184. ¸
129.    137. 145. 153. 161. ¡ 169. © 177. ± 185. ¹
130. 138. Š 146. 154. š 162. ¢ 170. ª 178. ² 186. º
131. ƒ 139. 147. 155. 163. £ 171. « 179. ³ 187. »
132. 140. Œ 148. 156. œ 164. ¤ 172. ¬ 180. ´ 188. ¼
133. 141.    149. 157.    165. ¥ 173. - 181. µ 189. ½
134. 142. Ž 150. 158. ž 166. ¦ 174. ® 182. 190. ¾
135. 143.    151. 159. Ÿ 167. § 175. ¯ 183. · 191. ¿
192. À 200. È 204. Ì 208. Ð 210. Ò 215. × 217. Ù 221. Ý
193. Á 201. É 205. Í 209. Ñ 211. Ó 216. Ø 218. Ú 222. Þ
194. Â 202. Ê 206. Î     212. Ô     219. Û 223. ß
195. Ã 203. Ë 207. Ï     213. Õ     220. Ü    
196. Ä             214. Ö            
197. Å                            
198. Æ                            
199. Ç                            
224. à 232. è 236. ì 240. ð 242. ò 247. ÷ 249. ù 253. ý
225. á 233. é 237. í 241. ñ 243. ó 248. ø 250. ú 254. þ
226. â 234. ê 238. î     244. ô     251. û 255. ÿ
227. ã 235. ë 239. ï     245. õ     252. ü    
228. ä             246. ö            
229. å                            
230. æ                            
231. ç                            
0. NUL null 8. BS backspace 16. DLE data link escape 24. CAN cancel
1. SOH start of heading 9. HT horizontal tabulation 17. DC1 device control 1 25. EM end of medium
2. STX start of text 10. LF line feed 18. DC2 device control 2 26. SUB substitute
3. ETX end of text 11. VT vertical tabulation 19. DC3 device control 3 27. ESC escape
4. EOT end of transmission 12. FF form feed 20. DC4 device control 4 28. FS file separator
5. ENQ enquiry 13. CR carriage return 21. NAK negative acknowledge 29. GS group separator
6. ACK acknowledge 14. SO shift out 22. SYN synchronous idle 30. RS record separator
7. BEL bell 15. SI shift in 23. ETB end of transmission block 31. US unit separator
                  127. DEL delete
ASCII Control Characters used in Microsoft Word
9. Tab
11. New line
12. Page break
13. Paragraph
14. Column break
30. Non-breaking hyphen
31. Optional hyphen
160. Non-breaking space

Copyright © 2007 Daniel M. Short