ASCII
ASCII - abbreviated from American Standard Code for Information Interchange, is a
character encoding standard for electronic communication.
ASCII codes represent text in computers, telecommunications equipment, and other devices.
Most modern character-encoding schemes are based on ASCII, although they support many
additional characters.
Originally based on the English alphabet, ASCII encodes 128 specified characters into seven-bit
integers. Ninety-five of the encoded characters are printable: these include the digits 0 to 9,
lowercase letters a to z, uppercase letters A to Z, and punctuation symbols.
In addition, the original ASCII specification included 33 non-printing control codes .
For example, lowercase i would be represented in the ASCII encoding by binary 1101001 =
hexadecimal 69 (i is the ninth letter) = decimal 105.
Printable characters
Codes 20hex to 7Ehex, known as the printable characters, represent letters, digits, punctuation
marks, and a few miscellaneous symbols. There are 95 printable characters in total.[m]
No Binary Oct Dec Hex Glyph
1 010 0000 040 32 20 space
2 010 0001 041 33 21 !
3 010 0010 042 34 22 "
4 010 0011 043 35 23 #
5 010 0100 044 36 24 $
6 010 0101 045 37 25 %
7 010 0110 046 38 26 &
8 010 0111 047 39 27 ' (apostrophe)
9 010 1000 050 40 28 (
10 010 1001 051 41 29 )
11 010 1010 052 42 2A *
12 010 1011 053 43 2B +
13 010 1100 054 44 2C , (comma)
14 010 1101 055 45 2D - (hypen- minus)
15 010 1110 056 46 2E . (full stop)
16 010 1111 057 47 2F / (slash)
17 011 0000 060 48 30 0
18 011 0001 061 49 31 1
19 011 0010 062 50 32 2
20 011 0011 063 51 33 3
21 011 0100 064 52 34 4
22 011 0101 065 53 35 5
23 011 0110 066 54 36 6
24 011 0111 067 55 37 7
25 011 1000 070 56 38 8
26 011 1001 071 57 39 9
27 011 1010 072 58 3A :
28 011 1011 073 59 3B ;
29 011 1100 074 60 3C <
30 011 1101 075 61 3D =
31 011 1110 076 62 3E >
32 011 1111 077 63 3F ?
33 100 0000 100 64 40 @
34 100 0001 101 65 41 A
35 100 0010 102 66 42 B
36 100 0011 103 67 43 C
37 100 0100 104 68 44 D
38 100 0101 105 69 45 E
39 100 0110 106 70 46 F
40 100 0111 107 71 47 G
41 100 1000 110 72 48 H
42 100 1001 111 73 49 I
43 100 1010 112 74 4A J
44 100 1011 113 75 4B K
45 100 1100 114 76 4C L
46 100 1101 115 77 4D M
47 100 1110 116 78 4E N
48 100 1111 117 79 4F O
49 101 0000 120 80 50 P
50 101 0001 121 81 51 Q
51 101 0010 122 82 52 R
52 101 0011 123 83 53 S
53 101 0100 124 84 54 T
54 101 0101 125 85 55 U
55 101 0110 126 86 56 V
56 101 0111 127 87 57 W
57 101 1000 130 88 58 X
58 101 1001 131 89 59 Y
59 101 1010 132 90 5A Z
60 101 1011 133 91 5B [
61 101 1100 134 92 5C \ (backslash)
62 101 1101 135 93 5D ]
63 101 1110 136 94 5E ^ (caret)
64 101 1111 137 95 5F _ (underscore)
65 110 0000 140 96 60 ` (grave accent)
66 110 0001 141 97 61 a
67 110 0010 142 98 62 b
68 110 0011 143 99 63 c
69 110 0100 144 100 64 d
70 110 0101 145 101 65 e
71 110 0110 146 102 66 f
72 110 0111 147 103 67 g
73 110 1000 150 104 68 h
74 110 1001 151 105 69 i
75 110 1010 152 106 6A j
76 110 1011 153 107 6B k
77 110 1100 154 108 6C l
78 110 1101 155 109 6D m
79 110 1110 156 110 6E n
80 110 1111 157 111 6F o
81 111 0000 160 112 70 p
82 111 0001 161 113 71 q
83 111 0010 162 114 72 r
84 111 0011 163 115 73 s
85 111 0100 164 116 74 t
86 111 0101 165 117 75 u
87 111 0110 166 118 76 v
88 111 0111 167 119 77 w
89 111 1000 170 120 78 x
90 111 1001 171 121 79 y
91 111 1010 172 122 7A z
92 111 1011 173 123 7B {
93 111 1100 174 124 7C |
94 111 1101 175 125 7D }
95 111 1110 176 126 7E ~