Binary Translator

Binary Translator

A binary translator converts text into binary code (ones and zeros) and binary code back into text. Paste either one below and the tool detects the direction, so "Hello" becomes 01001000 01100101 01101100 01101100 01101111 and the same bytes turn back into "Hello". Nothing is uploaded; the conversion runs in your browser.

Direction: text to binary (auto-detected)

Example: "Hello" in binary

  • Text to binary: Hello → 01001000 01100101 01101100 01101100 01101111
  • Binary to text: 01001000 01100101 01101100 01101100 01101111 → Hello

How a binary code translator works

Computers store text as numbers. A character set assigns each character a number, and an encoding turns that number into bytes. This translator uses UTF-8, the encoding used by most of the web, and offers a stricter ASCII-only mode. Every byte is written as eight binary digits, so the letter A (code 65) is 01000001.

Going from binary to English is the same process in reverse: the tool splits the bits into 8-bit bytes, reads each byte as a number, and decodes the byte sequence with the encoding you chose. Plain English letters, digits and punctuation take one byte each. Accented letters such as é take two bytes, many Chinese characters take three, and emoji take four.

Direction, separators and encodings

In automatic mode, input that contains only 0, 1 and whitespace is treated as binary and decoded; anything else is treated as text and encoded. The swap button moves the output into the input and flips the direction, which is handy for checking a round trip. If you want to force a direction, choose it from the menu. A single 0 or 1 on its own is ambiguous, so pick the direction manually in that case.

Bytes can be separated by a space, which is easiest to read, or run together with no separator. When decoding, "Auto" accepts either style. If the input has no separators, its length must be a multiple of 8; if it has spaces, every group must be exactly 8 bits. The tool tells you which group or character is wrong instead of guessing.

Choose ASCII only if you need to be sure that every byte is a 7-bit US-ASCII code. ASCII mode refuses characters above code 127 when encoding and bytes above 127 when decoding. UTF-8 mode accepts everything. If the bytes you paste are not valid UTF-8, the tool still shows the text, replaces the broken bytes with the replacement character U+FFFD, and warns you.

What binary translation is useful for

Students use it to check homework on number systems and character encodings. Developers use it to inspect the exact bytes behind a string. Puzzle makers and teachers use it to write and solve binary messages. For the number side of binary, see the decimal and hex converters linked below.

Frequently asked questions

How do I translate binary to English?
Paste the 0s and 1s into the box. The tool splits them into 8-bit bytes, converts each byte to its number and decodes the bytes as UTF-8 text, so the English appears in the output box.
Why does each letter use 8 bits?
A byte is 8 bits. ASCII needs only 7 bits for its 128 codes, and the eighth bit is kept as zero, which is why English letters always start with 0 in 8-bit form.
Is my text sent to a server?
No. The conversion is JavaScript running in your browser, so what you type or paste never leaves your device through this tool.
Why does the output show the character U+FFFD?
That is the replacement character. It appears when the bytes are not valid UTF-8, for example when a multi-byte character is cut off.

Standards and references

Other translators

  • Morse Code Translator: Free Morse code translator: convert text to Morse and Morse to text with the ITU-R M.1677-1 table, adjustable gaps, copy and optional audio at your WPM.
  • Braille Translator: Free braille translator for uncontracted (grade 1) Unified English Braille. Convert text to Unicode braille and back, with capital and number signs added.