Binary Translator
Translate plain text into 8-bit binary code (0s and 1s), or paste binary bytes to decode them back into readable text. Every character encodes as standard UTF-8 bytes, so letters, punctuation, accented text and emoji all round-trip cleanly.
Simple ASCII-only converters break on accented letters and emoji, and choke when binary has no spaces or starts with 0b. This translator encodes full UTF-8, decodes both spaced and continuous 8-bit strings, accepts 7-bit ASCII groups, and runs locally in your browser.
Example
Hi!01001000 01101001 00100001Want dots and dashes instead of 0s and 1s? Morse code translator
ASCII Binary Alphabet (A–Z)
Every uppercase English letter and its 8-bit ASCII/UTF-8 byte. For lowercase letters, change the third bit from 0 to 1 (adding 32): A is 01000001 and a is 01100001.
- A becomes 01000001
- B becomes 01000010
- C becomes 01000011
- D becomes 01000100
- E becomes 01000101
- F becomes 01000110
- G becomes 01000111
- H becomes 01001000
- I becomes 01001001
- J becomes 01001010
- K becomes 01001011
- L becomes 01001100
- M becomes 01001101
- N becomes 01001110
- O becomes 01001111
- P becomes 01010000
- Q becomes 01010001
- R becomes 01010010
- S becomes 01010011
- T becomes 01010100
- U becomes 01010101
- V becomes 01010110
- W becomes 01010111
- X becomes 01011000
- Y becomes 01011001
- Z becomes 01011010
ASCII Binary Digits (0–9)
Digits 0 through 9 sit at decimal 48 to 57 in ASCII and UTF-8.
- 0 becomes 00110000
- 1 becomes 00110001
- 2 becomes 00110010
- 3 becomes 00110011
- 4 becomes 00110100
- 5 becomes 00110101
- 6 becomes 00110110
- 7 becomes 00110111
- 8 becomes 00111000
- 9 becomes 00111001
Binary Translation Examples
Each output below comes directly from the UTF-8 encoder and decoder used by the tool.
| Input | Output | What it shows |
|---|---|---|
| Hello | 01001000 01100101 01101100 01101100 01101111 | Five ASCII characters produce five 8-bit bytes separated by spaces. |
| 01001000 01101001 | Hi | Paste spaced 8-bit binary in Binary to text mode to read it back. |
| A = 65 | 01000001 00100000 00111101 00100000 00110110 00110101 | Capital A is decimal 65 (01000001), space is 32 (00100000), and digits sit at 48–57. |
| Hi | 0100100001101001 | Compact binary removes the spaces between bytes while keeping every 8-bit boundary. |
| 0100100001101001 | Hi | Continuous multiples of 8 bits decode automatically without needing spaces. |
| 0b01001111 0b01001011 | OK | Common 0b prefixes from code snippets are stripped before decoding. |
| café | 01100011 01100001 01100110 11000011 10101001 | UTF-8 encodes é as two bytes (11000011 10101001) so accented text round-trips intact. |
How Text Becomes Binary
Computers store characters as sequences of bytes, and each byte is eight binary digits (bits).
UTF-8 byte encoding
Every standard English letter, digit and punctuation mark takes one 8-bit byte matching ASCII: A is 65 (01000001), a is 97 (01100001), and space is 32 (00100000).
Accents and emoji take 2 to 4 bytes
Non-ASCII characters use multi-byte UTF-8 sequences — two bytes for é, three for most CJK characters, and four for a single emoji. Because both sides use UTF-8, encoding and decoding are lossless.
Spaced vs compact output
Spaced 8-bit groups make binary easy to scan and copy byte by byte. Compact binary joins the bits with no spaces, which matches raw bitstreams in programming exercises.
Forgiving binary decoding
Binary to text accepts spaces, commas, slashes or line breaks between bytes, strips optional 0b prefixes, splits long continuous bitstrings into 8-bit chunks, and accepts 7-bit ASCII groups like 1001000.
Binary vs Morse Code, A1Z26 and Ciphers
Four ways to encode the same short word, depending on whether you need computer bits, signals or a letter puzzle.
Shared input: Hi
| Transformation | Result | Reach for it when |
|---|---|---|
| Binary (UTF-8) | 01001000 01101001 | You need raw 8-bit 0s and 1s for computing, puzzles or secret messages. |
| Morse code | .... .. | You want dots, dashes and audible beeps. |
| Letters to numbers | 8-9 | You want simple 1–26 alphabet positions (A=1, Z=26). |
| Caesar cipher (+3) | Kl | You want shifted letters instead of numbers. |
Binary Encoding Edge Cases
A few details explain why binary strings sometimes look different across tools.
7-bit vs 8-bit ASCII
All printable ASCII fits in 7 bits, so some textbooks omit the leading 0 (1000001 instead of 01000001). Our encoder always pads to 8 bits per byte; our decoder reads both.
Uppercase and lowercase differ by one bit
Capital A is 01000001 (65) and lowercase a is 01100001 (97). Bit 5 (value 32) flips case across the entire A–Z alphabet.
Incomplete bytes while typing
In a continuous string with no spaces, trailing bits past the last full 8-bit boundary are ignored until you finish typing the byte, so the output never flashes garbage mid-keystroke.
Invalid UTF-8 byte sequences
Arbitrary random bytes that are not valid UTF-8 decode with the standard Unicode replacement character (U+FFFD) rather than crashing.
Where Binary Code Turns Up
Binary text translation is used everywhere from computer science classes to capture-the-flag puzzles.
Computer science homework
Verify hand-converted ASCII tables, inspect UTF-8 byte lengths for accented letters and emoji, and check 8-bit padding.
Puzzles, ARGs and escape rooms
Hide clues as 0s and 1s, or decode binary messages found in games, riddles and CTF challenges.
Debugging raw payloads
Paste space-separated or 0b-prefixed bit sequences from logs or microcontrollers to see what text they carry.
Plain-text chats and bios
Because the output uses only 0, 1 and spaces, it pastes cleanly into Discord, social bios and notes everywhere.
Common Uses for a Binary Translator
Encoding a name or phrase
Turn a short phrase into 0s and 1s for a poster, T-shirt or geeky signature.
Decoding mystery binary
Switch to Binary to text and paste any block of 0s and 1s to read it immediately.
Teaching UTF-8 vs ASCII
Compare "hello" (5 bytes) with "héllo" (6 bytes) or a single emoji (4+ bytes) live.
Checking bit shifts
Compare uppercase and lowercase bytes side by side using the reference table below.
Frequently Asked Questions
Type or paste your text in "Text to binary" mode. Each character is converted into its 8-bit UTF-8 binary bytes automatically, ready to copy with one click.
Select "Binary to text" above the output box and paste your 0s and 1s. Spaces between bytes are optional — both spaced 8-bit groups and continuous multiples of 8 bits decode automatically.
"Hello" in 8-bit ASCII/UTF-8 binary is 01001000 01100101 01101100 01101100 01101111 (H=72, e=101, l=108, l=108, o=111).
Yes. It encodes and decodes standard UTF-8 bytes rather than stopping at 7-bit ASCII, so accented letters, non-Latin alphabets and emoji round-trip back to the exact original text.
As long as each 7-bit group is separated by a space, comma or line break (such as 1001000 1101001), the decoder reads it as 7-bit ASCII and returns "Hi".
No. Binary encoding and decoding run entirely in your browser using JavaScript TextEncoder and TextDecoder, with nothing uploaded.
Related Text Tools
Morse Code Translator
Translate text to International Morse code, decode dots and dashes, and play audio beeps.
Caesar Cipher Translator
Encode and decode Caesar shift ciphers, ROT13, or scan all 25 shifts at once.
Letters to Numbers Converter
Convert letters to numbers, A=1 to Z=26, and decode A1Z26 number codes back to text.
Pig Latin Translator
Translate English into Pig Latin, with the "way" or "yay" rule for words that start with a vowel.
Atbash Cipher
Encode and decode the Atbash cipher, A to Z and Z to A, in English or Hebrew.
Enchanting Table Translator
Write English in Minecraft enchanting table letters, and read them back.
Word Scrambler
Scramble the letters of every word, or shuffle the word order of each sentence.
Backwards Text Generator
Turn any sentence into backwards text, character by character.