Skip to content

Binary to Text Translator

Your data never leaves your browser

Paste binary code to read it as text, or type text to get its binary. Works with UTF-8, emoji, hex and decimal bytes.

Bytes as:
Input: Binary
Output: Text
Ctrl+Shift+CCopy outputText is encoded as UTF-8, so letters outside ASCII and emoji take 2 to 4 bytes.

Share this tool

Found it useful? Help a fellow developer discover it.

https://developertoolkit.dev/tools/binary-to-text

How binary to text conversion works

Computers store every letter as a number, and they store every number as bits. Converting binary to text means running that backwards: split the bits into groups of 8, read each group as a number, then look up which character that number stands for. Take 01001000 01101001. The first byte is 64 + 8 = 72, which is H in ASCII. The second is 64 + 32 + 8 + 1 = 105, which is i. So the message reads “Hi”.

Plain English letters, digits and punctuation all fit in one byte, because they come from the original 128-character ASCII table. Anything else does not. Accented letters, Chinese characters and emoji are stored as UTF-8, which uses 2, 3 or 4 bytes per character. A simple binary translator that maps one byte to one letter turns those into garbage. This one decodes the bytes as UTF-8, so 11110000 10011111 10011010 10000000 comes out as a rocket emoji rather than four unrelated symbols. The character breakdown under the tool shows exactly which bytes belong to which character.

The alphabet in binary

Every uppercase letter starts with 010, every lowercase letter with 011, and every digit with 0011. The last five bits of a letter are its position in the alphabet, so A is 00001 and Z is 11010. A space is 00100000.

A01000001
B01000010
C01000011
D01000100
E01000101
F01000110
G01000111
H01001000
I01001001
J01001010
K01001011
L01001100
M01001101
N01001110
O01001111
P01010000
Q01010001
R01010010
S01010011
T01010100
U01010101
V01010110
W01010111
X01011000
Y01011001
Z01011010
a01100001
b01100010
c01100011
d01100100
e01100101
f01100110
g01100111
h01101000
i01101001
j01101010
k01101011
l01101100
m01101101
n01101110
o01101111
p01110000
q01110001
r01110010
s01110011
t01110100
u01110101
v01110110
w01110111
x01111000
y01111001
z01111010
000110000
100110001
200110010
300110011
400110100
500110101
600110110
700110111
800111000
900111001

How to use

  1. Paste your binary into the input. Spaces, commas, line breaks and 0b prefixes between bytes are all fine, and so is one long unbroken run of bits.
  2. The text appears on the right as you type. Copy it with the button in the panel header.
  3. To go the other way, switch to Text → Binary and type your text. Choose a space, a comma or no separator between bytes.
  4. Pick Hex or Decimal to decode or produce bytes in those forms instead, for example to turn hex into ASCII text.
  5. Use Swap to feed the result back in and check that it converts back to what you started with.

Frequently Asked Questions

How do you convert binary to text by hand?

Split the binary into groups of 8 bits. For each group, add up the place values of the 1s, which are 128, 64, 32, 16, 8, 4, 2 and 1 from left to right. Then look the number up in an ASCII table. 01000001 is 64 + 1 = 65, which is A. Repeat for every byte and join the letters together.

What does 01001000 01100101 01101100 01101100 01101111 mean?

It spells "Hello". The bytes are 72, 101, 108, 108 and 111, which are the ASCII codes for H, e, l, l and o. Paste any binary message into the translator above to decode it the same way.

Why does each character use 8 bits?

A byte is 8 bits, and text is stored one byte at a time. ASCII only needs 7 bits for its 128 characters, which is why every ASCII byte starts with a 0. Some old systems and puzzles write text in 7-bit groups. If your binary has no spaces and its length divides by 7 but not 8, this tool reads it as 7-bit ASCII automatically.

How are emoji and accented letters written in binary?

With UTF-8, which uses more than one byte for anything outside ASCII. é is 2 bytes (11000011 10101001), most Chinese and Japanese characters are 3 bytes, and emoji are 4 bytes. The first bits of each byte say how many bytes the character spans, so a decoder knows where one character ends and the next begins.

What if my binary code has no spaces?

Paste it as one long string. The translator splits it into 8-bit bytes from the left, or into 7-bit groups when the length only divides by 7. If it divides by neither, a digit is missing or extra somewhere, and the error message tells you how many bits it counted.

Can it convert hex to ASCII text too?

Yes. Choose Hex as the byte format and paste hex such as 48 65 6C 6C 6F, 0x48 0x65 or \x48\x65. It decodes to Hello. Decimal byte values such as 72 101 108 work the same way.

Converting a single binary number to decimal or hex, rather than decoding text? Use the number base converter instead.

Related Tools