US English ASCII code page

The ASCII collating sequence is the order in which characters are defined in ASCII.

The following table presents the collating sequence for the US English ASCII code page. The collating sequence is the order in which characters are defined in ANSI INCITS 4, the 7-Bit American National Standard Code for Information Interchange (7-Bit ASCII), and in the International Reference Version of ISO/IEC 646, 7-Bit Coded Character Set for Information Interchange.

Ellipsis (. . .) indicates omission of a range of ordinal numbers between predecessor and successor ordinal numbers.

Table 1. ASCII collating sequence
Ordinal number Symbol Meaning Decimal representation Hex representation
1   Null 0 0
. . .        
33   Space 32 20
34 ! Exclamation point 33 21
35 " Quotation mark 34 22
36 # Number sign 35 23
37 $ Dollar sign 36 24
38 % Percent sign 37 25
39 & Ampersand 38 26
40 ' Apostrophe, prime sign 39 27
41 ( Opening parenthesis 40 28
42 ) Closing parenthesis 41 29
43 * Asterisk 42 2A
44 + Plus sign 43 2B
45 , Comma 44 2C
46 - Hyphen, minus 45 2D
47 . Period, decimal point 46 2E
48 / Slash, solidus 47 2F
49 0   48 30
50 1   49 31
51 2   50 32
52 3   51 33
53 4   52 34
54 5   53 35
55 6   54 36
56 7   55 37
57 8   56 38
58 9   57 39
59 : Colon 58 3A
60 ; Semicolon 59 3B
61 < Less than sign 60 3C
62 = Equal sign 61 3D
63 > Greater than sign 62 3E
64 ? Question mark 63 3F
65 @ Commercial At sign 64 40
66 A   65 41
67 B   66 42
68 C   67 43
69 D   68 44
70 E   69 45
71 F   70 46
72 G   71 47
73 H   72 48
74 I   73 49
75 J   74 4A
76 K   75 4B
77 L   76 4C
78 M   77 4D
79 N   78 4E
80 O   79 4F
81 P   80 50
82 Q   81 51
83 R   82 52
84 S   83 53
85 T   84 54
86 U   85 55
87 V   86 56
88 W   87 57
89 X   88 58
90 Y   89 59
91 Z   90 5A
92 [ Opening bracket 91 5B
93 \ Backslash, reverse solidus 92 5C
94 ] Closing bracket 93 5D
95 ^ Caret 94 5E
96 _ Underscore 95 5F
97 ` Grave accent 96 60
98 a   97 61
99 b   98 62
100 c   99 63
101 d   100 64
102 e   101 65
103 f   102 66
104 g   103 67
105 h   104 68
106 i   105 69
107 j   106 6A
108 k   107 6B
109 l   108 6C
110 m   109 6D
111 n   110 6E
112 o   111 6F
113 p   112 70
114 q   113 71
115 r   114 72
116 s   115 73
117 t   116 74
118 u   117 75
119 v   118 76
120 w   119 77
121 x   120 78
122 y   121 79
123 z   122 7A
124 { Opening brace 123 7B
125 | Vertical bar 124 7C
126 } Closing brace 125 7D
127 ~ Tilde 126 7E