HandyBench

Binary ⇄ Text Converter

Translate text to 8-bit binary and back.

How to use the Binary ⇄ Text Converter

  1. 1 Choose Text → Binary or Binary → Text.
  2. 2 Type your text, or paste 8-bit binary separated by spaces.
  3. 3 Copy the converted output.

How text becomes binary

Computers store text as numbers, and this converter shows those numbers in base 2. Your text is first encoded as UTF-8 bytes (the encoding standardised in RFC 3629), and every byte is printed as exactly eight binary digits, with a space between bytes. Plain English letters take one byte each, but other characters take more, so the output grows quickly for accented letters, symbols and emoji.

CharacterCode pointUTF-8 bytesBinary output
AU+0041101000001
éU+00E9211000011 10101001
€U+20AC311100010 10000010 10101100
😀U+1F600411110000 10011111 10011000 10000000

Worked example: reading "Hi!" by hand

The text Hi! converts to 01001000 01101001 00100001. To check the first byte, add the place values of each 1 bit, reading from the left as 128, 64, 32, 16, 8, 4, 2, 1. The set bits in 01001000 are 64 and 8, giving 72, which is the code for capital H. The second byte is 64 + 32 + 8 + 1 = 105, a lower-case i, and the third is 32 + 1 = 33, an exclamation mark.

Decoding rules

  • Input is split on whitespace, and each chunk must be 1 to 8 characters of 0 or 1. A short chunk such as 1000001 is read as its numeric value (65, the letter A), so leading zeros are optional.
  • A long unbroken string like 0100100001101001 is rejected with an error, because the chunk is longer than eight digits. Insert a space after every eighth digit and try again.
  • The resulting bytes are decoded as UTF-8. If they do not form valid UTF-8, for example a lone 11000011, the affected positions show as the replacement character instead of raising an error.

Common mistakes

  • Confusing the number with the text. The byte 00110111 followed by 00110010 is the text "72", whereas the single byte 01001000 is the letter H. To convert an actual number between bases, use the number base converter.
  • Expecting one byte per character. Latin-1 and old 7-bit ASCII tables would give é a single byte; UTF-8 uses two, so results can differ from a textbook or another tool.
  • Treating binary as secret. It is a different notation for the same data, not encryption. For a related text transformation, see ROT13, and for code-point numbers rather than bits, the text to ASCII converter.

Examples

  • ▸ Encoding "Hi" as 01001000 01101001.
  • ▸ Decoding a binary string back into a readable message.

Frequently asked questions

How is the binary calculated?

Text is encoded as UTF-8 bytes, and each byte is shown as 8 binary digits. This matches how computers store characters, so emoji and accented letters convert correctly.

What format should binary input be in?

Use groups of up to 8 ones and zeros separated by spaces, e.g. "01001000 01101001". Anything else is flagged as invalid.

Why does one character sometimes produce several bytes?

UTF-8 uses 1 byte for basic English letters, 2 for most accented letters (é is 11000011 10101001), 3 for symbols like € and 4 for emoji. Older 7-bit ASCII or Latin-1 tables would give different results for non-English text.

Can I decode binary that has no spaces between bytes?

Not directly. Each group must be 8 digits or fewer, so a long unbroken string is rejected. Insert a space after every eighth digit and paste it again.

Is binary a form of encryption?

No. Binary is just another way of writing the same data, and anyone can convert it back. It hides nothing from a reader who knows the format.