ASCII Table — Character Codes 0–127 Lookup
DeveloperAn ASCII table is a reference of the standard character codes 0–127 (33 control characters and 95 printable characters) shown in decimal, hex, octal, and binary.
What is it
ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding from 1963 that assigns codes 0–127 to English letters, digits, punctuation, and control characters. Unicode inherited this range unchanged, so ASCII remains the foundation of all text processing. This tool looks up the code for a character (or the character for a code) instantly and includes the complete 0–127 table. Lookups are handled entirely in your browser.
How to use
- 1Type a character (e.g. A), a decimal code (e.g. 65), or a hex code (e.g. 0x41).
- 2Press lookup to see the decimal, hex, octal, and binary values.
- 3Scroll the full 0–127 reference table below for control-character abbreviations.
Reference
| Decimal | Hex | Character |
|---|---|---|
| 9 | 09 | TAB (horizontal tab) |
| 10 | 0A | LF (line feed) |
| 13 | 0D | CR (carriage return) |
| 32 | 20 | space |
| 48 | 30 | 0 |
| 65 | 41 | A |
| 97 | 61 | a |
| 127 | 7F | DEL (delete) |
Sources & standards
- RFC 20: ASCII format for network interchange - IETF
- MDN Web Docs: Client-side web APIs - MDN Web Docs
FAQ
How does ASCII relate to Unicode?
ASCII is the 7-bit encoding covering codes 0–127, and Unicode is a superset that keeps this range identical. In UTF-8, ASCII characters are encoded as the same single byte, so they are fully compatible.
What are control characters?
Codes 0–31 and 127 that are not printed but control devices and communication. TAB (9), LF (10, newline), CR (13), and ESC (27) are still in everyday use.
Is my input sent to a server?
No. Lookup uses a static table built into the page and your input never leaves the browser.