Binary Translator
Convert text to 8-bit binary and decode binary back into readable text.
Runs entirely in your browser. Nothing is uploaded.
Try an example
Binary alphabet for letters, numbers and punctuation
| Character | 8-bit binary | Actions |
|---|---|---|
| A | 01000001 | |
| B | 01000010 | |
| C | 01000011 | |
| D | 01000100 | |
| E | 01000101 | |
| F | 01000110 | |
| G | 01000111 | |
| H | 01001000 | |
| I | 01001001 | |
| J | 01001010 | |
| K | 01001011 | |
| L | 01001100 | |
| M | 01001101 | |
| N | 01001110 | |
| O | 01001111 | |
| P | 01010000 | |
| Q | 01010001 | |
| R | 01010010 | |
| S | 01010011 | |
| T | 01010100 | |
| U | 01010101 | |
| V | 01010110 | |
| W | 01010111 | |
| X | 01011000 | |
| Y | 01011001 | |
| Z | 01011010 | |
| a | 01100001 | |
| b | 01100010 | |
| c | 01100011 | |
| d | 01100100 | |
| e | 01100101 | |
| f | 01100110 | |
| g | 01100111 | |
| h | 01101000 | |
| i | 01101001 | |
| j | 01101010 | |
| k | 01101011 | |
| l | 01101100 | |
| m | 01101101 | |
| n | 01101110 | |
| o | 01101111 | |
| p | 01110000 | |
| q | 01110001 | |
| r | 01110010 | |
| s | 01110011 | |
| t | 01110100 | |
| u | 01110101 | |
| v | 01110110 | |
| w | 01110111 | |
| x | 01111000 | |
| y | 01111001 | |
| z | 01111010 | |
| 0 | 00110000 | |
| 1 | 00110001 | |
| 2 | 00110010 | |
| 3 | 00110011 | |
| 4 | 00110100 | |
| 5 | 00110101 | |
| 6 | 00110110 | |
| 7 | 00110111 | |
| 8 | 00111000 | |
| 9 | 00111001 | |
| . | 00101110 | |
| , | 00101100 | |
| ! | 00100001 | |
| ? | 00111111 |
How to use this translator
- 1
Type text to get binary
Enter letters in the left box. Each character is converted to its UTF-8 bytes and shown as 8-bit groups in the right box.
- 2
Paste binary to decode
Paste groups of 0s and 1s into the right box. Spaces, newlines, commas and 0b prefixes are accepted. Short groups are padded on the left and reported.
- 3
Choose a separator
Use spaces, newlines or no separator. Without a separator the total number of bits must be a multiple of eight, or the tool explains how many bits are missing.
- 4
Check decimal and hex views
The tabs below the tool show the same bytes in decimal and hexadecimal, which is useful when comparing binary with ASCII tables or code.
Bits, bytes and characters
A bit is a single 0 or 1. Eight bits make a byte, and a byte can represent 256 values. In ASCII, the uppercase letter H is decimal 72, hexadecimal 48, and binary 01001000.
Modern text usually uses UTF-8, which is backward compatible with ASCII for English letters. Characters outside ASCII use more than one byte: é is 11000011 10101001, and many emoji use four bytes.
Why leading zeros matter
A byte is always eight bits, so 01001000 is different from 1001000 when you are grouping by hand. Dropping a leading zero changes the length of the group and can make an entire message shift by one bit.
This is why the decoder pads a short group with a warning instead of silently guessing. The warning tells you which group was padded and what value was read.
Binary is not encryption
Binary is just another way to write the same bytes. Anyone can decode it, and it provides no secrecy. If you need privacy, use encryption rather than a different number base.
Binary is still useful for teaching how computers store text, for puzzles, and for checking how a character is represented in ASCII or UTF-8.
From ASCII to UTF-8
ASCII defines 128 code points, enough for English letters, digits and common punctuation. A is decimal 65 and binary 01000001; a is 97 and 01100001; the space is 32 and 00100000. The difference between upper and lower case is often a single bit.
UTF-8 keeps the ASCII range unchanged but uses two, three or four bytes for other scripts. é is 11000011 10101001, a Chinese character usually takes three bytes, and many emoji take four. That is why the binary form of a short non-English message can be much longer than the text.
Common mistakes
Dropping leading zeros
Each byte must contain eight bits. 1001000 is seven bits; the correct eight-bit form of H is 01001000.
Mixing ASCII and UTF-8
ASCII covers only the first 128 code points. If your text contains é, Chinese characters or emoji, choose UTF-8 so the decoder does not mark those characters as invalid.
Reading the bits in the wrong order
This tool writes the most significant bit first, the same order used in ASCII tables. Some hardware protocols send the least significant bit first, so check the device documentation.
Using seven-bit groups
Seven-bit ASCII was an early standard, but modern text is stored in 8-bit bytes. A seven-digit group will be padded here with a warning, and the resulting byte may not be the character you intended.
Frequently asked questions
How do you write “Hi” in binary?
Hi is 01001000 01101001 in 8-bit ASCII or UTF-8: H is 01001000 and i is 01101001.
How do you write “I love you” in binary?
In UTF-8 it is 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101. The 00100000 groups are spaces.
What is the binary alphabet?
It is a table of letters and their 8-bit binary values, such as A = 01000001 and B = 01000010. The table on this page lists A–Z, a–z, numbers and common punctuation.
Is 5-bit binary a real code?
Five-bit codes are used in classrooms and in some historical systems, but modern computers store text in 8-bit bytes or longer UTF-8 sequences. A 5-bit alphabet is a teaching shortcut, not ASCII.
Is binary a language?
Binary is a number system and a way of representing data. It becomes meaningful only when you know the encoding, such as ASCII or UTF-8, that maps the bytes to characters.
What is 01001000 01100101 01101100 01101100 01101111?
It decodes to “Hello”: 01001000 is H, 01100101 is e, and 01101100 01101100 01101111 are l, l and o. The spaces between groups only make the bytes easier to read.
How many bits are in a byte?
Eight bits make one byte, which can store 256 different values. That is why this translator always writes eight digits per byte, including leading zeros.
Why is binary so much longer than the text?
Each character becomes at least eight binary digits, and non-ASCII characters use several bytes. A ten-letter ASCII word needs at least 80 zeros and ones before separators are added.