Uppercase A beside 65 and lowercase a beside 97 on a writing desk
AI-generated photorealistic illustration created for BrainiLab; an imagined letter-and-number still life.

An agreed number for a character

ASCII is a character-encoding standard: it gives letters, digits and other characters agreed numerical codes. In ASCII, capital A has the decimal code 65. Lowercase a has a different code: 97.

Harvard’s CS50 guide explains these assignments. A computer using this standard does not have to guess what the sender meant by 65. Both ends use the same character table.

Read two codes together

Try a tiny example. In ASCII, 65 represents A and 66 represents B. Read the two codes in order and you get AB. Change the first code to 97 and the result becomes aB.

The numbers identify characters; they do not describe the shape of a particular font. A can look different on two screens while remaining the same character. The Unicode Consortium distinguishes a character from its drawn shape.

This is encoding, not a secret cipher. Anyone with the same public table can interpret the example. Hiding a message and agreeing how to represent its characters are different jobs.

The original limit is 128

The original ASCII set uses seven bits. Seven positions, each holding 0 or 1, allow 128 different combinations. These include letters and punctuation, but also control codes, so they are not 128 visible letters.

That limited set cannot cover all the characters people write. Unicode includes the original ASCII characters and extends much further. UTF-8 keeps the same byte values for those ASCII characters while allowing other characters too.

Compare numbers assigned to characters with the timed signals in Morse code. Follow both ideas, along with product and book identifiers, in Read the codes around you.

Sources & further reading
Try a short quiz Optional

BrainiLab Academy

Ready to try it?

40 XP

3 quick questions. Take your time and learn from each answer.

Finish the lesson to earn 40 XP with your account. Take your time.

Next lessonWhat is RFID? A tag that answers by radio
Course progress & lessons
General KnowledgeA little bit of everything. What will you know?Play now