Text to Binary Converter
Convert text to binary and binary back to text, with correct UTF-8 so emoji and ...Convert text to binary and binary back to text, with correct UTF-8 so emoji and accented characters round-trip. Choose your separator and byte format,...
Updated
Text input
Binary output
Live counts
Common characters in binary
| Character | Decimal | Hex | Binary (8-bit) |
|---|---|---|---|
| A | 65 | 41 | 01000001 |
| Z | 90 | 5A | 01011010 |
| a | 97 | 61 | 01100001 |
| z | 122 | 7A | 01111010 |
| 0 | 48 | 30 | 00110000 |
| 9 | 57 | 39 | 00111001 |
| space | 32 | 20 | 00100000 |
| ! | 33 | 21 | 00100001 |
Quick answer
To convert text to binary, type your text into the box and read the binary on the right. Each character is encoded as its UTF-8 bytes, and every byte becomes 8 bits, so the letter A is 01000001 and Hi is 01001000 01101001. Switch to Binary to Text and paste 8-bit groups (with or without spaces) to decode them back. Because it uses real UTF-8 bytes, emoji and accented letters like é round-trip exactly. Everything runs in your browser, so no text is ever uploaded.
Converter Features
Why Use Text to Binary Converter?
Both Directions, Live
Type text to see its binary as you type, or paste binary to decode it straight back to text. One tool, either way, with a one-tap swap.
Correct UTF-8 Encoding
Text is encoded as real UTF-8 bytes, so emoji and accented letters like é round-trip exactly. Each byte is 8 bits, the way computers actually store it.
Your Format, Your Separator
Choose a space, newline, comma, dash, or no separator between bytes, and switch the byte view to binary, decimal, or hex whenever you need it.
Friendly Error Checks
Paste a stray 2 or the wrong number of bits and the decoder names the exact problem instead of guessing, so you fix bad binary in one read.
Live Byte and Bit Counts
See the character count, the UTF-8 byte count, and the total bit count update instantly, so you always know how big the output really is.
100% In Your Browser
Every conversion runs on your device in JavaScript. No text you type is ever uploaded, logged, or sent to a server, and it works offline.
Common Uses for Text to Binary
Learning How Computers Store Text
See exactly how a character becomes bytes and bits, the foundation of every encoding lesson.
Programming and Debugging
Check the byte pattern behind a string, or verify an encoding while working on parsers and protocols.
Digital Electronics Projects
Prepare binary data for microcontroller, FPGA, and logic exercises where every bit matters.
Fun and Puzzles
Write a hidden binary message for a card or a game, then decode it back to plain text.
How It Works
Pick a direction
Choose Text to Binary to encode, or Binary to Text to decode. The input and output panels relabel to match the direction you picked.
Type or paste your input
Enter text (emoji welcome) or paste binary. The result appears instantly. Optionally set the separator and switch the byte view to decimal or hex.
Copy or download
Press Copy to put the result on your clipboard, or Download to save it as a plain text file. Swap the panels to convert the result back again.
Tips and Best Practices
One Byte Is 8 Bits
Read binary in blocks of 8. Each 8-bit group is one byte, so 01001000 01101001 is two bytes, which decode to the two letters Hi.
Spaces Are Optional When Decoding
You can paste binary with spaces or as one long string. The decoder splits it into 8-bit bytes either way, so 0100100001101001 also decodes to Hi.
Emoji Take More Than One Byte
In UTF-8 an emoji is four bytes, which is 32 bits, so it shows as four 8-bit groups. That is correct, not a bug, and it decodes back to the same emoji.