How this binary translator works
Computers store every letter as a number, and every number as a pattern of 0s and 1s. The translator runs that in either direction. Going from text to binary, it looks up each character's number in Unicode, writes it as UTF-8 bytes and shows each byte as eight binary digits. Going the other way, it splits your binary code into bytes and decodes them back into characters.
For plain English, that's the familiar ASCII table: capital A is 65, which is 01000001, and a space is 32, or 00100000. Every letter from A to Z is on the binary alphabet chart.
Translate binary to English, step by step
- Split the binary code into groups of 8 digits. If yours has no spaces, count from the left.
- Turn each group into a decimal number by adding the place values of its 1s:
01000011is 64 + 2 + 1 = 67. - Look the number up in the ASCII table: 67 is a capital C.
- Put the letters together in the same order.
The second step is just a binary to decimal conversion; the binary to decimal converter shows the place values for any number. To do the whole message at once, use the binary to text page.
Turn text into binary code
The reverse works the same way. "Cat" becomes three bytes: C is 67 (01000011), a is 97 (01100001) and t is 116 (01110100). Notice that capital and small letters differ by exactly 32, which is the third bit from the left. That's why 01000011 and 01100011 are C and c. The text to binary converter lets you choose spaces, no spaces or one byte per line.
More than letters: a binary converter for numbers
Binary text and binary numbers aren't the same thing. 00110101 is the character "5", but the number 5 is just 101. To convert numbers, use the decimal to binary and binary to decimal converters. Programmers often write binary as hexadecimal to keep it short; see binary to hex and hex to binary.
When a translation looks wrong
- A missing or extra digit shifts every byte after it. Count the digits: a message with no spaces must be a multiple of 8.
- 7-bit groups are fine when they're separated by spaces; the translator reads
1000001as A. - It isn't text at all. Binary can also be a number, an image or a program. If the bytes don't form valid UTF-8, the translator says so instead of showing random symbols.