ASCII Table Reference
Complete ASCII character reference table with instant search, category filtering, and conversion between decimal, hexadecimal, octal, and binary. Look up all 128 ASCII codes instantly.
| Dec | Hex | Oct | Binary | Char | Description |
|---|
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (ad‑free + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (ad‑free)
About ASCII Table Reference
The ASCII Table Reference is a complete, interactive guide to all 128 ASCII (American Standard Code for Information Interchange) characters. Instantly search, filter by category, convert between decimal, hexadecimal, octal, and binary formats, and explore the binary structure of each character. Whether you are a developer debugging character encoding, a student learning about data representation, or anyone who needs quick ASCII lookups, this tool provides everything in one place.
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard first published in 1963. It uses 7 bits to represent 128 characters, assigning each a unique number from 0 to 127. ASCII is the foundation of virtually all modern character encoding systems, including UTF-8, which is backward-compatible with ASCII for its first 128 code points.
The standard was developed to enable different computers and devices to exchange text data reliably. Before ASCII, different manufacturers used incompatible character sets, making communication between systems difficult.
ASCII Character Categories
The 128 ASCII characters are organized into distinct groups, each serving a different purpose:
Control Characters (0-31, 127)
33 non-printable characters originally designed to control hardware devices. Notable examples include NUL (0), Tab (9), Line Feed (10), Carriage Return (13), and Escape (27).
Space (32)
The space character separates words in text. Though invisible, it is a printable character and occupies one position in a string.
Symbols & Punctuation (33-47, 58-64, 91-96, 123-126)
32 special characters including punctuation marks (!"#$%&), mathematical operators (+=-*/), and brackets. Essential for programming and written text.
Digits (48-57)
The 10 Arabic numerals 0-9. In ASCII, digits start at code 48, so the digit '0' has value 48, '1' has 49, and so on up to '9' at 57.
Uppercase Letters (65-90)
The 26 English capital letters A-Z. 'A' starts at code 65 and 'Z' ends at 90. The difference between uppercase and lowercase is exactly 32.
Lowercase Letters (97-122)
The 26 English lowercase letters a-z. 'a' starts at code 97 and 'z' ends at 122. To convert uppercase to lowercase, simply add 32 to the ASCII value.
How to Use This Tool
- Search or browse: Use the search box to find characters by name, decimal value, hex code, or the character itself. Or scroll through the full table of 128 ASCII characters.
- Filter by category: Click the category buttons (Control, Symbols, Digits, Uppercase, Lowercase) to show only characters in that group.
- Convert between formats: Use the Character Converter to enter a value in any format (decimal, hex, octal, binary, or character) and see all other formats instantly, with a visual binary representation.
- Convert text strings: Use the Text to ASCII section to enter any text and see the ASCII value for each character displayed as interactive cards.
Common Use Cases
Programming and Development
Developers frequently need ASCII values when working with string manipulation, character encoding, serial communication protocols, file parsers, or low-level system programming. The hex and binary representations are especially useful for debugging network protocols and binary file formats.
Learning Computer Science
ASCII is a fundamental concept in computer science education. Understanding how characters are represented as numbers helps students grasp concepts like binary encoding, data types, string comparison algorithms, and the relationship between text and memory.
Data Processing and ETL
Data engineers often encounter character encoding issues when processing files from different sources. Quick ASCII lookups help identify and fix encoding problems, especially with control characters that can corrupt data pipelines.
Embedded Systems and IoT
When working with microcontrollers, serial communication (UART), or IoT protocols, engineers need ASCII tables to encode and decode messages at the byte level.
Tips and Tricks
- Case conversion shortcut: Toggle between uppercase and lowercase by flipping bit 5 (XOR with 32). For example, 'A' (65) XOR 32 = 'a' (97).
- Digit to number: Subtract 48 (or 0x30) from a digit's ASCII value to get its numeric value. '7' (55) - 48 = 7.
- Check if letter: A character is a letter if (c AND 0xDF) is between 65 and 90 — this check works for both cases simultaneously.
- Control character formula: Control characters 1-26 correspond to Ctrl+A through Ctrl+Z. The value equals the letter's position in the alphabet.
ASCII vs Other Encodings
While ASCII covers only 128 characters (sufficient for English text), modern applications typically use broader encodings:
- Extended ASCII (128-255): Various 8-bit extensions added characters for Western European languages, but different systems used different mappings (ISO 8859-1, Windows-1252, etc.).
- Unicode: A universal standard encoding over 149,000 characters from virtually every writing system. UTF-8, the most common encoding on the web, uses 1-4 bytes per character and is fully backward-compatible with ASCII.
- UTF-16: Uses 2 or 4 bytes per character. Common in Windows internals and Java/JavaScript string representations.
Frequently Asked Questions
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values (0-127) to 128 characters including letters, digits, punctuation, and control characters. It was first published in 1963 and remains the foundation of modern text encoding systems like UTF-8.
How many characters are in the ASCII table?
The standard ASCII table contains 128 characters (0-127), divided into 33 control characters (0-31 and 127), 1 space character (32), 10 digits (48-57), 26 uppercase letters (65-90), 26 lowercase letters (97-122), and 32 punctuation/symbol characters.
What is the difference between ASCII and Unicode?
ASCII encodes only 128 characters using 7 bits, covering basic English letters, digits, and symbols. Unicode is a much larger standard that encodes over 149,000 characters from virtually every writing system in the world. The first 128 Unicode code points are identical to ASCII, making ASCII a subset of Unicode.
How do I convert a character to its ASCII decimal value?
Use the Character Converter at the top of this tool. Type any character in the Character field and the decimal, hexadecimal, octal, and binary values update instantly. You can also click any row in the ASCII table to load it into the converter.
What are ASCII control characters?
ASCII control characters (codes 0-31 and 127) are non-printable characters originally designed to control hardware devices like printers and teleprinters. Common examples include NUL (0), Tab/HT (9), Line Feed/LF (10), Carriage Return/CR (13), and Escape/ESC (27). Most are rarely used in modern computing, but some like Tab, LF, and CR remain essential.
Additional Resources
Reference this content, page, or tool as:
"ASCII Table Reference" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Mar 7, 2026