What is Binary to Text Converter?
This binary to text converter, also known as a binary translator, decodes binary code into readable English characters. Computers store text as numbers, and each ASCII character is one 8-bit byte: 01001000 is 72, which is H, and 01101001 is 105, which is i, so 01001000 01101001 reads "Hi".
Paste binary separated by spaces, or as one continuous string of ones and zeros, and the text appears instantly. It is the quickest way to read binary messages in puzzles and capture-the-flag challenges, to check what bytes in a dump represent, or to learn how character encoding works.
How to use Binary to Text Converter
- Paste the binary code, either as bytes separated by spaces (01001000
- or as one continuous string.
- Read the decoded text instantly.
- If the output looks wrong, check that each byte has 8 bits.
- Copy the text, or click Swap to convert text to binary.
Key features
- Decodes binary bytes to ASCII text
- Accepts spaced or continuous binary
- Accepts 0b prefixes and comma separators
- Swap button to encode text as binary
- Clear errors for digits other than 0 and 1
- Runs entirely in your browser
Common use cases
- Solving binary puzzles and capture-the-flag challenges
- Reading text stored in binary dumps and bit streams
- Teaching how computers represent text
- Checking binary output from your own encoding code
- Decoding binary messages for fun
Technical details & standards
Each binary value is converted to a number and then to the character with that code: 65 is A, 97 is a, 48 is 0 and 32 is a space. With spaces or commas between values, each value is one character; a continuous string is cut into 8-bit chunks from the left, so its length should be a multiple of 8.
ASCII defines codes 0 to 127; values up to 255 are mapped to the corresponding Latin-1 characters. Text in UTF-8 that uses multi-byte characters (accents, emoji) is not reassembled from its separate bytes, so decode such data with a UTF-8 aware tool. Non-printable control codes appear as invisible characters.
How to convert binary to letters by hand
Binary to text is two lookups: each byte becomes a number, and each number becomes a character. Here is 01000011 01100001 01110100:
- Split the binary into 8-bit bytes: 01000011, 01100001 and 01110100.
- Turn each byte into decimal by adding its place values: 64 + 2 + 1 = 67, 64 + 32 + 1 = 97 and 64 + 32 + 16 + 4 = 116.
- Look each number up in the ASCII table: 67 is C, 97 is a and 116 is t.
Result: The binary spells "Cat". Capital letters start at 65 (01000001) and lowercase letters at 97 (01100001), so the third bit from the left tells you the case.
Binary to string in Python and JavaScript
These snippets do what the converter does: split the bits into bytes and turn each byte into a character, giving a string. Both accept space-separated bytes or one unbroken string of bits.
Python
"".join(chr(int(b, 2)) for b in "01000011 01100001 01110100".split()) # 'Cat'
bits = "010010000110100100100001"
bytes(int(bits[i:i+8], 2) for i in range(0, len(bits), 8)).decode("ascii") # 'Hi!'Use .decode("utf-8") instead of "ascii" when the bytes may hold accented letters or emoji.
JavaScript
"01000011 01100001 01110100".split(" ")
.map(b => String.fromCharCode(parseInt(b, 2))).join(""); // "Cat"
"010010000110100100100001".match(/.{8}/g)
.map(b => String.fromCharCode(parseInt(b, 2))).join(""); // "Hi!"Frequently asked questions
How do I convert binary to text?
Split the binary into 8-bit bytes, convert each byte to a number, and look up its ASCII character. 01001000 = 72 = H and 01101001 = 105 = i, so the text is "Hi".
What does 01001000 01100101 01101100 01101100 01101111 mean?
"Hello": the bytes are 72, 101, 108, 108 and 111, the ASCII codes for H, e, l, l and o.
Why is my decoded text garbled?
The bytes are probably misaligned: each must be exactly 8 bits. Check for a missing or extra digit, or separate the bytes with spaces so each is read individually.
How many bits is one character?
In ASCII and for English text in UTF-8, one character is one byte, 8 bits (ASCII itself only needs 7). Other characters take 2 to 4 bytes in UTF-8.
What is a binary code translator?
A tool that converts binary code, the ones and zeros computers store, into readable text and back. This page translates binary to English text; to turn text into binary, use the Text to Binary converter.
How do I convert binary to words?
Decode each 8-bit group into a character; the group 00100000 is a space, so it separates the words. 01001000 01101001 00100000 01110100 01101000 01100101 01110010 01100101 reads "Hi there". Paste the whole message with spaces between the bytes and the words appear as one line.
What does 01001000 01101001 mean?
It spells "Hi": 01001000 is H (72) and 01101001 is i (105).
Which letter is 01000001?
01000001 is 65, the capital letter A. Change the third bit from the left and you get 01100001, which decodes to lowercase a, so the case of a letter shows up in a single bit.
What does 00110 mean in binary code?
00110 is the number 6, but it is only five bits, so it is not a whole character. Padded to a byte it is 00000110, the invisible ACK control code, not a letter. If you copied it from a longer message, a few bits are probably missing; text characters need full 8-bit groups such as 00110110, which is the digit "6".