ASCII Codes

ASCII Code Table

Code Hex Chr Code Hex Chr Code Hex Chr Code Hex Chr
0 (00) (null) 64 (40) @ 128 (80) 192 (c0) À
1 (01)   65 (41) A 129 (81)  193 (c1) Á
2 (02)   66 (42) B 130 (82) 194 (c2) Â
3 (03)   67 (43) C 131 (83) ƒ 195 (c3) Ã
4 (04)   68 (44) D 132 (84) 196 (c4) Ä
5 (05)   69 (45) E 133 (85) 197 (c5) Å
6 (06)   70 (46) F 134 (86) 198 (c6) Æ
7 (07)   71 (47) G 135 (87) 199 (c7) Ç
8 (08)   72 (48) H 136 (88) ˆ 200 (c8) È
9 (09) (tab) 73 (49) I 137 (89) 201 (c9) É
10 (0a) (lf) 74 (4a) J 138 (8a) Š 202 (ca) Ê
11 (0b)   75 (4b) K 139 (8b) 203 (cb) Ë
12 (0c)   76 (4c) L 140 (8c) Œ 204 (cc) Ì
13 (0d) (cr) 77 (4d) M 141 (8d)  205 (cd) Í
14 (0e)   78 (4e) N 142 (8e) Ž 206 (ce) Î
15 (0f)   79 (4f) O 143 (8f)  207 (cf) Ï
16 (10)   80 (50) P 144 (90)  208 (d0) Ð
17 (11)   81 (51) Q 145 (91) 209 (d1) Ñ
18 (12)   82 (52) R 146 (92) 210 (d2) Ò
19 (13)   83 (53) S 147 (93) " 211 (d3) Ó
20 (14)   84 (54) T 148 (94) " 212 (d4) Ô
21 (15)   85 (55) U 149 (95) 213 (d5) Õ
22 (16)   86 (56) V 150 (96) 214 (d6) Ö
23 (17) (esc) 87 (57) W 151 (97) 215 (d7) ×
24 (18)   88 (58) X 152 (98) ˜ 216 (d8) Ø
25 (19)   89 (59) Y 153 (99) 217 (d9) Ù
26 (1a)   90 (5a) Z 154 (9a) š 218 (da) Ú
27 (1b)   91 (5b) [ 155 (9b) 219 (db) Û
28 (1c)   92 (5c) \ 156 (9c) œ 220 (dc) Ü
29 (1d)   93 (5d) ] 157 (9d)  221 (dd) Ý
30 (1e)   94 (5e) ^ 158 (9e) ž 222 (de) Þ
31 (1f)   95 (5f) _ 159 (9f) Ÿ 223 (df) ß
32 (20) (space) 96 (60) ` 160 (a0)   224 (e0) à
33 (21) ! 97 (61) a 161 (a1) ¡ 225 (e1) á
34 (22) " 98 (62) b 162 (a2) ¢ 226 (e2) â
35 (23) # 99 (63) c 163 (a3) £ 227 (e3) ã
36 (24) $ 100 (64) d 164 (a4) ¤ 228 (e4) ä
37 (25) % 101 (65) e 165 (a5) ¥ 229 (e5) å
38 (26) & 102 (66) f 166 (a6) ¦ 230 (e6) æ
39 (27) ' 103 (67) g 167 (a7) § 231 (e7) ç
40 (28) ( 104 (68) h 168 (a8) ¨ 232 (e8) è
41 (29) ) 105 (69) i 169 (a9) © 233 (e9) é
42 (2a) * 106 (6a) j 170 (aa) ª 234 (ea) ê
43 (2b) + 107 (6b) k 171 (ab) « 235 (eb) ë
44 (2c) , 108 (6c) l 172 (ac) ¬ 236 (ec) ì
45 (2d) - 109 (6d) m 173 (ad) ­ 237 (ed) í
46 (2e) . 110 (6e) n 174 (ae) ® 238 (ee) î
47 (2f) / 111 (6f) o 175 (af) ¯ 239 (ef) ï
48 (30) 0 112 (70) p 176 (b0) ° 240 (f0) ð
49 (31) 1 113 (71) q 177 (b1) ± 241 (f1) ñ
50 (32) 2 114 (72) r 178 (b2) ² 242 (f2) ò
51 (33) 3 115 (73) s 179 (b3) ³ 243 (f3) ó
52 (34) 4 116 (74) t 180 (b4) ´ 244 (f4) ô
53 (35) 5 117 (75) u 181 (b5) µ 245 (f5) õ
54 (36) 6 118 (76) v 182 (b6) 246 (f6) ö
55 (37) 7 119 (77) w 183 (b7) 247 (f7) ÷
56 (38) 8 120 (78) x 184 (b8) ¸ 248 (f8) ø
57 (39) 9 121 (79) y 185 (b9) ¹ 249 (f9) ù
58 (3a) : 122 (7a) z 186 (ba) º 250 (fa) ú
59 (3b) ; 123 (7b) { 187 (bb) » 251 (fb) û
60 (3c) < 124 (7c) | 188 (bc) ¼ 252 (fc) ü
61 (3d) = 125 (7d) } 189 (bd) ½ 253 (fd) ý
62 (3e) > 126 (7e) ~ 190 (be) ¾ 254 (fe) þ
63 (3f) ? 127 (7f)  191 (bf) ¿ 255 (ff) ÿ

Character Literals by ASCII Code

UsageSyntaxExample
In a URLprefix the hex code with a percent (%) signhttp://aihdevsql2k5.development/reportserver?%2fRatingReports%2fRatingSummary&rs:Command=Render
In HTML code prefix the hex code with "&#x" and suffix with ";""&#x26;&#x6c;&#x74;" yields "&lt"
"&#x26;&#x67;&#x74;" yields "&gt"
prefix the decimal code with "&#" and suffix with ";""&#38;&#108;&#116;" yields "&lt"
"&#38;&#103;&#116;" yields "&gt"
In C# codeprefix the four-digit hex code with "\u".string A = "\u0066"; // this sets A to a lowercase f

Converting Between Characters and ASCII Codes

ContextCharacter-to-CodeCode-to-Character
C#(int)character(char)code
T-SQL (SQL Server)ASCII(character)CHAR(code)
VB6 (Classic Visual Basic)ASC(character)CHR(code)

All Printable Characters

Here are all the printable characters, which you can copy into Word to test various fonts.

{copytext|Printables}
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ