Text to Binary Converter

Binary, Hex, Decimal and Octal for Text.

Loading…

Computers store the letter H as the number 72, which is 01001000 in binary and 48 in hex. This converter shows text in any of those forms and turns such codes back into readable text.

Text is encoded as UTF-8, the standard for the web, so accented letters and emoji work: they take two to four bytes each. When decoding, the bytes can be separated by spaces, commas or nothing at all.

How to use the Text to Binary Converter tool

  1. Choose the direction, for example text to binary.
  2. Type or paste your input.
  3. Copy the result.
  • Homework and teaching about how text is stored
  • Decoding a binary or hex message from a puzzle
  • Inspecting the bytes of a string while debugging

Tips for the best result

  • Each ASCII character is 8 binary digits or 2 hex digits.
  • Binary without spaces is fine as long as its length is a multiple of 8.

Quick facts

PriceFree
Works withText
Where it runsIn your browser, on your device
AccountNot needed

Frequently asked questions

Why does é give two bytes?

In UTF-8, characters outside basic ASCII use two to four bytes.

What is the difference from Base64?

Base64 packs bytes into letters and digits for transport. Binary and hex show each byte on its own.

Can it convert numbers between bases, like 255 to FF?

No. It converts text to byte codes. It is not a number-base calculator.

Why do I see strange characters after decoding?

The bytes are not valid UTF-8 text. They may be compressed or encrypted data.