Convert text to binary, or binary back to text
A tool that converts text into its binary representation, and binary back into readable text — each character shown as the 8-digit binary pattern of its underlying byte.
Select "Text → Binary."
Type or paste your text.
Copy the binary output — it updates as you type.
Select "Binary → Text" and paste in space-separated groups of 0s and 1s — the same format the Text → Binary side produces. Each group is decoded back into its original byte and reassembled into text.
Text is first encoded to UTF-8 bytes, then each byte is written out as an 8-digit binary number, padded with leading zeros, and separated by spaces — so "Hi" becomes two 8-digit groups, one per byte.
Each group of 8 binary digits (a byte) can represent a value from 0 to 255. Plain English letters and punctuation each take exactly one byte; some other characters, like accented letters, symbols, and emoji, take two, three, or four bytes under UTF-8, which is why they turn into more than one 8-digit group.
No, and it's a common mix-up. Binary-to-decimal conversion turns a binary number into its decimal number value (like 1010 → 10). This tool works with character encoding instead — it converts letters and symbols into the binary bytes that represent them, not binary numbers into decimal numbers.
Swap Input/Output moves the result into the input box and flips the mode, so you can immediately convert it back the other way. Copy Output grabs the result to your clipboard, and Clear resets both boxes.
See exactly what a character looks like at the byte level.
Encode or decode a message written in binary for a game or riddle.
Quickly check a text-to-binary conversion by hand against a known-correct tool.
No. This tool translates between text and its binary character encoding, not between number bases. For converting a binary number into decimal or hex, you'd need a number-base converter instead.
No. Input is typed or pasted text and binary only; there's no image upload or OCR feature.
Yes. Text is converted through the browser's TextEncoder/TextDecoder, so UTF-8 characters, accents, and emoji round-trip correctly rather than breaking on anything outside plain ASCII.
The output always uses 8-digit groups, but the decoder accepts groups of 1 to 8 digits, so binary you've copied from elsewhere without leading zeros will usually still decode correctly.
No. Both directions of conversion happen entirely in your browser using JavaScript. Nothing you type here leaves your device.
One byte of the text's UTF-8 encoding — for plain ASCII characters that's one byte per character, but some characters (accents, symbols, emoji) take more than one byte, and so more than one 8-digit group.