Text as numbers: ASCII

About this lesson: Text as numbers: ASCII

In short

Computers only store numbers, so every character has a code. ASCII is a code table: A is 65, B is 66, and so on. Move the slider through the table.

Text as numbers: ASCII

What you'll explore

Character codes: Every letter is a number
Computers only store numbers, so every character has a code. ASCII is a code table: A is 65, B is 66, and so on. Move the slider through the table.
Words: Capital or small?
A word is stored as a list of codes. Capital and small letters have different codes, which is why passwords care about capitals.
Sending text: Eight bits per letter
To send a message, each character's code travels as 8 bits. The receiver uses the same table to turn the bits back into letters. Send the message.
Check yourself: Decode it
The ASCII codes 68, 79, 71 arrive.

Also in this lesson

  • Common mix-ups
  • Codes to remember
  • Beyond ASCII
  • Secret codes

Words to know

character
A letter, digit, space or symbol.
character set
A list of characters and their codes.
ASCII
A 7-bit character code with 128 characters.
Unicode
A larger code that covers almost every writing system.
case-sensitive
Treating capital and small letters as different.

Sources

  • ANSI X3.4 (ASCII)
  • The Unicode Consortium

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 4 short steps and a 6-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 11 November 2026.

← Binary: bits and switches · Logic gates →

All lessons in Term 2 · Computing · Age 12