If you are interested in programming, sooner or later you will come across the term "ASCII" (pronounced: aski). In the following, we will show you what this code is all about. We have also put together some ASCII tables for you.
What is the ASCII code?
ASCII stands for "American Standard Code for Information Interchange". In this system, each coded character is assigned a 7-bit code. These seven bits are then often represented in binary code, i.e. with seven digits that can contain either a 0 or a 1. This binary code can then in turn be converted into decimal, octal decimal or hexadecimal code so that whole sentences can be represented in just a few sequences of numbers.
The ASCII code, which was standardized in 1963, is now considered to be relatively old and has since been replaced by a quasi-further development of Unicode. But the development of the ASCII code was almost revolutionary for the time, as it standardized the basic coding of characters and control elements in computers. ASCII code can still be found in many areas of programming, such as the coding of an Internet address, the URL. Further information on the history and the background to the ASCII code can be found here..
Important: Do not confuse the ASCII code with the ANSI code. The first 127 characters of both codes are the same, but the characters that follow are markedly different.
ASCII tables
Letters
We have put together a few examples for you here. You can simply continue the sequence of letters by simply continuing to count in the decimal code. The C is assigned to the number 67. So the D is 68 in the decimal code..
binary code | Decimal code | ASCII characters |
1000001 | 65 | A. |
1000010 | 66 | B. |
1000011 | 67 | C. |
... | ... | ... |
1011000 | 88 | X |
1011001 | 89 | Y |
1011010 | 90 | Z |
1100001 | 97 | a |
1100010 | 98 | b |
1100011 | 99 | c |
... | ... | ... |
1111000 | 120 | x |
1111001 | 121 | y |
1111010 | 122 | z |
Binärcode | Dezimalcode | ASCII-Zeichen |
1000001 | 65 | A |
1000010 | 66 | B |
1000011 | 67 | C |
... | ... | ... |
1011000 | 88 | X |
1011001 | 89 | Y |
1011010 | 90 | Z |
1100001 | 97 | a |
1100010 | 98 | b |
1100011 | 99 | c |
... | ... | ... |
1111000 | 120 | x |
1111001 | 121 | y |
1111010 | 122 | z |
Counting
binary code | Decimal code | ASCII code |
0110000 | 48 | 0 |
0110001 | 49 | 1 |
0110010 | 50 | 2 |
0110011 | 51 | 3 |
0110100 | 52 | 4th |
0110101 | 53 | 5 |
0110110 | 54 | 6th |
0110111 | 55 | 7th |
0111000 | 56 | 8th |
0111001 | 57 | 9 |
Binärcode | Dezimalcode | ASCII-Code |
0110000 | 48 | 0 |
0110001 | 49 | 1 |
0110010 | 50 | 2 |
0110011 | 51 | 3 |
0110100 | 52 | 4 |
0110101 | 53 | 5 |
0110110 | 54 | 6 |
0110111 | 55 | 7 |
0111000 | 56 | 8 |
0111001 | 57 | 9 |
Special characters & symbols
binary code | Decimal code | ASCII code |
0101110 | 44 | . |
0101100 | 46 | , |
0100001 | 33 | ! |
0111111 | 63 | ? |
0101000 | 40 | ( |
0101001 | 41 | ) |
0101011 | 43 | + |
0101101 | 45 | - |
0111101 | 61 | = |
0100110 | 38 | & |
Binärcode | Dezimalcode | ASCII-Code |
0101110 | 44 | . |
0101100 | 46 | , |
0100001 | 33 | ! |
0111111 | 63 | ? |
0101000 | 40 | ( |
0101001 | 41 | ) |
0101011 | 43 | + |
0101101 | 45 | - |
0111101 | 61 | = |
0100110 | 38 | & |