Richscripts

Text to binary converter

See the bytes behind any text as binary (01001000), hex, octal or decimal, or turn those bytes back into text.

Private: everything happens in your browser. Nothing you type or choose is uploaded.

Direction

How to use it

  1. Choose the direction and the format.
  2. Type or paste; the result updates as you type.
  3. Copy the result.

Questions and answers

Why does one letter sometimes give two or more bytes?

Text is encoded as UTF-8. Basic English letters take one byte; accented letters take two, and most emoji take four.

Do the bytes need spaces between them?

Spaces are easiest to read and always work. Binary without spaces also works if it is a whole number of 8-bit bytes; hex without spaces works in pairs.

What is the binary for the letter A?

Capital A is 65, which is 01000001 in binary and 41 in hex.

Encoding tools