01001000 01100101 01101100 01101100 01101111 → text — binary and text

introfive bytes decoded

Answer

Hello

Why this example is worth doing

The decode direction, which is what most of the search traffic for this page actually wants. The tool accepts the bits with spaces, without spaces, or with any other separator, because pasted binary comes from everywhere and rejecting it on formatting grounds is the fastest way to lose a user. It warns rather than fails when the bit count is not a multiple of eight, and says how many bits are left over.

Try your own input in the Binary ⇄ text / ASCII. Convert text to binary and back, byte by byte, with the full UTF-8 breakdown.

How the answer is reached

Decode 5 bytes as ASCII

Decode 5 bytes as ASCII — columns byte, binary, hex, decimal
bytebinaryhexdecimal
0010010004872
10110010165101
2011011006C108
3011011006C108
4011011116F111
Decode 5 bytes as ASCII — columns code point, character
code pointcharacter
U+0048H
U+0065e
U+006Cl
U+006Cl
U+006Fo

textHello

Compare with

Open this example in the Binary ⇄ text / ASCII

The field arrives filled in with this example’s input.

Note:

Notation this page assumes

  • Bit strings are written most significant bit first, and bit 0 is the least significant bit.
  • A width is stated explicitly wherever it changes the answer; nothing is silently sign-extended or truncated.
  • ASCII is the 7-bit set padded to one byte; UTF-8 is shown byte by byte, so a non-ASCII character is more than eight bits.

Sources

  • ANSI X3.4 / ISO-IEC 646, the ASCII character set
  • The Unicode Standard, Annex on the UTF-8 encoding form