Complete 7-bit ASCII character set. Search by decimal, hex, octal, binary, or character name. Filter by control characters or printable glyphs. Click to copy any character.
| Dec | Hex | Oct | Bin | Char | Description / Name | Copy |
|---|---|---|---|---|---|---|
| Loading ASCII data... | ||||||
ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication, developed from telegraph codes and first published in 1963. It uses 7 bits to represent 128 unique characters: 33 non-printing control characters (many now obsolete) and 95 printable characters including digits, uppercase/lowercase Latin letters, punctuation, and space.
Decimal 65 → Hex 41 → Binary 1000001 → Character 'A'
Decimal 97 → Hex 61 → Binary 1100001 → Character 'a'
Decimal 10 → Hex 0A → Line Feed (LF)
ASCII codes are the basis of nearly all text files, network protocols, and programming languages.
Although Unicode has largely replaced ASCII for international text, ASCII remains the foundational subset of UTF-8 (every valid ASCII byte sequence is also valid UTF-8). All modern operating systems, programming languages (C, Python, JavaScript), and protocols (HTTP, SMTP, JSON) rely on ASCII for keywords, operators, and structural syntax. Understanding ASCII codes is essential for debugging binary data, designing network packets, parsing low-level file formats, and even reverse engineering.
The control characters (0–31 and 127) were originally designed for teletype machines: Carriage Return (CR, 13) and Line Feed (LF, 10) still define line endings across platforms, while Null (NUL, 0) terminates strings in C. The printable range includes digits, letters, and punctuation that form the core of English-alphabet computing.
The table is divided into three logical groups:
The HTTP protocol (the foundation of the World Wide Web) uses ASCII text for request methods (GET, POST), headers (Host:, User-Agent:), and status codes (200 OK, 404 Not Found). SMTP (email) likewise uses ASCII commands (HELO, MAIL FROM, RCPT TO). By mastering the ASCII table, developers can read raw network traffic, craft custom HTTP requests, and debug text-based protocols without specialized tools. Our interactive table helps you quickly look up the exact code for carriage return (13) or line feed (10) when constructing TCP packets.
Standard ASCII is limited to English letters and a few symbols. For accented characters (é, ñ, ü) or non-Latin scripts, extended ASCII (ISO-8859-1, Windows-1252) or Unicode (UTF-8) must be used. However, all those encodings retain the original 128 ASCII codes as their first 128 code points, ensuring backward compatibility. This is why ASCII remains universally relevant.
'\0' (NUL), '\n' (LF, 10), '\r' (CR, 13), '\t' (TAB, 9), '\b' (BS, 8), '\e' (ESC, 27), '\\' (Backslash, 92), '\'' (Single quote, 39), '\"' (Double quote, 34)