Binary to text

Translate binary to text: a worked example, a table of letters, UTF-8 accents and emoji, and the usual mistakes.

loading Binary to text
About this tool

Binary to text: how the translation works

A computer stores text as numbers, and numbers as bits. To read binary as text, split the bits into groups of 8 (one byte), turn each group into a number and look the number up in the character table. This page opens the translator with a sample ready; paste your own bits and the text appears as you type.

Worked example: Hello

01001000 01100101 01101100 01101100 01101111

Group by group, with the decimal code and the hexadecimal value of each byte:

CharacterDecimalBinaryHex
H720100100048
e1010110010165
l108011011006C
l108011011006C
o111011011116F

Read the first group by hand: 01001000 is 64 + 8 = 72, and 72 is the letter H. The tool does exactly this for every group.

Accents, symbols and emoji

Characters outside ASCII take more than one byte in UTF-8, so one character is two to four groups of 8 bits:

CharacterCode pointBytesBinary
éU+00E9211000011 10101001
€U+20AC311100010 10000010 10101100
😀U+1F600411110000 10011111 10011000 10000000

Spaces, 7 bits and other input

Spaces, commas and line breaks between groups are ignored, so 01001000 01101001, 0100100001101001 and one group per line all give "Hi". When the bit count does not divide by 8 but divides by 7, the tool reads old-style 7-bit ASCII: 1001000 1101001 is also "Hi".

Common mistakes

  • Dropping leading zeros: the letter "i" is 01101001, but a number converter shows 1101001. Bytes must keep their eight digits, or the groups shift.
  • A missing or extra bit: the total must be a multiple of 8 (or 7). One lost digit changes every letter after it.
  • Reading UTF-8 bytes of an accented letter as separate characters: "é" is two bytes (11000011 10101001), and each half alone is not a valid letter.

How to use the translator

  1. Paste the binary in the second card; the first card, text to binary, works the other way round.
  2. Read the text below it; a message appears if the bits are not valid.
  3. Copy the text with the button.

Frequently asked questions

How do I translate binary to text by hand?

Split the bits into bytes, add the powers of two where there is a 1 (128, 64, 32, 16, 8, 4, 2, 1) and look the sum up in the ASCII table: 01001000 is 64 + 8 = 72, the letter H.

Why do I get strange symbols instead of text?

The binary is probably not text: an image, a number or a file has bits that do not form valid UTF-8. Check that the message came from text and that no digit was lost.

Can I translate binary of a different length, like 6 bits?

Only 8-bit (UTF-8 or ISO) and 7-bit ASCII groups are read. For a number written in binary, use the base converter instead.

Report a problem