Binary Translator

Type text and see its bytes in binary, hex or decimal, or paste the code and read the text. Conversion uses UTF-8, so accents and emoji work.

Direction
Format
Binary code

01000011 11000011 10110011 01100100 01101001 01100111 01101111 00100000 01100001 01101111 00100000 01010000 01101111 01101110 01110100 01101111

To send bytes through email, JSON or an HTTP header, Base64 takes less space than binary.

Open Base64

Every byte of a text has a code in the table. See the values in binary, hex and decimal in the ASCII table.

See the ASCII table

How text becomes binary

A computer stores each character as one or more bytes, and each byte has 8 bits. "A" is byte 65, which is 01000001 in binary, 41 in hex and 65 in decimal.

The translation follows the character table. For unaccented letters it matches the ASCII table. The rest of Unicode takes more bytes, which is why the same text can produce different numbers of groups.

Accents and emoji take more than one byte

In UTF-8, "ç" has two bytes (11000011 10100111) and an emoji like 😀 has four. A text of 15 characters can produce well over 15 groups.

Going back, the tool joins the bytes and checks that they form valid UTF-8. If a byte is missing or extra, it points to its position instead of showing broken characters.

Input formats

  • Binary: groups of 8 bits separated by spaces, commas or line breaks. Everything joined together and the 0b prefix also work.
  • Hex: digit pairs like 48 69 or 0x48 0x69, or all joined, like 4869.
  • Decimal: one number from 0 to 255 per byte, separated by spaces or commas.

Frequently asked questions about binary code

Bytes, accents and errors when translating.