ConvertBinary.com offers a set of free online tools for binary conversion: in this page you can convert any text to binary code.
If you got some binary code and you want to translate it to regular text, you can use our binary to text translator.
Further down on this page, there is a tutorial on How to Convert Text to Binary – read it if you want to learn more about the process of converting text to binary.
Enter your Text here:
How the binary converter works
That’s super easy! Just type or paste your text in the first field, and the binary translator will convert it instantly.
How to Convert Text to Binary
Ready to learn how to translate text to binary? It’s just a matter of simple math, with a little help from ASCII – that is, the American Standard Code for Information Interchange. If you’ve got a particularly large chunk of binary code, you can quickly translate it to English with the ASCII to binary converter located at the top of this page.
English to Binary
There are ASCII and binary representations for a variety of characters; spaces, punctuation, and letters. For now, we’ll focus on how to translate text binary, using letters only. The first thing we need is a word. Let’s use “dog”, because who doesn’t love dogs?
We have to break down the word into each individual letter; d o g, and reference our ASCII table. In ASCII, there is a decimal assigned to each character. It’s important to remember that uppercase and lowercase binary and decimal outputs are not identical. Otherwise, the computer reading the binary code wouldn’t know which letters to capitalize. Let’s have a look at the ASCII table. Note that this is just a portion of the table. You can find extensive ASCII to binary tables online; on this site you will find tables of ASCII alphabet to binary for both lowecase and uppercase letters.
We can see the characters d o g correspond to the decimals 100, 111, and 103. The only thing left to do to turn our text to binary code is convert the decimals to binary. Beginning with 100, we need to redefine the number using powers of 2.
Since 100 isn’t a power of 2, find the power of 2 that is equal to or less than 100. We can redefine 100 as 64 + 36. Since 36 isn’t a power of 2 either, we’ll need to redefine it as well. Lucky for us, 36 can be redefined as 32 + 4; more powers of 2.
Starting with 20, let’s count which powers of 2 we used, and indicate them with a one. Powers of 2 not used are indicated by a zero.
So, our binary output for 100 is 1100100. Now, let’s do the same with 111 and 103.
In binary, a letter is always represented by one byte of eight bits, or digits. But our binary output is only seven digits. How do we fix this? Quite easily – we tack on a zero at the beginning of the string. When you use a text to binary converter, this step is done automatically.
Why a zero? We can’t use a one without changing the entire value of the binary code. And in binary, text characters always begin with 010 or 011. 010 will indicate an uppercase letter, and 011 will indicate lowercase. We know our letters are lowercase, and if we add that zero, we have the 011 prefix to prove it! Now that we’ve added the zero, let’s see what our binary code is. In binary, “dog” looks like this: 01100100 01101111 01100111.
If you want to insert a space into your text, there’s binary code for that, too. Simply hitting the space bar between characters doesn’t actually denote a space. If we want to add a second word to our phrase, we need the the binary string “00100000” to separate words.
Imagine we want to say “good dog”. First, we need to find the decimal value of the first word. Using ASCII, “good” is represented by 103, 111, 111, and 100. It’s the same decimals from the first word, dog, so you already know their binary output. Just rearrange them, and you can spell “good” in binary.
Now, let’s put them all together, and don’t forget the string we need for a space between the two words. You can use the text to binary translator on this page to see how it should look. As you’ve probably figured out, it’s a lot of binary for a short phrase. An English to binary translator is useful if you have a large text to convert.