Code

Binary Code Translator

Binary is how computers store every letter you read. Each character becomes an 8-bit number, a string of ones and zeros, using the ASCII standard. This translator goes both ways: text to binary, and binary back to text.

binary.decode
Text
Binary

Result appears here

It runs on your device, so you can paste sensitive notes without any of it touching a server. Type to encode, or paste 8-bit groups separated by spaces to decode.

How the Binary Code works

Each character has a number in the ASCII table. That number is written in base 2, using only 0 and 1, and padded to 8 digits (one byte). The letter H is 72, which is 01001000.

To decode, the reverse happens: each 8-digit group is read as a base-2 number and looked up as a character. This tool expects groups separated by spaces so the boundaries are clear.

Examples

Hi
01001000 01101001
A
01000001
A is ASCII 65.
01001110 01001111
NO
Decoding back to text.

Binary Code chart

Every letter at a glance. Use it to read or write by hand.

A
01000001
B
01000010
C
01000011
D
01000100
E
01000101
F
01000110
G
01000111
H
01001000
I
01001001
J
01001010
K
01001011
L
01001100
M
01001101
N
01001110
O
01001111
P
01010000
Q
01010001
R
01010010
S
01010011
T
01010100
U
01010101
V
01010110
W
01010111
X
01011000
Y
01011001
Z
01011010

History and origins

The idea of representing information with two states goes back to Gottfried Leibniz in the 17th century, but binary became the language of machines with the digital computers of the 1940s. Two states, on and off, are trivial to build reliably in hardware, which is why every modern computer speaks it.

ASCII, the code that maps letters to numbers, was standardised in 1963 so that different machines could exchange text. The capital A you type is stored as the number 65, which in 8-bit binary is 01000001.

Frequently asked questions

What is 8-bit binary?

It means each character uses 8 binary digits, or one byte. Eight bits can represent 256 different values, which is enough to cover the standard ASCII character set with room to spare.

How do I convert binary back to text?

Paste your binary into the box with a space between each 8-digit group. The tool reads each group as a number and looks up the matching character automatically.

Does this handle emoji and accented letters?

The character to binary direction handles any character your keyboard produces. For plain ASCII letters and digits the output is clean 8-bit bytes, which is what most people want.

Learn more

Go deeper on the ideas behind this tool.

Related translators