Binary Translator
Translate text to binary code and binary back to text. Type in either box and the other one updates as you type.
48 65 6C 6C 6F
72 101 108 108 111
Letters, numbers and punctuation use one byte (8 bits) each, the same as ASCII. Accents and emoji take 2 to 4 bytes in UTF-8.
Launch it on BetterLaunch for free and get it in front of thousands of makers and early adopters.
How to use the binary translator
- Text to binary: type or paste text in the Text box. The binary code appears below it.
- Binary to text: paste 0s and 1s in the Binary box, or press the swap button first. The text appears straight away.
- Copy the result with the Copy button. Turn off spaces between bytes if you need one long string, and grab the hex or ASCII codes from the side panel.
How text becomes binary
Computers store every letter as a number. The capital letter H is 72, i is 105 and a space is 32. Those numbers are then written in binary, using only 0 and 1, with 8 digits per letter. That group of 8 is called a byte, so “Hi” is two bytes: 01001000 01101001.
The table that matches letters to numbers is ASCII for plain English, and UTF-8 for everything else. UTF-8 uses the same single byte for English letters, and 2 to 4 bytes for accented letters, other alphabets and emoji. That is why 🚀 turns into 32 binary digits.
Letters in binary
| Character | ASCII code | Binary |
|---|---|---|
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| C | 67 | 01000011 |
| Z | 90 | 01011010 |
| a | 97 | 01100001 |
| b | 98 | 01100010 |
| z | 122 | 01111010 |
| 0 | 48 | 00110000 |
| 9 | 57 | 00111001 |
| Space | 32 | 00100000 |
| ! | 33 | 00100001 |
| ? | 63 | 00111111 |
Notice the pattern: small letters are capital letters plus 32, so only the third digit changes, from 010 to 011.
More free number tools
Binary, decimal, octal and hex in one place
Hexadecimal to decimal and back, with steps
Need to change an image format instead? Try the image converter.