STANDARDS & ARCHITECTURE
Understanding the 128 character codes of standard ASCII
First published in 1963 by the American Standards Association, ASCII established the bedrock numeric conventions that every operating system and internet protocol continues to build upon.
While this reference lets you look up individual decimal and hex values, you can use our binary to text tool to translate entire binary strings into complete ASCII sentences with one click.
Last updated
Control characters range (0–31 and 127)
The first 32 characters in ASCII (decimal 0 through 31) plus code 127 (DEL) are non-printing control signals originally designed to orchestrate physical teleprinters and data transmission channels.
Although graphical computers no longer use mechanical teletype wheels, these control codes remain critical throughout modern software engineering:
- NUL (Code 0): The null character serves as the mandatory string terminator across C and C++ programming languages.
- LF (Code 10): Line Feed indicates the end of a line across Unix, Linux, and macOS file systems.
- CR (Code 13): Carriage Return combines with LF (
\r\n) to mark new lines across Windows systems and HTTP network headers. - ESC (Code 27): Escape begins ANSI escape sequences used to format colors and cursor movements in modern developer terminal windows.
- DEL (Code 127): Delete historically punched all seven holes through physical paper tape to erase erroneous keystrokes.
Printable characters range (32–126)
Printable ASCII spans 95 visible symbols starting at decimal 32 with the space character and terminating at decimal 126 with the tilde symbol.
The printable sequence is grouped into structured blocks:
- Punctuation & Special Symbols (33–47): Common arithmetic and punctuation marks including exclamation marks, quotes, hashtags, and slashes.
- Numerical Digits (48–57): Digits
0through9, neatly positioned so their low 4 bits match their decimal numerical value. - Uppercase Alphabet (65–90): Letters
AthroughZ. - Lowercase Alphabet (97–122): Letters
athroughz, exactly 32 values higher than their uppercase equivalents.
What is “Extended ASCII”?
“Extended ASCII” is an informal umbrella term for non-standard 8-bit character encodings that occupy decimal codes 128 through 255.
Standard ASCII is strictly a 7-bit specification defining only 128 values (0–127). When early personal computer manufacturers adopted 8-bit byte architectures, they utilized the unused eighth bit to define regional alphabets and line-drawing symbols. However, because different vendors developed competing tables—such as IBM Code Page 437, Windows-1252, and ISO-8859-1—an “extended” character written on one system frequently displayed as gibberish on another.
ASCII compatibility with modern Unicode and UTF-8
Standard ASCII was incorporated directly into the first 128 code points of Unicode, ensuring that modern UTF-8 systems decode standard ASCII bytes without translation or overhead.
Because UTF-8 preserves ASCII bit-for-bit, any legacy file containing pure ASCII text is already a valid UTF-8 file. If you are analyzing 7-bit teleprinter logs or hardware streams, explore our specialized binary to ASCII decoding utility to examine bit widths and isolate hardware control characters. For manual mathematical steps, see our how to convert binary to text tutorial.
Frequently asked questions about ASCII
What does the ASCII acronym stand for?
ASCII stands for American Standard Code for Information Interchange.
How many total characters are defined in standard ASCII?
Standard ASCII defines exactly 128 characters, numbered from 0 through 127.
Why is ASCII 7 bits instead of 8 bits?
When ASCII was drafted in the 1960s, 7 bits provided the 128 required code points while conserving bandwidth on electromechanical teleprinters. The 8th bit was frequently reserved for parity error checking.
Related encoding utilities
- Use the binary to ASCII converter – Strict 7-bit and 8-bit ASCII decoding with named control characters.
- Use the online binary decoder – Universal decoder supporting UTF-8, ASCII, and binary place values.
- Browse the complete binary alphabet chart – Quick-reference chart for uppercase and lowercase letter bytes.
- Read about text encoding standards – Discover how ASCII evolved into Unicode and UTF-8.