Binary to text converter
Decode binary back into readable text. Paste space-separated bytes or one continuous stream of bits, and each byte is decoded as UTF-8 to recover the original characters. Useful for reversing a text-to-binary exercise, inspecting encoded data, or learning how characters map to bits.
How it works
Text stored in computers is ultimately a sequence of numbers, where each number maps to a character according to a standard encoding. The most common encoding on the web is UTF-8, which represents each character as one to four bytes, and each byte as eight binary digits (bits).
The tool follows these steps:
- Split into bytes. If your input contains spaces, each space-separated group is treated as one byte. If there are no spaces, the entire bit string is split into 8-bit chunks (so the total length must be a multiple of 8).
- Validate. Each chunk must contain only
0and1and represent a value between 0 and 255 (00000000–11111111). - Decode as UTF-8. The bytes are fed into a strict UTF-8 decoder. Multi-byte sequences (needed for accented characters, emoji, and non-Latin scripts) are handled correctly as long as the bytes are in the right order.
- Output the text. The decoded string is displayed and available to copy.
An error is raised rather than outputting garbled text if any byte is invalid binary or if the byte sequence is not valid UTF-8.
Worked example
Decoding 01000111 01100101 01110010 01100001:
| Byte | Binary value | Decimal | UTF-8 character |
|---|---|---|---|
| 1st | 01000111 | 71 | G |
| 2nd | 01100101 | 101 | e |
| 3rd | 01110010 | 114 | r |
| 4th | 01100001 | 97 | a |
Result: Gera
Common byte values to recognise
| Binary | Decimal | Character | Notes |
|---|---|---|---|
01000001 | 65 | A | Uppercase A |
01100001 | 97 | a | Lowercase a |
00110000 | 48 | 0 | Digit zero |
00100000 | 32 | | Space |
00001010 | 10 | (newline) | LF line break |
Practical uses
- Reversing a text-to-binary exercise or homework problem.
- Decoding binary-encoded payloads found in CTF (capture-the-flag) challenges.
- Verifying that text encoding round-trips correctly (text → binary → text).
- Understanding how UTF-8 stores multi-byte characters by examining the byte pattern.
For the reverse operation (turning readable text into binary), use the Text to Binary tool. Everything runs in your browser — nothing you paste is uploaded.