New Batch
Register
Priority Track

Admissions Open for May 20, 2026

🎁 Claim your 1-Month FREE Trial today. No commitment required.

Enroll Now

· VD · Computer Science  · 4 min read

Introduction to ASCII: How Computers Learned to Speak English

Ever wondered how a computer knows that "A" is different from "B" when all it sees are zeros and ones? This is the story of ASCII, the translator that changed everything.

Ever wondered how a computer knows that "A" is different from "B" when all it sees are zeros and ones? This is the story of ASCII, the translator that changed everything.

The Great Language Barrier

Imagine it is the early 1960s. Computers are the size of rooms, and they are incredibly stubborn. They only speak one language: Mathematics. To a computer, everything is a number—specifically, a series of electrical pulses that we represent as 0s and 1s (Binary).

But humans are different. We speak in letters, words, and sentences. We use punctuation and symbols.

Back then, if you wanted to tell a computer “HELLO,” you couldn’t just type it. Every computer manufacturer had their own “secret code” for representing letters. An IBM machine might think ‘A’ was 12, while a DEC machine might think ‘A’ was 45. It was chaos! If you tried to send a file from one computer to another, it would look like gibberish.

The Peace Treaty: ASCII is Born

In 1963, a group of engineers decided it was time for a “Peace Treaty.” They formed a committee to create a standard language that every computer could agree on.

They called it ASCII (pronounced ASK-ee), which stands for American Standard Code for Information Interchange.

Their mission was simple: Assign a specific, unique number to every character a human might need to type.

How the Secret Code Works

Think of ASCII like a giant restaurant menu. Instead of shouting “I want a Pizza,” you just say “Number 15.” As long as the waiter and the customer have the same menu, there are no mistakes.

In ASCII:

  • The letter ‘A’ was assigned the number 65.
  • The letter ‘B’ was assigned 66.
  • The lowercase ‘a’ was assigned 97.

When you type ‘A’ on your keyboard today, the keyboard controller doesn’t send an ‘A’ to the CPU. It sends the number 65. The computer looks at its “ASCII Menu,” sees that 65 means ‘A’, and displays it on your screen.

The ASCII Table: The Universal Map

The original ASCII was a 7-bit code, meaning it could hold $2^7 = 128$ different characters (numbered 0 to 127). Here is how they divided the map:

1. The Secret Signals (0 - 31)

These are “Control Characters.” You can’t see them on the screen. They were used to tell old printers what to do.

  • 10 (Line Feed): “Move the paper up one line.”
  • 13 (Carriage Return): “Move the print head back to the start of the line.”
  • 7 (Bell): “Make a ‘ding’ sound!“

2. The Special Symbols (32 - 47)

  • 32: The Space bar (yes, even a space needs a number!)
  • 33 - 47: Symbols like ! " # $ % & ' ( ) * + , - . /

3. The Numbers (48 - 57)

Interestingly, the number ‘0’ is not represented by the value 0. It is represented by 48.

4. The Big Letters (65 - 90)

This is where the Uppercase Alphabet lives.

  • 65: A
  • 90: Z

5. The Small Letters (97 - 122)

The Lowercase Alphabet.

  • 97: a
  • 122: z

The Complete ASCII Table (0-127)

Here is the full map that computers use to translate numbers into characters.

DecCharDescriptionDecCharDescription
0NULNull64@At sign
1SOHStart of Heading65AUppercase A
2STXStart of Text66BUppercase B
3ETXEnd of Text67CUppercase C
4EOTEnd of Transmission68DUppercase D
5ENQEnquiry69EUppercase E
6ACKAcknowledge70FUppercase F
7BELBell (Ding!)71GUppercase G
8BSBackspace72HUppercase H
9TABHorizontal Tab73IUppercase I
10LFLine Feed (New Line)74JUppercase J
11VTVertical Tab75KUppercase K
12FFForm Feed76LUppercase L
13CRCarriage Return77MUppercase M
14SOShift Out78NUppercase N
15SIShift In79OUppercase O
16DLEData Link Escape80PUppercase P
17DC1Device Control 181QUppercase Q
18DC2Device Control 282RUppercase R
19DC3Device Control 383SUppercase S
20DC4Device Control 484TUppercase T
21NAKNegative Acknowledge85UUppercase U
22SYNSynchronous Idle86VUppercase V
23ETBEnd of Trans. Block87WUppercase W
24CANCancel88XUppercase X
25EMEnd of Medium89YUppercase Y
26SUBSubstitute90ZUppercase Z
27ESCEscape91[Left Bracket
28FSFile Separator92\Backslash
29GSGroup Separator93]Right Bracket
30RSRecord Separator94^Caret
31USUnit Separator95_Underscore
32[Sp]Space96`Grave Accent
33!Exclamation mark97aLowercase a
34Double quotes98bLowercase b
35#Hash99cLowercase c
36$Dollar sign100dLowercase d
37%Percent101eLowercase e
38&Ampersand102fLowercase f
39Single quote103gLowercase g
40(Left parenthesis104hLowercase h
41)Right parenthesis105iLowercase i
42*Asterisk106jLowercase j
43+Plus sign107kLowercase k
44,Comma108lLowercase l
45-Minus sign109mLowercase m
46.Period110nLowercase n
47/Slash111oLowercase o
480Zero112pLowercase p
491One113qLowercase q
502Two114rLowercase r
513Three115sLowercase s
524Four116tLowercase t
535Five117uLowercase u
546Six118vLowercase v
557Seven119wLowercase w
568Eight120xLowercase x
579Nine121yLowercase y
58:Colon122zLowercase z
59;Semicolon123{Left Brace
60<Less than124|Vertical Bar
61=Equals sign125}Right Brace
62>Greater than126~Tilde
63?Question mark127DELDelete

Why Does It Still Matter?

You might think, “Sir, 128 characters isn’t enough for the whole world! What about Emojis? What about Hindi or Gujarati script?”

You are right! Today, we use Unicode (specifically UTF-8), which can hold over a million characters. But here is the cool part: The first 128 characters of Unicode are exactly the same as the original ASCII.

ASCII is the foundation. It was the first time humans agreed on a way to turn our thoughts and words into the numbers that computers love.

Every time you send a text, write a line of code, or read this blog post, you are using a legacy that started with a few engineers and a simple table of numbers back in 1963.


Want to dive deeper into Computer Science?

At VD Computer Tuition, we don’t just teach you how to code; we teach you how computers actually work. Understanding foundations like ASCII makes you a much better programmer when you move to languages like Python or Java.

Explore our Computer Science courses in Surat or Join a Trial Class.

Back to Blog

Related Posts

View All Posts »
Chat with Sir
WhatsApp Sir
Book Free Trial