📜 Complete Guide to ASCII Binary Values for Uppercase and Lowercase Letters
📜 Complete Guide to ASCII Binary Values for Uppercase and Lowercase Letters
In computing, ASCII (American Standard Code for Information Interchange) assigns a unique numeric code to each character, which can be represented in binary, decimal, or hexadecimal.
When using 8-bit binary, the first three bits in these letter values are usually fixed, and the last five bits change according to the letter’s position in the alphabet.
🔠Uppercase Letters (A–Z)
In ASCII, uppercase letters start from decimal 65 (A) and go up to decimal 90 (Z). Below is the 8-bit binary ASCII table for uppercase letters:
| Letter | Decimal | Binary (8-bit) | Hexadecimal |
|---|---|---|---|
| A | 65 | 01000001 |
0x41 |
| B | 66 | 01000010 |
0x42 |
| C | 67 | 01000011 |
0x43 |
| D | 68 | 01000100 |
0x44 |
| E | 69 | 01000101 |
0x45 |
| F | 70 | 01000110 |
0x46 |
| G | 71 | 01000111 |
0x47 |
| H | 72 | 01001000 |
0x48 |
| I | 73 | 01001001 |
0x49 |
| J | 74 | 01001010 |
0x4A |
| K | 75 | 01001011 |
0x4B |
| L | 76 | 01001100 |
0x4C |
| M | 77 | 01001101 |
0x4D |
| N | 78 | 01001110 |
0x4E |
| O | 79 | 01001111 |
0x4F |
| P | 80 | 01010000 |
0x50 |
| Q | 81 | 01010001 |
0x51 |
| R | 82 | 01010010 |
0x52 |
| S | 83 | 01010011 |
0x53 |
| T | 84 | 01010100 |
0x54 |
| U | 85 | 01010101 |
0x55 |
| V | 86 | 01010110 |
0x56 |
| W | 87 | 01010111 |
0x57 |
| X | 88 | 01011000 |
0x58 |
| Y | 89 | 01011001 |
0x59 |
| Z | 90 | 01011010 |
0x5A |
🔡 Lowercase Letters (a–z)
Lowercase letters in ASCII start from decimal 97 (a) to decimal 122 (z).
| Letter | Decimal | Binary (8-bit) | Hexadecimal |
|---|---|---|---|
| a | 97 | 01100001 |
0x61 |
| b | 98 | 01100010 |
0x62 |
| c | 99 | 01100011 |
0x63 |
| d | 100 | 01100100 |
0x64 |
| e | 101 | 01100101 |
0x65 |
| f | 102 | 01100110 |
0x66 |
| g | 103 | 01100111 |
0x67 |
| h | 104 | 01101000 |
0x68 |
| i | 105 | 01101001 |
0x69 |
| j | 106 | 01101010 |
0x6A |
| k | 107 | 01101011 |
0x6B |
| l | 108 | 01101100 |
0x6C |
| m | 109 | 01101101 |
0x6D |
| n | 110 | 01101110 |
0x6E |
| o | 111 | 01101111 |
0x6F |
| p | 112 | 01110000 |
0x70 |
| q | 113 | 01110001 |
0x71 |
| r | 114 | 01110010 |
0x72 |
| s | 115 | 01110011 |
0x73 |
| t | 116 | 01110100 |
0x74 |
| u | 117 | 01110101 |
0x75 |
| v | 118 | 01110110 |
0x76 |
| w | 119 | 01110111 |
0x77 |
| x | 120 | 01111000 |
0x78 |
| y | 121 | 01111001 |
0x79 |
| z | 122 | 01111010 |
0x7A |
📌 Pattern Observations
- Uppercase Letters always start with
010in binary (65–90). - Lowercase Letters always start with
011in binary (97–122). - The difference between an uppercase and its lowercase letter is exactly:
- Decimal: 32
- Binary: The third bit from the left changes from
0to1.
Example:
A=01000001a=01100001
đź’ˇ Examples of Usage
Example 1: Converting Text to ASCII Binary
Example 3: Case Conversion in Binary
- Uppercase C:
01000011(Decimal 67) - Lowercase c:
01100011(Decimal 99)
Only the third bit changes, showing how binary patterns reflect letter cases.
🎯 Summary
- ASCII maps each letter to a numeric code, which can be represented in binary.
- Uppercase letters (A–Z) range from 01000001 to 01011010.
- Lowercase letters (a–z) range from 01100001 to 01111010.
- Binary is essential in data encoding, encryption, and low-level programming.