Done

💻 ASCII ↔ Binary Converter

Convert text to Binary, Hex, Octal and Decimal — and back again. Visualize bit patterns, explore the ASCII table, and download results.

Output Format
Separator
Bit Width
Text Input
0 chars
Binary Output
0 chars
Character Breakdown
CharDecBinHexOct
Bit Pattern Visualizer (first 16 chars)
Quick Samples
ASCII Table
Click any character to insert it into the input.
Encoding Info
ASCII — 7-bit encoding covering 128 characters (0–127). Printable chars start at 32 (Space). Control chars 0–31 are non-printable.
Binary — Base-2 representation. Each ASCII char maps to 7 or 8 bits. 'A' = 01000001.
Hexadecimal — Base-16 using 0–9 and A–F. Each byte = 2 hex digits. 'A' = 41.
Octal — Base-8 using digits 0–7. 'A' = 101. Historically used in Unix file permissions.
History
No conversions yet

ASCII & Binary Encoding Explained

What is ASCII?

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.

Binary Representation

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.

Hex & Octal Uses

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).

Beyond ASCII

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.