Appendix B. Ascii Tables: Looking Things Up
Where would you be without some trusty ASCII tables?
Understanding network protocols isn’t always enough. Sooner or later, you’re going to need to look up ASCII codes so you can understand what secrets are being passed around your network. In this appendix, you’ll find a whole bunch of ASCII codes. Whether you prefer binary, hexadecimal, or good old decimal, we’ve got just the codes you need.
ASCII tables 0-31
Note
In decimal, that is.
0 | 0 | 0 NoteJust look up your decimal, hex or binary code here... | NUL | Note...and read off the character here. |
1 | 1 | 1 | SOH | |
2 | 2 | 10 | STX | |
3 | 3 | 11 | ETX | |
4 | 4 | 100 | EOT | |
5 | 5 | 101 | ENQ | |
6 | 6 | 110 | ACK | |
7 | 7 | 111 | BEL | |
8 | 8 | 1000 | BS | |
9 | 9 | 1001 | HT | |
10 | 0A | 1010 | LF | |
11 | 0B | 1011 | VT | |
12 | 0C | 1100 | FF | |
13 | 0D | 1101 | CR | |
14 | 0E | 1110 | SO | |
15 | 0F | 1111 | SI | |
16 | 10 | 10000 | DLE | |
17 | 11 | 10001 | DC1 | |
18 | 12 | 10010 | DC2 | |
19 | 13 | 10011 | DC3 | |
20 | 14 | 10100 | DC4 | |
21 | 15 | 10101 | NAK | |
22 | 16 | 10110 | SYN | |
23 | 17 | 10111 | ETB | |
24 | 18 | 11000 | CAN | |
25 | 19 | 11001 | EM | |
26 | 1A | 11010 | SUB | |
27 | 1B | 11011 | ESC | |
28 | 1C | 11100 | FS | |
29 | 1D | 11101 | GS | |
30 | 1E | 11110 | RS | |
31 | 1F | 11111 | US |
ASCII code tables 32-63
32 | 20 | 100000 | Space | |
33 | 21 | 100001 | ! | |
34 | 22 | 100010 | “ | |
35 | 23 | 100011 | # | |
36 | 24 | 100100 | $ | |
37 | 25 | 100101 | % | |
38 | 26 | 100110 | & | |
39 | 27 | 100111 | ’ | |
40 | 28 | 101000 | ( | |
41 | 29 | 101001 | ) | |
42 | 2A | 101010 | * | |
43 | 2B | 101011 | + | |
44 | 2C | 101100 | ||
45 | 2D | 101101 | - | |
46 | 2E | 101110 | . | |
47 | 2F | 101111 | / | |
48 | 30 | 110000 | 0 | |
49 | 31 | 110001 | 1 | |
50 | 32 | 110010 | 2 | |
51 | 33 | 110011 | 3 | |
52 | 34 | 110100 | 4 | |
53 | 35 | 110101 | 5 | |
54 | 36 | 110110 | 6 | |
55 | 37 | 110111 | 7 | |
56 | 38 | 111000 | 8 | |
57 | 39 | 111001 | 9 | |
58 | 3A | 111010 | : | |
59 | 3B | 111011 | ; | |
60 | 3C | 111100 | < | |
61 | 3D | 111101 | = | |
62 | 3E | 111110 | > | |
63 | 3F | 111111 | ? |
ASCII code tables 64-95
64 | 40 | 1000000 | @ | |
65 | 41 | 1000001 | A | |
66 | 42 | 1000010 | B |
Get Head First Networking now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.