Binary Translator
Type text to see it in binary, or paste 0s and 1s to turn them back into text.
Add this calculator to your website
Copy the code and paste it into your page's HTML. It's free; please keep the credit link.
Bits, bytes and UTF-8
A bit is a single 0 or 1, and a byte is 8 bits, enough for 256 values (0–255). Early computers used ASCII, which fits English letters, digits and symbols into the first 128 values. UTF-8 keeps those ASCII values and uses extra bytes for everything else, which is why it can represent every language and emoji.
Letters in binary
| Character | Decimal | Binary |
|---|---|---|
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| C | 67 | 01000011 |
| D | 68 | 01000100 |
| E | 69 | 01000101 |
| F | 70 | 01000110 |
| G | 71 | 01000111 |
| H | 72 | 01001000 |
| I | 73 | 01001001 |
| J | 74 | 01001010 |
| K | 75 | 01001011 |
| L | 76 | 01001100 |
| M | 77 | 01001101 |
| N | 78 | 01001110 |
| O | 79 | 01001111 |
| P | 80 | 01010000 |
| Q | 81 | 01010001 |
| R | 82 | 01010010 |
| S | 83 | 01010011 |
| T | 84 | 01010100 |
| U | 85 | 01010101 |
| V | 86 | 01010110 |
| W | 87 | 01010111 |
| X | 88 | 01011000 |
| Y | 89 | 01011001 |
| Z | 90 | 01011010 |
| ␠ | 32 | 00100000 |
| a | 97 | 01100001 |
| z | 122 | 01111010 |
| 0 | 48 | 00110000 |
| 9 | 57 | 00111001 |
| ! | 33 | 00100001 |
| é | 195 169 | 11000011 10101001 |
| あ | 227 129 130 | 11100011 10000001 10000010 |
Frequently asked questions
How is text turned into binary?
Each character is encoded as bytes with UTF-8, and each byte is written as 8 binary digits. “A” is 65, which is 01000001.
Why do some characters take several bytes?
UTF-8 uses 1 byte for basic English letters and digits, 2 for most accented letters, 3 for most Asian characters and 4 for emoji.
Do I need spaces between bytes?
No. Without spaces, the binary is read in groups of 8 digits.