Binary Translator
Type text to get zeros and ones, or paste binary to read it. Decimal and hex too, for the extra nerdy.
Binary (8 bytes)
01001000 01101001 00100000 01110100 01101000 01100101 01110010 01100101
How it works
Computers store text as numbers, and every number can be written in binary, using only 0 and 1. This tool turns each character into its number using UTF-8, the text encoding used across most of the web, and writes each byte as eight binary digits.
Plain English letters, numbers and punctuation each take one byte. Accented letters take two, and emoji usually take four. That is why one emoji turns into a long line of zeros and ones.
To decode, paste groups of eight zeros and ones. Spaces between the groups are optional. The tool guesses which way you want, or you can pick the direction yourself.
Examples
| Text | Binary | Bytes |
|---|---|---|
| A | 01000001 | 1 |
| a | 01100001 | 1 |
| Hi | 01001000 01101001 | 2 |
| é | 11000011 10101001 | 2 |
| 🐔 | 11110000 10011111 10010000 10010100 | 4 |
Frequently asked questions
How do I convert text to binary?
Type in the box. The binary appears underneath, one group of eight digits per byte. Tap Copy to paste it anywhere.
How do I convert binary to text?
Paste the zeros and ones into the box. If the number of digits is a multiple of eight, the text appears underneath.
Why are upper and lower case letters different?
They are different characters with different numbers. Capital A is 65, which is 01000001, and small a is 97, which is 01100001.
What are the decimal and hex buttons?
The same bytes written as normal numbers (decimal) or in base 16 (hex), which programmers often use because it is shorter.