Binary messages turn up in puzzles, geocaches, greeting cards and programming exercises, and when you look at raw data from a file or a network packet. Reading them by hand means splitting the bits into groups of eight, turning each group into a number and looking that number up in a character table, which is easy for one word and tedious for a sentence.
This decoder does all three steps. It accepts bytes separated by spaces, commas or nothing at all (a continuous string is cut into 8-bit pieces), shows the resulting text, and lists each character with its code point. Because one byte only stores a number from 0 to 255, the encoding matters for anything beyond plain English: UTF-8 combines two to four bytes for accented letters and emoji, UTF-16 uses pairs of bytes, and Windows-1252 maps every byte to one Western European character.
If the result shows � symbols or strange letters, the bits were probably produced with a different encoding or a bit was lost, so try another encoding or check that each group has exactly eight digits.
How to use the Binary to Text Converter
- Direction
- Binary code (8-bit bytes)
- Character encoding
- Separator between bytes
- Custom separator
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
The input is split into 8-bit groups, each group is converted from base 2 to a number from 0 to 255, and the byte sequence is decoded with the selected character encoding. Control codes that have no visible form are shown as small symbols such as ␀ or ␊.
Worked example
Decode 01001000 01101001 00100001. The first byte has 1s in the 64 and 8 places: 64 + 8 = 72 = “H”. The second: 64 + 32 + 8 + 1 = 105 = “i”. The third: 32 + 1 = 33 = “!”. The message is Hi!: 3 bytes, 24 bits.
Place values of one byte
| Bit position (from left) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Value | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Formula
Byte value = Σ bitᵢ × 2ⁱ (e.g. 01001000 = 64 + 8 = 72)
Bytes → code points with the chosen encoding → characters
Worked example
Inputs: Direction: Binary → text; Binary code (8-bit bytes): 01001000 01101001 00100001; Character encoding: UTF-8 (Unicode – recommended); Separator between bytes: Space.
Results: Result = Hi!; Same bytes in hexadecimal = 48 69 21; Bytes in decimal = 72 105 33; Number of bytes = 3; Number of bits = 24; Number of characters = 3.
Key terms
- Bit
- A binary digit, 0 or 1.
- Byte
- Eight bits, a number from 0 to 255.
- Control code
- A non-printing ASCII code (0–31 and 127) such as line feed (10) or tab (9).
- Replacement character (�)
- The symbol shown when bytes cannot be decoded.
Frequently asked questions
What does 01001000 01101001 mean?
“Hi”: 01001000 = 72 = “H” and 01101001 = 105 = “i”.
How do I convert binary to text by hand?
Split into 8-bit groups, add the place values of the 1s (128, 64, 32, 16, 8, 4, 2, 1) and look each number up in an ASCII table.
Do I need spaces between the bytes?
No. A continuous string such as 0100100001101001 is cut into groups of eight automatically, as long as its length is a multiple of 8.
Why do I get � in the result?
The bytes are not valid in the chosen encoding, often because UTF-8 bytes were read as something else or a missing bit shifted every group. Try Windows-1252 or check the input length.
What if a group has fewer than 8 bits?
Groups separated by spaces are read as numbers, so 101 is read as 5. Values below 32 are invisible control codes rather than letters.
What is 00100000?
The space character (code 32).
Which encoding do most binary puzzles use?
Plain ASCII, which gives the same result as UTF-8 for English letters, digits and punctuation.