How to convert text to binary and binary to text
- Choose Text to Code or Code to Text.
- Pick the number system. Binary is the default.
- Type or paste into the left box and copy the result from the right.
How text becomes binary
Computers store every letter as a number, and every number as a pattern of ones and zeros called bits. Eight bits make a byte, and one byte is enough for each letter of the English alphabet. The capital letter H is number 72, which in binary is 01001000.
| Letter | Decimal | Binary | Hex |
|---|---|---|---|
| A | 65 | 01000001 | 41 |
| a | 97 | 01100001 | 61 |
| 0 | 48 | 00110000 | 30 |
| space | 32 | 00100000 | 20 |
The word Hi is therefore 01001000 01101001.
Reading binary code
Paste the code with a space between each byte. If it is one long run of ones and zeros, the tool splits it into groups of eight for you. Each group is turned back into its letter.
Accents, symbols and emoji
Characters outside basic English, such as é or 😀, do not fit in a single byte. The tool uses UTF-8, the standard encoding of the web, which writes them as two to four bytes each. That is why one emoji produces four groups of binary.
To convert plain numbers between binary, decimal and hex, use the number base converter.
Your text stays on your device
Everything happens in your web browser. Nothing you type or paste is sent to a server or stored, so it is safe to use with private notes, passwords, keys and work documents. There is no sign-up and no limit.
Frequently asked questions
How do I convert text to binary?
Type the text in the left box. Each character is shown as eight ones and zeros on the right.
How do I translate binary to English?
Choose Code to Text and paste the binary. The readable text appears on the right.
What is 01001000 01101001 in text?
It spells “Hi”. 01001000 is H and 01101001 is i.
Can it convert text to hexadecimal?
Yes. Choose Hexadecimal as the number system.