Convert between text and ASCII codes. View decimal, hex, octal, and binary representations of every character.
| Char | Dec | Hex | Oct | Binary | Description |
|---|
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numerical values to letters, digits, punctuation, and control characters. Developed in the 1960s, it uses 7 bits to represent 128 characters (0-127). ASCII remains the foundation of modern character encodings like UTF-8.
| Range | Type | Description |
|---|---|---|
| 0-31 | Control | Non-printable characters (tab, newline, etc.) |
| 32 | Space | Space character |
| 33-47 | Punctuation | ! " # $ % & ' ( ) * + , - . / |
| 48-57 | Digits | 0 through 9 |
| 65-90 | Uppercase | A through Z |
| 97-122 | Lowercase | a through z |
ASCII encodes 128 characters using 7 bits. Unicode encodes over 149,000 characters from all writing systems using up to 32 bits. UTF-8, the most common Unicode encoding, is backward-compatible with ASCII — the first 128 UTF-8 code points are identical to ASCII.