| Char | Dec | Bin | Hex | Oct |
|---|
Convert text to Binary, Hex, Octal and Decimal — and back again. Visualize bit patterns, explore the ASCII table, and download results.
| Char | Dec | Bin | Hex | Oct |
|---|
ASCII (American Standard Code for Information Interchange) was published in 1963 and uses 7 bits to encode 128 characters: 33 non-printable control codes and 95 printable characters including letters, digits, and punctuation.
Each character's ASCII decimal value is converted to base-2. 'H' = 72 decimal = 01001000 binary. Computers store these as voltage levels — high (1) or low (0) — in 8-bit bytes called octets.
Hexadecimal (base-16) is a compact binary representation used in memory addresses, color codes and bytecode. Octal (base-8) was common in early Unix systems for file permission modes (e.g., chmod 755).
Extended ASCII uses 8 bits for 256 characters. Unicode (UTF-8/16/32) extends this further to over 1.1 million code points, making it the universal standard for text encoding across all languages and emoji.