ASCII
ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. It is one of the most popular coding method used by computers for converting letters, numbers, punctuation and control codes into digital form. Since 2007, UTF-8 superseded it on the Web.
ASCII was developed by the American National Standards Institute (ANSI), and has been designated as an international standard by the International Standards Organization (ISO), which is called the ISO 646 standard.
The Internet Assigned Numbers Authority (IANA) prefers the name US-ASCII for this character encoding.
Character Encoding Table
Bin | Oct | Dec | Hex | Char | Comment |
---|---|---|---|---|---|
0000 0000 | 00 | 0 | 0x00 | NUL | null |
0000 0001 | 01 | 1 | 0x01 | SOH | start of headline |
0000 0010 | 02 | 2 | 0x02 | STX | start of text |
0000 0011 | 03 | 3 | 0x03 | ETX | end of text |
0000 0100 | 04 | 4 | 0x04 | EOT | end of transmission |
0000 0101 | 05 | 5 | 0x05 | ENQ | enquiry |
0000 0110 | 06 | 6 | 0x06 | ACK | acknowledge |
0000 0111 | 07 | 7 | 0x07 | BEL | bell |
0000 1000 | 010 | 8 | 0x08 | BS | backspace |
0000 1001 | 011 | 9 | 0x09 | HT | horizontal tab |
0000 1010 | 012 | 10 | 0x0A | LF | NL line feed, new line |
0000 1011 | 013 | 11 | 0x0B | VT | vertical tab |
0000 1100 | 014 | 12 | 0x0C | FF | NP form feed, new page |
0000 1101 | 015 | 13 | 0x0D | CR | carriage return |
0000 1110 | 016 | 14 | 0x0E | SO | shift out |
0000 1111 | 017 | 15 | 0x0F | SI | shift in |
0001 0000 | 020 | 16 | 0x10 | DLE | data link escape |
0001 0001 | 021 | 17 | 0x11 | DC1 | device control 1 |
0001 0010 | 022 | 18 | 0x12 | DC2 | device control 2 |
0001 0011 | 023 | 19 | 0x13 | DC3 | device control 3 |
0001 0100 | 024 | 20 | 0x14 | DC4 | device control 4 |
0001 0101 | 025 | 21 | 0x15 | NAK | negative acknowledge |
0001 0110 | 026 | 22 | 0x16 | SYN | synchronous idle |
0001 0111 | 027 | 23 | 0x17 | ETB | end of trans. block |
0001 1000 | 030 | 24 | 0x18 | CAN | cancel |
0001 1001 | 031 | 25 | 0x19 | EM | end of medium |
0001 1010 | 032 | 26 | 0x1A | SUB | substitute |
0001 1011 | 033 | 27 | 0x1B | ESC | escape |
0001 1100 | 034 | 28 | 0x1C | FS | file separator |
0001 1101 | 035 | 29 | 0x1D | GS | group separator |
0001 1110 | 036 | 30 | 0x1E | RS | record separator |
0001 1111 | 037 | 31 | 0x1F | US | unit separator |
0010 0000 | 040 | 32 | 0x20 | (space) | space |
0010 0001 | 041 | 33 | 0x21 | ! | - |
0010 0010 | 042 | 34 | 0x22 | ” | - |
0010 0011 | 043 | 35 | 0x23 | # | - |
0010 0100 | 044 | 36 | 0x24 | $ | - |
0010 0101 | 045 | 37 | 0x25 | % | - |
0010 0110 | 046 | 38 | 0x26 | & | - |
0010 0111 | 047 | 39 | 0x27 | ’ | - |
0010 1000 | 050 | 40 | 0x28 | ( | - |
0010 1001 | 051 | 41 | 0x29 | ) | - |
0010 1010 | 052 | 42 | 0x2A | * | - |
0010 1011 | 053 | 43 | 0x2B | + | - |
0010 1100 | 054 | 44 | 0x2C | , | - |
0010 1101 | 055 | 45 | 0x2D | - | - |
0010 1110 | 056 | 46 | 0x2E | . | - |
0010 1111 | 057 | 47 | 0x2F | / | - |
0011 0000 | 060 | 48 | 0x30 | 0 | digit 0 |
0011 0001 | 061 | 49 | 0x31 | 1 | digit 1 |
0011 0010 | 062 | 50 | 0x32 | 2 | digit 2 |
0011 0011 | 063 | 51 | 0x33 | 3 | digit 3 |
0011 0100 | 064 | 52 | 0x34 | 4 | digit 4 |
0011 0101 | 065 | 53 | 0x35 | 5 | digit 5 |
0011 0110 | 066 | 54 | 0x36 | 6 | digit 6 |
0011 0111 | 067 | 55 | 0x37 | 7 | digit 7 |
0011 1000 | 070 | 56 | 0x38 | 8 | digit 8 |
0011 1001 | 071 | 57 | 0x39 | 9 | digit 9 |
0011 1010 | 072 | 58 | 0x3A | : | - |
0011 1011 | 073 | 59 | 0x3B | ; | - |
0011 1100 | 074 | 60 | 0x3C | < | - |
0011 1101 | 075 | 61 | 0x3D | = | - |
0011 1110 | 076 | 62 | 0x3E | > | - |
0011 1111 | 077 | 63 | 0x3F | ? | - |
0100 0000 | 0100 | 64 | 0x40 | @ | - |
0100 0001 | 0101 | 65 | 0x41 | A | letter A |
0100 0010 | 0102 | 66 | 0x42 | B | letter B |
0100 0011 | 0103 | 67 | 0x43 | C | letter C |
0100 0100 | 0104 | 68 | 0x44 | D | letter D |
0100 0101 | 0105 | 69 | 0x45 | E | letter E |
0100 0110 | 0106 | 70 | 0x46 | F | letter F |
0100 0111 | 0107 | 71 | 0x47 | G | letter G |
0100 1000 | 0110 | 72 | 0x48 | H | letter H |
0100 1001 | 0111 | 73 | 0x49 | I | letter I |
0100 1010 | 0112 | 74 | 0x4A | J | letter J |
0100 1011 | 0113 | 75 | 0x4B | K | letter K |
0100 1100 | 0114 | 76 | 0x4C | L | letter L |
0100 1101 | 0115 | 77 | 0x4D | M | letter M |
0100 1110 | 0116 | 78 | 0x4E | N | letter N |
0100 1111 | 0117 | 79 | 0x4F | O | letter O |
0101 0000 | 0120 | 80 | 0x50 | P | letter P |
0101 0001 | 0121 | 81 | 0x51 | Q | letter Q |
0101 0010 | 0122 | 82 | 0x52 | R | letter R |
0101 0011 | 0123 | 83 | 0x53 | S | letter S |
0101 0100 | 0124 | 84 | 0x54 | T | letter T |
0101 0101 | 0125 | 85 | 0x55 | U | letter U |
0101 0110 | 0126 | 86 | 0x56 | V | letter V |
0101 0111 | 0127 | 87 | 0x57 | W | letter W |
0101 1000 | 0130 | 88 | 0x58 | X | letter X |
0101 1001 | 0131 | 89 | 0x59 | Y | letter Y |
0101 1010 | 0132 | 90 | 0x5A | Z | letter Z |
0101 1011 | 0133 | 91 | 0x5B | [ | - |
0101 1100 | 0134 | 92 | 0x5C | \ | - |
0101 1101 | 0135 | 93 | 0x5D | ] | - |
0101 1110 | 0136 | 94 | 0x5E | ^ | - |
0101 1111 | 0137 | 95 | 0x5F | _ | - |
0110 0000 | 0140 | 96 | 0x60 | ` | - |
0110 0001 | 0141 | 97 | 0x61 | a | letter a |
0110 0010 | 0142 | 98 | 0x62 | b | letter b |
0110 0011 | 0143 | 99 | 0x63 | c | letter c |
0110 0100 | 0144 | 100 | 0x64 | d | letter d |
0110 0101 | 0145 | 101 | 0x65 | e | letter e |
0110 0110 | 0146 | 102 | 0x66 | f | letter f |
0110 0111 | 0147 | 103 | 0x67 | g | letter g |
0110 1000 | 0150 | 104 | 0x68 | h | letter h |
0110 1001 | 0151 | 105 | 0x69 | i | letter i |
0110 1010 | 0152 | 106 | 0x6A | j | letter j |
0110 1011 | 0153 | 107 | 0x6B | k | letter k |
0110 1100 | 0154 | 108 | 0x6C | l | letter l |
0110 1101 | 0155 | 109 | 0x6D | m | letter m |
0110 1110 | 0156 | 110 | 0x6E | n | letter n |
0110 1111 | 0157 | 111 | 0x6F | o | letter o |
0111 0000 | 0160 | 112 | 0x70 | p | letter p |
0111 0001 | 0161 | 113 | 0x71 | q | letter q |
0111 0010 | 0162 | 114 | 0x72 | r | letter r |
0111 0011 | 0163 | 115 | 0x73 | s | letter s |
0111 0100 | 0164 | 116 | 0x74 | t | letter t |
0111 0101 | 0165 | 117 | 0x75 | u | letter u |
0111 0110 | 0166 | 118 | 0x76 | v | letter v |
0111 0111 | 0167 | 119 | 0x77 | w | letter w |
0111 1000 | 0170 | 120 | 0x78 | x | letter x |
0111 1001 | 0171 | 121 | 0x79 | y | letter y |
0111 1010 | 0172 | 122 | 0x7A | z | letter z |
0111 1011 | 0173 | 123 | 0x7B | { | - |
0111 1100 | 0174 | 124 | 0x7C | | | - |
0111 1101 | 0175 | 125 | 0x7D | } | - |
0111 1110 | 0176 | 126 | 0x7E | ~ | - |
0111 1111 | 0177 | 127 | 0x7F | DEL | delete |