Advertisement

Interactive ASCII Table

Browse all 128 ASCII characters with search and filter. Click any character for decimal, hex, octal, binary, and HTML entity values.

A
Uppercase A
Printable Character
Decimal
65
Hexadecimal
0x41
Octal
0o101
Binary
01000001
HTML (Decimal)
A
HTML (Hex)
A
Advertisement

Related Tools

Advertisement

Frequently Asked Questions

What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to 128 characters including English letters, digits, punctuation, and control characters. Developed in the 1960s, ASCII is the foundation of modern character encoding systems like UTF-8, which is backward-compatible with ASCII.
What are control characters?
Control characters (codes 0-31 and 127) are non-printable characters originally designed to control hardware devices like printers and terminals. Common control characters include NUL (0), TAB (9), LF/Line Feed (10), CR/Carriage Return (13), and ESC/Escape (27). While most are obsolete for their original purpose, some like TAB, LF, and CR remain essential in text processing.
What is the difference between ASCII and Unicode?
ASCII defines 128 characters using 7 bits, covering only English letters and basic symbols. Unicode is a superset that defines over 149,000 characters from all writing systems worldwide, including emoji. UTF-8, the most common Unicode encoding, uses 1-4 bytes per character and is fully backward-compatible with ASCII for the first 128 characters.
How do I use ASCII codes in HTML?
In HTML, you can reference ASCII characters using numeric entities like &#65; for "A" or &#38; for "&". Named entities like &amp; and &lt; are also available for special characters. These entities are essential for displaying characters that have special meaning in HTML, such as < > & and " characters.
Why does ASCII only have 128 characters?
ASCII was designed in 1963 when computer memory was extremely expensive. Using 7 bits (2^7 = 128 values) was a practical compromise that covered English letters, digits, punctuation, and control characters. Extended ASCII (128-255) later added more characters using the full 8-bit byte, and eventually Unicode replaced both with support for the world's writing systems.
What are the most commonly used ASCII codes?
The most commonly referenced ASCII codes include: 32 (Space), 48-57 (digits 0-9), 65-90 (uppercase A-Z), 97-122 (lowercase a-z), 10 (Line Feed/newline), 13 (Carriage Return), 9 (Tab), and 0 (Null). Programmers frequently use these values for character validation, string processing, and data encoding.

How to Use the Interactive ASCII Table

Our interactive ASCII table displays all 128 ASCII characters with their decimal, hexadecimal, octal, binary, and HTML entity representations. Whether you are a programmer, web developer, or student learning about character encoding, this reference tool makes it easy to find and understand any ASCII character.

Browse the table. All 128 ASCII characters are displayed in a grid format. Control characters (0-31, 127) are highlighted differently from printable characters (32-126) for easy identification. Each cell shows the character along with its decimal code.

Search and filter. Use the search box to find characters by name, decimal value, hex value, or the character itself. The table updates in real-time to show only matching characters, making it easy to find specific codes quickly.

Click for details. Click any character to see its complete representation in all number bases (decimal, hexadecimal, octal, binary) plus its HTML entity. Copy any value with a single click for use in your code.

Understanding ASCII Encoding

ASCII was developed by the American Standards Association (now ANSI) in 1963 and has been the most influential character encoding in computing history. Every modern encoding system, including UTF-8 which powers the web, is backward-compatible with ASCII. Understanding ASCII is fundamental to working with text in any programming language.

The 128 ASCII characters are organized into four groups. Codes 0-31 are control characters used for device control and text formatting. Code 32 is the space character. Codes 33-126 are printable characters including letters, digits, and symbols. Code 127 is the DEL (delete) control character. This organization reflects the hardware constraints and communication protocols of the 1960s era.

ASCII in Modern Programming

Despite being over 60 years old, ASCII remains central to modern software development. Programming languages use ASCII values for character comparison, string sorting, and input validation. Network protocols like HTTP, SMTP, and FTP use ASCII for their command structures. File formats like CSV, JSON, and XML are built on ASCII-compatible encoding.

Common programming uses of ASCII include checking if a character is a digit (codes 48-57), uppercase letter (65-90), or lowercase letter (97-122). The relationship between uppercase and lowercase letters (differing by exactly 32) enables efficient case conversion. The sequential ordering of digits and letters enables alphabetical sorting using simple numeric comparison.

Advertisement