Every message you type is stored as 0s and 1s, and a binary translator lets you see them: it turns English text into binary code and binary code back into readable text. This one works in both directions at once: type in either box and the other one updates. Below you'll find how text becomes binary, how to translate binary to English by hand, and why some binary doesn't translate cleanly.
How binary code stores text
Computers can only store numbers, so every character is given a number first. The letter A is 65, a lowercase a is 97, the digit 7 is 55 and a space is 32. Each number is then stored as a byte, a group of 8 bits. Eight bits can hold 256 different values, from 00000000 to 11111111, which is enough for every English letter, digit and punctuation mark. The numbering comes from ASCII, a standard from the 1960s, and UTF-8, the encoding used by almost every website today, keeps the same codes for those characters.
Translating English to binary
To translate a word to binary, look up each character's code and write it as an 8-bit binary number. H is 72. The powers of two that add up to 72 are 64 and 8, so its binary is 01001000. i is 105, which is 64 + 32 + 8 + 1, or 01101001. So Hi in binary is 01001000 01101001. Spaces and punctuation are characters too, which is why a sentence produces one byte for every letter, space and full stop. The binary alphabet lists every letter from A to Z if you want to translate by hand.
Translating binary to English
Going the other way, split the binary into groups of 8 bits and turn each group into a number. The bits in a byte are worth 128, 64, 32, 16, 8, 4, 2 and 1 from left to right, so add up the places that hold a 1. 01001100 is 64 + 8 + 4 = 76, the letter L. Do the same for 01101111 (111, o), 01110110 (118, v) and 01100101 (101, e), and the message reads Love. The binary to decimal converter shows that place-value working for any byte.
"I love you" in binary
It's one of the most common things people translate. I love you has 10 characters, including the two spaces, so it's 10 bytes or 80 bits:
01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101
The bytes 00100000 are the spaces. Notice that every lowercase letter starts with 011 and the capital I starts with 010. That's no accident: upper and lowercase letters differ by exactly 32, a single bit.
Emoji, accents and other languages
Characters beyond plain English don't fit in a single byte, so the translator uses UTF-8, which spreads them across 2, 3 or 4 bytes. é becomes 11000011 10101001, and the waving hand emoji 👋 takes four bytes, 11110000 10011111 10010001 10001011. The same rules decode them back. The character breakdown under the translator shows how many bytes each character uses, so you can see exactly where those extra bits come from. Text in Chinese, Arabic, Hindi or any other script works the same way.
Spaces, separators and binary without gaps
Binary code is often written with a space between bytes because it's much easier to read, but the spaces aren't part of the message. This binary translator accepts bytes separated by spaces, commas, semicolons or new lines, and it also reads binary with no gaps at all by splitting it into 8-bit groups. For output, the menu switches between spaces, no separator, commas and one byte per line, without changing the bytes themselves.
When a translation looks wrong
- The length isn't a multiple of 8. One missing or extra bit shifts every byte after it. The translator tells you how long the input is so you can find the gap.
- Strange symbols like �. The bytes aren't valid UTF-8, often because one byte of a multi-byte character is missing. The translator warns you when this happens.
- 7-bit codes. Some puzzles write ASCII with 7 bits per letter, like
1001000. Use the binary to ASCII converter and switch it to 7-bit.
Getting more out of the translator
- Use the copy buttons above each box to copy the text or the binary exactly.
- For one direction with more options, try the text to binary converter or the binary to text converter.
- Want each character in hexadecimal instead? The text mode of the hex converter shows the same bytes in hex.
Want to go further? The binary alphabet puts every letter on one page, and the ASCII table lists every character code from 0 to 255.