Binary Code Translator
Convert text to 0s and 1s, or binary back to readable text.
Text tools
Each character is written as one or more 8-bit bytes in UTF-8, the encoding the web uses. Plain English letters take one byte; accented letters, symbols and emoji take two to four.
This binary translator converts text into 8-bit binary code and binary back into readable text. Each character is written as UTF-8 bytes, so a plain English letter becomes eight 0s and 1s and an emoji usually becomes thirty-two or more. Paste up to 5,000 characters, choose a direction and copy the result.
Reading the binary output
Every byte is shown as a group of eight digits, with a space between groups. The word “Hi” comes out as 01001000 01101001.
| Character | Binary |
|---|---|
| A | 01000001 |
| a | 01100001 |
| space | 00100000 |
| the digit 5 | 00110101 |
Note the last row. The tool encodes the character 5 as text; it does not convert the number five into its binary value, which would be 101.
Why some characters need more than one byte
UTF-8, the encoding the web uses, gives one byte to basic English letters, digits and punctuation. Accented Latin letters, Greek and Cyrillic take two. Most other symbols and East Asian characters take three, and a basic emoji takes four.
Styled letters behave like emoji here. A bold or script letter from one of the font pages, such as monospace copy and paste fonts, is four bytes, so it turns into 32 binary digits instead of eight. The character counter shows the byte total for any text.
Turning binary back into text with the binary translator
Press “Binary to text” and paste the digits. Everything that is not a 0 or a 1 is ignored, so spaces, commas and line breaks are optional. The digits are read in groups of eight; if the last group is incomplete, it is skipped and a notice tells you how many digits were left over.
The input must be 8-bit. Binary written as 7-digit groups will decode into the wrong letters, and byte sequences that are not valid UTF-8 appear as a replacement symbol. “Swap direction” moves the result into the input and flips the mode.
Binary questions
How do I write my name in binary code?
Select “Text to binary” in the binary translator, type your name and copy the result. Each letter becomes one group of eight digits, and capital and small letters have different codes, so “Sam” and “sam” give different output.
What does 01001000 01101001 mean?
It spells “Hi”. Each group of eight digits is one byte. The first group, 01001000, is the code for a capital H and the second, 01101001, is a small i.
Is binary code a way to keep a message secret?
No. Binary is an encoding, not encryption. Anyone can paste it into a translator like this one and read it in a second. It is fine for puzzles and decoration, but not for anything private.
Why does my decoded binary show strange symbols?
Usually a digit is missing or added, which shifts every following group, or the binary was made with a different encoding or 7-digit groups. Check that the total number of digits divides evenly by eight.
Can I convert Morse code or other codes here?
Not on this page; the binary translator handles text and binary only. Use the Morse code translator for dots and dashes. For a computer-terminal look in a bio, see hacker text styles, and for everything else the text tools list.
