BrowseASCII ArtSymbolsASCII TableLearnToolsImage to ASCIIASCII CameraGIF to ASCIIVideo to ASCIIDot ArtEmoji Art

What Is ASCII?

ASCII is the character encoding that taught computers to agree on text. It maps 128 characters — letters, digits, punctuation, and control codes — to the numbers 0 through 127. Because everyone used the same map, a file written on one machine could be read on another. This guide explains what ASCII stands for, how its 7-bit design works, how the table is organized, and why a standard from 1963 still underpins modern computing.

What does ASCII stand for?

ASCII stands for the American Standard Code for Information Interchange. It is pronounced "ask-ee".

The key word is interchange. Before ASCII, manufacturers used their own incompatible codes for text, so data could not move between systems without translation. ASCII was published in 1963 by the American Standards Association (now ANSI) to give everyone one shared code, and it was revised in 1967 and 1986 into the form used today.

What is an ASCII code?

An ASCII code is the number assigned to a character. The letter A is 65, a is 97, the digit 0 is 48, and a space is 32.

Computers cannot store letters directly — they store numbers. ASCII is the agreement about which number means which character. When you press A on a keyboard, the system records 65; when it draws the screen, it looks up 65 and paints an A. Every text file is, underneath, a sequence of these numbers.

The 7-bit design

ASCII is a 7-bit code. A bit is a single 0 or 1, and 7 bits together can represent 2^7 = 128 different combinations. That is exactly why ASCII has 128 characters, numbered 0 to 127, and no more.

Seven bits was a deliberate choice for the technology of the era: it covered English text and control signals while staying compact for slow, expensive communication lines. Computers group bits into 8-bit bytes, so an ASCII character fits in one byte with the top bit left as zero — a spare bit that later systems used for error checking or for extended character sets.

How the ASCII table is organized

The 128 codes fall into clear ranges. Codes 0–31 and 127 are control characters. Code 32 is the space. Codes 33–47, 58–64, 91–96, and 123–126 are punctuation and symbols. Codes 48–57 are the digits 0–9. Codes 65–90 are the uppercase letters A–Z, and 97–122 are the lowercase letters a–z.

The layout is intentional and tidy. Digits start at 48, so the code for any digit is 48 plus its value. Uppercase and lowercase letters are 32 apart (A is 65, a is 97), which is a single bit of difference — so a computer can switch case just by flipping that one bit. These patterns make text processing fast and simple.

Control characters vs printable characters

Printable characters are the ones you can see: letters, digits, punctuation, and the space. Control characters are invisible instructions inherited from teletype machines. They do not draw a glyph; they trigger an action.

The ones you still meet daily are line feed (10) and carriage return (13), which end lines, horizontal tab (9), escape (27), which begins terminal control sequences, and the bell (7), which once rang an actual bell. Delete (127) and null (0) round out the set. Most other control codes — for older data-link and device-control tasks — are rarely used now, but they remain in the standard.

Why ASCII still matters

ASCII never went away — it got absorbed. When Unicode arrived to cover every writing system, its designers made the first 128 code points identical to ASCII, and UTF-8, the dominant encoding on the web, stores those 128 characters as the exact same single bytes ASCII used. In other words, every ASCII file is already a valid UTF-8 file.

That backward compatibility is why ASCII is everywhere: in source code, network protocols like HTTP, configuration files, and the plain-text core of email. Understanding ASCII is understanding the foundation the rest of digital text is built on.

Dec  Hex  Char   Meaning
32   20   space  Space
48   30   0      Digit zero
65   41   A      Uppercase A
97   61   a      Lowercase a
10   0A   LF     Line Feed (newline)

Related

FAQ

What does ASCII stand for?
ASCII stands for the American Standard Code for Information Interchange. It is a character encoding standard first published in 1963 that maps 128 characters to the numbers 0–127.
What is an ASCII code?
An ASCII code is the number that represents a character. For example, A is 65, a is 97, the digit 0 is 48, and a space is 32. Computers store text as these numbers.
Why does ASCII have exactly 128 characters?
Because ASCII is a 7-bit code. Seven bits can represent 2^7 = 128 different values, so ASCII covers codes 0 through 127 and no more.
Is ASCII still used today?
Yes. Unicode and UTF-8 were designed so their first 128 characters match ASCII exactly, so ASCII lives on inside modern encodings and remains the backbone of code, protocols, and plain text.