ASCII is a standardized encoding for the basic Latin alphabet, decimal digits, various punctuation and symbols, and some control characters. It is standardized as the first 128 characters in the Unicode® standard. Below is a table showing the encoding for ASCII characters.
Binary | Decimal | Hexadecimal | Glyph/Name |
---|---|---|---|
0000 0000 | 0 | 00 | Null (░) |
0000 0001 | 1 | 01 | Start of Heading () |
0000 0010 | 2 | 02 | Start of Text () |
0000 0011 | 3 | 03 | End of Text () |
0000 0100 | 4 | 04 | End of Transmission () |
0000 0101 | 5 | 05 | Enquiry () |
0000 0110 | 6 | 06 | Acknowledgement () |
0000 0111 | 7 | 07 | Bell () |
0000 1000 | 8 | 08 | Backspace () |
0000 1001 | 9 | 09 | Horizontal Tab |
0000 1010 | 10 | 0a | Line Feed |
0000 1011 | 11 | 0b | Vertical Tab () |
0000 1100 | 12 | 0c | Form Feed () |
0000 1101 | 13 | 0d | Carriage Return |
0000 1110 | 14 | 0e | Shift Out () |
0000 1111 | 15 | 0f | Shift In () |
0001 0000 | 16 | 10 | Data Link Escape () |
0001 0001 | 17 | 11 | Device Control 1 () |
0001 0010 | 18 | 12 | Device Control 2 () |
0001 0011 | 19 | 13 | Device Control 3 () |
0001 0100 | 20 | 14 | Device Control 4 () |
0001 0101 | 21 | 15 | Negative Acknowledgement () |
0001 0110 | 22 | 16 | Synchronous Idle () |
0001 0111 | 23 | 17 | End of Transmission Block () |
0001 1000 | 24 | 18 | Cancel () |
0001 1001 | 25 | 19 | End of Medium () |
0001 1010 | 26 | 1a | Substitute () |
0001 1011 | 27 | 1b | Escape () |
0001 1100 | 28 | 1c | File Separator () |
0001 1101 | 29 | 1d | Group Separator () |
0001 1110 | 30 | 1e | Record Separator () |
0001 1111 | 31 | 1f | Unit Separator () |
0010 0000 | 32 | 20 | Space |
00100001 | 33 | 21 | ! |
00100010 | 34 | 22 | " |
00100011 | 35 | 23 | # |
00100100 | 36 | 24 | $ |
00100101 | 37 | 25 | % |
00100110 | 38 | 26 | & |
00100111 | 39 | 27 | ' |
00101000 | 40 | 28 | ( |
00101001 | 41 | 29 | ) |
00101010 | 42 | 2a | * |
00101011 | 43 | 2b | + |
00101100 | 44 | 2c | , |
00101101 | 45 | 2d | - |
00101110 | 46 | 2e | . |
00101111 | 47 | 2f | / |
00110000 | 48 | 30 | 0 |
00110001 | 49 | 31 | 1 |
00110010 | 50 | 32 | 2 |
00110011 | 51 | 33 | 3 |
00110100 | 52 | 34 | 4 |
00110101 | 53 | 35 | 5 |
00110110 | 54 | 36 | 6 |
00110111 | 55 | 37 | 7 |
00111000 | 56 | 38 | 8 |
00111001 | 57 | 39 | 9 |
00111010 | 58 | 3a | : |
00111011 | 59 | 3b | ; |
00111100 | 60 | 3c | < |
00111101 | 61 | 3d | = |
00111110 | 62 | 3e | > |
00111111 | 63 | 3f | ? |
01000000 | 64 | 40 | @ |
01000001 | 65 | 41 | A |
01000010 | 66 | 42 | B |
01000011 | 67 | 43 | C |
01000100 | 68 | 44 | D |
01000101 | 69 | 45 | E |
01000110 | 70 | 46 | F |
01000111 | 71 | 47 | G |
01001000 | 72 | 48 | H |
01001001 | 73 | 49 | I |
01001010 | 74 | 4a | J |
01001011 | 75 | 4b | K |
01001100 | 76 | 4c | L |
01001101 | 77 | 4d | M |
01001110 | 78 | 4e | N |
01001111 | 79 | 4f | O |
01010000 | 80 | 50 | P |
01010001 | 81 | 51 | Q |
01010010 | 82 | 52 | R |
01010011 | 83 | 53 | S |
01010100 | 84 | 54 | T |
01010101 | 85 | 55 | U |
01010110 | 86 | 56 | V |
01010111 | 87 | 57 | W |
01011000 | 88 | 58 | X |
01011001 | 89 | 59 | Y |
01011010 | 90 | 5a | Z |
01011011 | 91 | 5b | [ |
01011100 | 92 | 5c | \ |
01011101 | 93 | 5d | ] |
01011110 | 94 | 5e | ^ |
01011111 | 95 | 5f | _ |
01100000 | 96 | 60 | ` |
01100001 | 97 | 61 | a |
01100010 | 98 | 62 | b |
01100011 | 99 | 63 | c |
01100100 | 100 | 64 | d |
01100101 | 101 | 65 | e |
01100110 | 102 | 66 | f |
01100111 | 103 | 67 | g |
01101000 | 104 | 68 | h |
01101001 | 105 | 69 | i |
01101010 | 106 | 6a | j |
01101011 | 107 | 6b | k |
01101100 | 108 | 6c | l |
01101101 | 109 | 6d | m |
01101110 | 110 | 6e | n |
01101111 | 111 | 6f | o |
01110000 | 112 | 70 | p |
01110001 | 113 | 71 | q |
01110010 | 114 | 72 | r |
01110011 | 115 | 73 | s |
01110100 | 116 | 74 | t |
01110101 | 117 | 75 | u |
01110110 | 118 | 76 | v |
01110111 | 119 | 77 | w |
01111000 | 120 | 78 | x |
01111001 | 121 | 79 | y |
01111010 | 122 | 7a | z |
01111011 | 123 | 7b | { |
01111100 | 124 | 7c | | |
01111101 | 125 | 7d | } |
01111110 | 126 | 7e | ~ |
0111 1111 | 127 | 7F | Delete |
Unicode refers to the Unicode Standard, a standard for encoding text.
Unicode includes the ASCII encoding table as a subset of the characters it supports.