ASCII Character Encoding

How computers represent text as numbers using the American Standard Code for Information Interchange

7-Bit Standard

ASCII uses 7 bits to represent 128 characters (0-127), including letters, digits, punctuation, and control codes.

Text to Numbers

Each character maps to a unique decimal number, which computers store as binary. 'A' = 65 = 01000001.

Pattern Logic

Letters follow a pattern: A-Z are 65-90, a-z are 97-122. Digits 0-9 are 48-57. Case differs by 32.

8-Bit Parity

The 8th bit was used for error detection in serial transmission. Even/odd parity ensures a known count of 1s.

Quick Reference Table
Interactive Encoder
8th Bit Parity:
Character → Decimal → Binary → Hexadecimal
Encoded Result:
Enter text above to see its ASCII encoding