Binary to Text Converter
Convert binary to text in one paste. Spaced or unspaced binary, 8-bit or 7-bit groups and UTF-8 characters such as é and emoji are all decoded, with a byte-by-byte table showing the working.
Paste binary with or without spaces. Line breaks and commas also work as separators.
Show steps
Each group of bits is one byte. The table shows the value of every byte and the character it makes. In UTF-8, accented letters and emoji use two to four bytes.
| Character | Code point | Binary | Decimal | Hex |
|---|
Decode Binary Code into Text
Found a string of 0s and 1s in a puzzle, a T-shirt or a homework sheet? This binary to text converter decodes it the moment you paste it. It works out where each character starts, even when the binary has no spaces.
Below the result, a table lists every byte with its decimal and hex value and the character it produces, so you can see how the message was built. The decoding runs in your browser and nothing is uploaded.
How to convert binary to text
- Paste the binary code into the left box. Spaces, line breaks and commas between bytes are all fine.
- Read the text on the right. Leave the settings on Auto-detect and UTF-8 for most messages.
- Garbled result? Try 7 bits per character for old-style ASCII codes, or Latin-1 for text from older systems.
How to decode binary by hand
Split the binary into bytes of 8 bits. Each bit is worth, from left to right, 128, 64, 32, 16, 8, 4, 2 and 1. Add the values of the 1 bits to get a number, then look the number up in the ASCII table:
| Byte | Calculation | Decimal | Character |
|---|---|---|---|
01001000 | 64 + 8 | 72 | H |
01101001 | 64 + 32 + 8 + 1 | 105 | i |
00100001 | 32 + 1 | 33 | ! |
So 01001000 01101001 00100001 reads "Hi!".
Reading binary text at a glance
ASCII was designed so that groups of characters share the same leading bits. Once you know these patterns you can often guess the type of each byte:
| Binary range | Decimal | Characters |
|---|---|---|
00100000 | 32 | Space |
00001010 | 10 | New line (line feed) |
00110000 – 00111001 | 48–57 | Digits 0–9 (the last four bits are the digit) |
01000001 – 01011010 | 65–90 | A–Z (the last five bits give the letter number) |
01100001 – 01111010 | 97–122 | a–z (same as capitals plus 32) |
UTF-8: characters longer than one byte
Accented letters, other alphabets and emoji need more than one byte. In UTF-8 the first bits of a byte tell you how many bytes belong to the character:
| First byte starts with | Bytes | Example |
|---|---|---|
0 | 1 | A = 01000001 |
110 | 2 | é = 11000011 10101001 |
1110 | 3 | € = 11100010 10000010 10101100 |
11110 | 4 | 😀 = 11110000 10011111 10011000 10000000 |
10 | – | A continuation byte inside a longer character |
Fixing common problems
- "Cannot be split" error: a digit is missing or extra. Check the spacing, or put a space between characters so each group is read on its own.
- Strange symbols: the bytes may be Latin-1 rather than UTF-8. In Latin-1,
11101001on its own is é; in UTF-8 it is incomplete. - The result looks like random control characters: the binary is probably a number, not text. Use binary to decimal instead.
- Going the other way: use text to binary, or the binary translator to edit both sides at once.
Frequently Asked Questions
Common questions about converting binary code to text.
Paste the binary into the box above. It is split into 8-bit bytes, each byte becomes a number and the numbers are decoded as UTF-8 text.
It spells "Hello": 72 (H), 101 (e), 108 (l), 108 (l) and 111 (o).
Yes. Unspaced binary is split into groups of 8 bits, or 7 bits if the total length only divides by 7.
ASCII characters only need 7 bits, so some puzzles leave out the leading 0. Computers store text in 8-bit bytes. Auto-detect handles both.
The bytes are not valid UTF-8 at that point. A digit may be missing, or the text was saved in another encoding. Try the Latin-1 setting.
Yes. An emoji is four UTF-8 bytes, so 32 bits. 😀 is 11110000 10011111 10011000 10000000.
Eight characters if they are all plain ASCII, because each character is one 8-bit byte. Accented letters and emoji use more bytes each.
No. Decoding happens in your browser.