ASCII to Binary
Enter text and the converter will show the 8-bit binary value for each character.
Binary to ASCII
Enter groups of 8 binary digits. Each group represents one ASCII character.
Quick Reference
Some useful ASCII characters.
ASCII Character Chart
ASCII uses numbers from 0 to 127 to represent characters. Use the search box or filters to find a character.
| Decimal | Binary | Hex | Character | Description |
|---|
Understanding 8-bit Binary
Computers can represent each ASCII character using an 8-bit binary number.
Example: The letter A
The ASCII decimal value for A is 65.
65 can be represented using:
Therefore the bits for 64 and 1 are switched on.
Converting binary to decimal
Take the binary number and add together the place values where there is a 1.
0×128 + 1×64 + 0×32 + 0×16 + 1×8 + 0×4 + 0×2 + 0×1
= 64 + 8
= 72
ASCII character 72 is H.
Important ASCII Values
| Character | Decimal | Binary |
|---|---|---|
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| a | 97 | 01100001 |
| b | 98 | 01100010 |
| 0 | 48 | 00110000 |
| 1 | 49 | 00110001 |
| Space | 32 | 00100000 |