How to translate text to binary
- Type your text to get binary, or paste binary to get text back. The direction is detected automatically.
- Choose the code type: binary, hexadecimal, decimal, octal or Base64.
- Copy the result. Bytes are separated by spaces unless you untick the option.
How text becomes binary
Computers store each character as one or more bytes, and each byte is eight bits (0s and 1s). This tool uses UTF-8, the encoding used by about 98 % of websites. Plain English letters take one byte, accented letters and Arabic take two, and most emoji take four.
| Character | Binary | Hex | Decimal |
|---|---|---|---|
| A | 01000001 | 41 | 65 |
| a | 01100001 | 61 | 97 |
| space | 00100000 | 20 | 32 |
| 0 | 00110000 | 30 | 48 |
| é | 11000011 10101001 | C3 A9 | 195 169 |
Example
“Hi” is H = 72 and i = 105. In binary that is 01001000 01101001, in hex 48 69 and in Base64 SGk=. Two characters, two bytes, 16 bits.
Converting binary to decimal by hand
Each position doubles in value from right to left. Add the values where there is a 1, then look the number up in an ASCII table: 72 is “H”.
Frequently asked questions
What is the difference between ASCII and UTF-8?
ASCII covers 128 characters (English letters, digits, punctuation). UTF-8 includes ASCII unchanged and adds every other character in Unicode, so for plain English both give the same binary.
Why does my binary not decode?
Binary must come in groups of 8 bits. If a digit is missing or extra, the bytes shift and the text breaks. Check the length is a multiple of 8.
Is Base64 encryption?
No. Base64 only turns bytes into safe printable characters for email and web data. Anyone can decode it, so never use it to hide passwords.
Encoding follows RFC 3629 (UTF-8) and RFC 4648 (Base64). Web usage share: W3Techs, 2026.
More free text tools
Last reviewed: 2026-11-14. Results are calculated in your browser and may differ slightly from other apps. See our disclaimer.