Binary to Text Converter
Enter space-separated binary bytes to decode them into text.
How binary decodes into text
Every character your computer stores is a number, and binary is that number written in base 2. This converter takes space-separated groups of bits, reads each group as a base-2 integer, and maps the integer to its character. The default input, 01001000 01101001, decodes to Hi: the first group is 72, the code for uppercase H, and the second is 105, the code for lowercase i.
Worked example: reading one byte by hand
Take 01001000. Each bit position carries a power of two, counted from the right: 1, 2, 4, 8, 16, 32, 64, 128. Add up the positions holding a 1 — here the 64 and the 8 — and the byte is worth 64 + 8 = 72. Character code 72 is H in ASCII. The second byte, 01101001, holds 64 + 32 + 8 + 1 = 105, which is i. Two bytes, two characters, one word.
Verify the arithmetic in reverse
The check works both ways. To confirm 105 is really i, subtract the largest power of two that fits: 105 − 64 = 41, then 41 − 32 = 9, then 9 − 8 = 1, then 1 − 1 = 0. The positions you consumed — 64, 32, 8 and 1 — are exactly the bits set in 01101001. Every ASCII character decodes by the same repeated subtraction, which is why hand-checking one byte teaches you the whole scheme.
Bytes you will meet most often
| Binary | Decimal | Character | Note |
|---|---|---|---|
| 00100000 | 32 | space | The lowest printable ASCII code |
| 01000001 | 65 | A | The start of uppercase letters |
| 01001000 | 72 | H | First byte of the default input |
| 01100001 | 97 | a | The start of lowercase letters |
| 01101001 | 105 | i | Second byte of the default input |
| 01111010 | 122 | z | The last lowercase letter |
| 11111111 | 255 | ÿ | The maximum an 8-bit byte can hold |
Printable ASCII runs from 32 to 126, which in binary means every character byte below 128 has its top bit at 0. A group starting with 1 — 128 to 255 — belongs to the Latin-1 range or to the continuation bytes of a multi-byte UTF-8 character, so seeing a leading 1 in text data usually means you are looking at half of a two-byte character.
Why the spaces matter
A converter cannot know where one character ends and the next begins without boundaries, because 16 continuous bits could be two 8-bit characters or one 16-bit code point. The space-separated byte is the standard convention for binary text dumps: one group per character, exactly 8 bits each. Pasted output from the Text to Binary Converter follows the same convention, so the two tools round-trip cleanly.
Where binary dumps come from
Binary text shows up whenever a tool needs to expose raw bytes: hex editors display file contents alongside their binary expansion, network captures print payload bits when the protocol is unknown, and embedded programming tutorials write register values as 8-bit groups. When a dump uses 1s and 0s per byte rather than hex pairs, this converter is the direct reader. Two bytes encode one ASCII character each, so a 16-byte string is 16 groups and 128 bits.
The relationship between the bases is worth internalizing: one hex digit holds exactly 4 bits, so every byte is two hex digits or eight binary digits. 01001000 splits into 0100 and 1000 — 4 and 8 — giving hex 48, decimal 72, the letter H. URL percent-encoding writes that same value as %48, and the ASCII Table shows all three notations side by side for every printable character.
Counting bits at scale
Eight bits make one byte, and the prefixes compound from there: 1 KB is 1024 bytes, 1 MB is 1024 KB, and so on. A single ASCII character is 8 bits, so a 1000-character English text is 8000 bits or 1000 bytes. When a binary dump runs long, the space-separated groups convert at roughly one line of text per 8 groups, which gives a quick sanity estimate of how many characters a paste will yield before you run it.
Common mistakes and edge cases
- A group containing a digit other than 0 or 1 is invalid and is reported by name rather than guessed at
- Groups shorter than 8 bits still parse as base 2 — 1000000 is 64, not a padded 64-bit value
- Extra or missing spaces shift the byte boundaries, silently turning meaningful bytes into different characters
- Values above 255 are impossible in 8 bits; a 9-bit group decodes to a code point in the extended range, not an ASCII character
- Leading zeros are meaningful padding, not decoration: 00000001 is 1 and 00000010 is 2
The multi-byte caveat
The decoder maps each byte to one character code directly, which is exact for ASCII and Latin-1. Characters outside that range — emoji, CJK, most accented text — occupy 2 to 4 UTF-8 bytes, so they appear in binary dumps as several consecutive groups and decode byte by byte rather than reassembling into one glyph. Decode pure-ASCII bytes here; for full Unicode round trips, work at the byte level in a tool that understands UTF-8 boundaries.
From binary to the bigger picture
Binary, decimal and hexadecimal are three spellings of the same numbers, and developers move between them constantly: 72 is 01001000 in binary and 0x48 in hex, and the hex form is what URL encoding writes as %48. If you need those conversions rather than character decoding, the Base Converter handles arbitrary bases, and the ASCII Table lists every character code side by side in all three notations.
Frequently asked questions
What does 01001000 01101001 decode to?
Hi. The first byte is 64 + 8 = 72, the code for H, and the second is 64 + 32 + 8 + 1 = 105, the code for i.
Do the binary groups have to be eight bits?
No. The converter parses any group as a base-2 number, so 1000000 decodes to 64 just like 01000000. Text-to-binary output always emits 8-bit groups, which is the standard for round trips.
What happens with an invalid group like 01012?
The converter reports an error naming the offending group and stops, so the output is never silently wrong. Only the digits 0 and 1 are legal in a binary group.
Can I omit the spaces between bytes?
No. Spaces mark the byte boundaries, and without them the converter cannot tell where one character ends and the next begins. One space-separated group per character is the convention.
How do I decode a space or punctuation mark?
The same way as letters: space is 00100000 (decimal 32), a period is 00101110 (46), and a comma is 00101100 (44). Printable ASCII spans codes 32 through 126.
Why does my byte start with 1 and decode oddly?
Codes 128–255 are the Latin-1 range, and in UTF-8 data a leading-1 byte is part of a multi-byte character. Single-byte decoding is exact for ASCII; multi-byte characters arrive as several groups and need UTF-8-aware reassembly.
How many characters does 8 bits give me?
256 possible values per byte, of which ASCII uses 95 printable ones plus control codes. One byte per character is enough for English text and punctuation, which is why 8-bit encoding dominated early computing.
Is binary the same as hexadecimal?
They are two notations for the same values. One hex digit holds 4 bits, so 01001000 splits into 0100 and 1000, which are 4 and 8 — hex 48, decimal 72, the letter H. Hex is just the compact form of the same byte.
Method and sources
- Binary (base 2) representation of character code points.