Binary Translator

Type text to convert it to binary (0s and 1s), or paste binary to decode it. Switch to hex, decimal or octal for other byte formats.

How text becomes binary

  1. Type text on the left – each character becomes one or more 8-bit bytes on the right.
  2. Paste binary on the right to decode it; spaces between bytes are optional.
  3. Switch the format to see the same bytes as hex, decimal or octal.

Computers store each character as a number, and the number as bits. Letters, digits and basic punctuation use one byte in UTF-8 (the same as ASCII): “H” is 72, which is 01001000 in binary. Accented letters take two bytes and most emoji four, so “é” becomes 11000011 10101001.

CharacterDecimalBinary
A6501000001
a9701100001
04800110000
space3200100000
!3300100001

To read a byte by hand, add the place values of each 1: 128, 64, 32, 16, 8, 4, 2, 1. For 01001000 that is 64 + 8 = 72 = “H”.

Frequently asked questions

What is “hello” in binary?

01101000 01100101 01101100 01101100 01101111.

Why does my binary decode to strange symbols?

The bits are probably not grouped in multiples of 8, or the text used a different encoding than UTF-8.