BT
Binary to Text Converter
Convert text to binary and binary back to text — see the exact 1s and 0s behind every character in any string.
More Encoding & Crypto Tools
How to Use Binary to Text Converter
Type text to see its binary representation (each character as an 8-bit byte, space-separated), or paste a binary string (spaces or no spaces, 8 bits per byte) and decode it back to text. Handles both ASCII and multi-byte UTF-8 encoded characters. Copy the result with one click.
About Binary to Text Converter
Computers store everything — text, images, your browser, this very sentence you are reading — as binary: sequences of 1s and 0s, where each individual 1 or 0 is a bit, the smallest unit of digital information. A group of 8 bits is a byte, and bytes are the building block of all modern computing. The letter A, stored in your computer's memory right now as you read this, is the byte 01000001 — that exact sequence of eight bits has represented the capital letter A since the ASCII standard was published in 1963. The lowercase a is 01100001 — only one bit different from its uppercase sibling. This tool lets you see the binary behind any piece of text and reverse the process, converting a binary string back into the characters it represents.\n\nThere are two common ways to convert text to binary, and the difference matters. The first encodes each character independently using its Unicode code point as an 8-bit, 16-bit, or variable-width value. The second encodes the text as UTF-8 bytes — a variable-length encoding where ASCII characters take 1 byte each, European accented characters take 2 bytes, and CJK characters and emoji take 3 or 4 bytes. This tool uses the UTF-8 approach because it is the real-world format: the web, JSON, and almost every modern system uses UTF-8 to transmit and store text. When you type Hello, the tool shows 5 bytes of binary (one per ASCII character). When you type café, it shows 5 bytes for the ASCII letters plus 2 bytes for the accented e (which is 11000011 10101001 in UTF-8). When you type an emoji, it shows all 4 bytes of its UTF-8 encoding.\n\nOn the decode side, the tool accepts binary with or without spaces — 01001000 01101001 and 0100100001101001 both decode to Hi — as long as the number of bits is a multiple of 8. It handles the case where someone pastes binary with spaces, tabs, newlines, or other whitespace between bytes (all are stripped before parsing), and it detects when the input is not valid binary (contains characters other than 0, 1, and whitespace) and shows a clear error message. This tool is excellent for learning how character encoding works at the binary level — it makes the abstract concept of bytes and bits visible and interactive.
Details & Tips
UTF-8 encoding explained in binary terms: ASCII characters (U+0000 to U+007F) are encoded as a single byte where the high bit is 0, giving values 0x00-0x7F. Characters U+0080 to U+07FF (most Latin extended, Greek, Cyrillic, Arabic) use two bytes: the first byte starts with 110, the second with 10. Characters U+0800 to U+FFFF (CJK, many symbols) use three bytes: the first starts with 1110, the continuation bytes with 10. Characters above U+FFFF (emoji, rare scripts) use four bytes: first starts with 11110, continuations with 10. This is why a single emoji character in a text field becomes 4 groups of binary output — each group is one byte of its UTF-8 representation.\n\nTechnical edge cases handled: an input that contains invalid byte sequences (bytes that do not follow the UTF-8 continuation pattern) is decoded using the TextDecoder's replacement-character mode — invalid sequences produce the Unicode replacement character (U+FFFD, rendered as a question mark in a diamond) rather than throwing an error or crashing. Binary input with a bit count that is not a multiple of 8 is rejected with a clear error message. Binary input with bits beyond the valid UTF-8 range (individual bytes above 0xF7, or sequences that decode to code points above U+10FFFF) is caught and flagged. The tool also handles the edge case of a binary string where each byte is separated by something other than a single space — multiple spaces, tabs, newlines, commas, or a mix — since all non-binary characters are stripped before parsing.\n\nBinary representation formatting: each byte is displayed as exactly 8 bits, left-padded with zeros if the byte value is less than 128 (leading zeros are part of the byte — 00100000 is a space, not 100000). Bytes are separated by a single space by default for readability. This convention is the standard in computing for representing bytes as binary strings.
Frequently Asked Questions
How is text converted to binary?
The text is encoded as UTF-8 bytes, and each byte is converted to its 8-bit binary representation. For example, A becomes byte value 65 which is binary 01000001. Multi-byte characters like emoji produce 3 or 4 groups of 8 bits.
Why does a single character like an accented e or an emoji produce multiple groups of binary?
These characters require multiple bytes in UTF-8 encoding. An accented e is 2 bytes (16 bits), and a typical emoji is 4 bytes (32 bits). Each byte is shown as an 8-bit group.
Does this tool use ASCII or UTF-8 encoding?
UTF-8. ASCII characters (0-127) produce one byte each. Characters outside ASCII produce 2-4 bytes. This matches how text is actually stored and transmitted on the modern web.
Do I need to separate binary bytes with spaces when decoding?
No. The tool accepts binary with or without spaces, tabs, or newlines. It detects groups of 8 bits automatically and strips all non-binary characters before parsing.
What happens if my binary string is not a multiple of 8 bits?
An error is shown — each byte must be exactly 8 bits. Check for missing or extra bits in your input.
Can I decode binary that contains letters or other non-binary characters?
Only 0, 1, and whitespace are kept. Any other character triggers an error message because it is not valid binary.
Why is every binary group shown as exactly 8 bits?
A byte is always 8 bits in modern computing. Values below 128 are padded with leading zeros — space (value 32) is 00100000, not 100000 — because those zeros are part of the actual byte stored in memory.
Is my text sent to a server?
No. All conversion runs in your browser using JavaScript — nothing you type or paste is transmitted, logged, or stored anywhere.
Can I use this to learn about binary and character encoding?
Yes — it is excellent for that. Type a letter and see its binary. Type the same letter in lowercase and spot the single-bit difference (A=01000001, a=01100001). Type an emoji and see why it takes more bytes.
What is the largest number a single byte can represent in binary?
11111111 in binary equals 255 in decimal (0xFF in hex). This is the maximum value for one byte, which is why many older systems had limits like 255 — it is the largest number that fits in 8 bits.
Part of These Collections
Also Available As
binary to text, text to binary, binary converter, binary translator, binary decoder, binary encoder, binary code translator, convert binary to english
Explore More Tools
View all toolsFound a Problem?
Let us know if something with Binary to Text Converter isn't working as expected.
Something went wrong. Please try again.
Thanks — we'll take a look.