Log in Sign up
Back to Discover
💻

ASCII

technology Maturity 11-13

Computers use a special code.

USASCII code chart.svg
USASCII code chart.svg
It helps them read letters. It also helps them read numbers. This code lets machines talk to us. It makes our work easy. Do you like to type on a keyboard?

39 words

Computers use a special code to talk.

USASCII code chart.svg
USASCII code chart.svg
This code uses numbers to show letters. It also shows numbers and marks.
ASCII1963-infobox-paths.svg
ASCII1963-infobox-paths.svg
The code has 128 different parts. Some parts are for printing letters. Other parts tell machines what to do. These help machines start or stop work. The code helps machines sort lists easily. It was made a long time ago. Now, it helps many computers work today.

71 words

Computers need a way to talk to each other. They use a special code called ASCII.

USASCII code chart.svg
USASCII code chart.svg
This code uses numbers to stand for letters and marks.

There are 128 different codes in total. Ninety-five of these are for things you can print. These include numbers, capital letters, and small letters. They also include marks like periods and commas. The other 33 codes are for control. These are not meant to be printed. They tell machines to do things. For example, they can tell a printer to start a new line.

ASCII1963-infobox-paths.svg
ASCII1963-infobox-paths.svg

Work on this code began in 1961. An engineer named Bob Bemer helped start it. The first version came out in 1963.

US ASCII Control Character Symbols.png
US ASCII Control Character Symbols.png
The code uses seven bits to store each part. A bit is a tiny piece of data.

ASCII helps computers sort lists. It puts all capital letters before small letters. This way is called ASCIIbetical order. This old code was very important. It helped shape how modern computers work today.

171 words

Computers and machines need a shared way to talk to each other. They use a special system called ASCII to represent text. This name stands for the American Standard Code for Information Interchange.

USASCII code chart.svg
USASCII code chart.svg
It is a way to turn letters and marks into numbers. This system is a big part of how modern computers work. In fact, the first 128 parts of the modern Unicode system are the same as ASCII. It helps machines store and move written language. Without these rules, different devices might not understand the same message.

How does this code actually work? It uses a seven-bit integer to store each character. A bit is a tiny piece of data. By using seven bits, the system creates 128 different code points.

ASCII Table (suitable for printing).svg
ASCII Table (suitable for printing).svg
Ninety-five of these are printable characters. You can see these as digits 0 to 9, capital letters, and lowercase letters. They also include common punctuation marks. The other 33 codes are called control characters. These are not meant to be printed on a page. Instead, they tell a machine to do a task. For example, a 'tab' or a 'line feed' tells a printer to move the paper.

People worked hard to build this standard many years ago. Work began in May 1961. An IBM engineer named Bob Bemer submitted a proposal to help. He worked with a group called the X3 subcommittee.

ASCII1963-infobox-paths.svg
ASCII1963-infobox-paths.svg
The first version of the standard was published in 1963. This happened at the same time as the Teletype Model 33. The code was updated several times over the years. Major revisions happened in 1967 and 1986. These changes helped the code stay useful as technology grew.

There are many interesting facts about how the codes were chosen. The committee wanted to make sorting lists very easy. Because of this, they put the space character before the letters. They also put many punctuation marks before the numbers.

US ASCII Control Character Symbols.png
US ASCII Control Character Symbols.png
This specific order is sometimes called ASCIIbetical order. The designers also made a clever choice for the letters. They placed lowercase letters so they only differed from uppercase letters by one bit. This made it much easier for keyboards and printers to work. It also helped computers match letters without worrying about case.

You can see the history of ASCII in the tools we use today. Many of the symbols on your keyboard come from old mechanical typewriters. For example, the symbols like # or $ were based on the Remington No. 2 typewriter. Some parts of the code are even used on the Internet. In 2015, a document describing ASCII was made an Internet Standard. While ASCII does not have marks like the ones in "jalapeño," it still forms the base for almost everything. It is a bridge between the old telegraph machines and our modern digital world.

477 words

ASCII stands for the American Standard Code for Information Interchange. It is a character encoding standard used to represent text on digital devices. This system allows computers to process, store, and communicate written language by assigning specific numbers to characters.

USASCII code chart.svg
USASCII code chart.svg
Without a shared standard like ASCII, different machines might not understand the same messages. It has had a massive impact on how computer languages and text markup are designed. In fact, the first 128 code points of the modern Unicode system are identical to ASCII. This makes ASCII a foundational building block for almost all modern digital communication.

The mechanism of ASCII relies on a seven-bit integer system. A bit is the smallest unit of digital data. By using seven bits, the system creates a total of 128 unique code points.

ASCII Table (suitable for printing).svg
ASCII Table (suitable for printing).svg
Ninety-five of these are printable characters. This group includes digits 0 through 9, uppercase letters A through Z, and lowercase letters a through z. It also includes common punctuation symbols. The remaining 33 code points are non-printing control characters. These were originally designed for teleprinters to manage data streams. Common examples still used today include the tab, line feed, and carriage return.

ASCII is organized into distinct groups to make it easier for machines to handle. The first 32 positions are reserved for control characters. These codes provide meta-information or control peripheral devices like printers.

US ASCII Control Character Symbols.png
US ASCII Control Character Symbols.png
The designers placed the "space" character before the graphic characters. This choice was made to make the collation, or sorting, of data much easier. Most special signs used as separators are also placed before digits. The code was also patterned so that uppercase and lowercase letters were not interleaved. This allows the system to be easily reduced to a 64-character set if needed.

The history of ASCII began with the standardization of seven-bit teleprinter codes. These codes were developed from earlier telegraph systems like the Baudot code. In May 1961, IBM engineer Bob Bemer submitted a proposal to the American Standards Association. He worked with the X3.2 subcommittee to develop the standard.

ASCII1963-infobox-paths.svg
ASCII1963-infobox-paths.svg
The first edition was published in 1963, appearing alongside the Teletype Model 33. The standard underwent a major revision in 1967 and several others through 1986. Over time, the organizing body changed names from the ASA to ANSI. In 2015, the use of ASCII for network interchange was formally elevated to an Internet Standard.

Specific design choices in ASCII were driven by technical needs and costs. The committee debated using a six-bit code with a "shift function" to save space. A shift function uses certain codes to change how the following characters are read. However, they rejected this because errors in a shift code could make a whole message unreadable. They also considered an eight-bit code to allow for more efficient decimal encoding. Ultimately, they chose a seven-bit code to minimize the costs of data transmission. This seven-bit choice also left room for an eighth bit to be used as a parity bit for error checking.

Many symbols in ASCII are linked to the history of mechanical typewriters. For example, the symbols #, $, and % were based on the Remington No. 2 typewriter from 1878. The committee even placed the @ symbol in a specific position to account for its use in different regions. Some interesting quirks exist in the character order, often called "ASCIIbetical" order. In this system, all uppercase letters come before lowercase letters. This means that a capital "Z" actually precedes a lowercase "a" in a digital sort. Digits and many punctuation marks also appear before the alphabet.

While ASCII is highly efficient, it has limitations in a globalized world. It lacks code points for characters with diacritical marks, such as the accents in "résumé" or "jalapeño." To solve this, some hardware can render these marks by overwriting a letter with a tilde or a backtick. Despite these gaps, ASCII remains a vital part of computer science. It connects the era of telegraphy and mechanical typewriters to the modern era of the Internet. It serves as the primary bridge for how machines interpret the human alphabet.

692 words
🖼️ Images & Media (4)
File:USASCII code chart.svg
USASCII code chart.svg
File:ASCII1963-infobox-paths.svg
ASCII1963-infobox-paths.svg
File:ASCII Table (suitable for printing).svg
ASCII Table (suitable for printing).svg
File:US ASCII Control Character Symbols.png
US ASCII Control Character Symbols.png
Up Next
💻
UTF-8
Technology
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.