Text to Binary Converter: Binary Translator

Use this text to binary converter to turn words into 0s and 1s. Type text to see each character in binary, or paste binary to decode it back. It supports ASCII and UTF-8 and can show hex and decimal codes too.

Binary Translator

Text to binary and binary to text.

Text is encoded as UTF-8, so English letters use one byte (8 bits) and emoji or other alphabets use 2 to 4 bytes. Binary input should be groups of 8 bits; spaces between bytes are optional.
Everything runs in your browser. Nothing you enter or upload is sent to a server.

How to use the binary translator

  1. Type or paste text to convert it to binary.
  2. Or paste binary (0s and 1s) to convert it to text; the direction is detected automatically.
  3. Choose binary, hex, octal or decimal output and a separator.
  4. Press Copy, or Use as input to convert back.

How it works

Each character is turned into bytes with UTF-8, the standard text encoding of the web. Each byte (a number from 0 to 255) is written in base 2 and padded to 8 digits. To decode, the 0s and 1s are split into 8-bit groups, each group becomes a byte, and the bytes are decoded as UTF-8 text.

Example

"Hi" is H = 72 = 01001000 and i = 105 = 01101001, so "Hi" in binary is 01001000 01101001. In hex it is 48 69.

Frequently asked questions

How do you write "hello" in binary?

01101000 01100101 01101100 01101100 01101111.

Why 8 digits per letter?

A byte has 8 bits. ASCII letters fit in one byte, so each one is 8 binary digits.

Does it support emoji and other languages?

Yes. They are encoded with UTF-8 and use 2 to 4 bytes each.

What is the difference from a binary calculator?

This tool converts text. To do math with binary numbers, use the binary calculator.

See also: Binary Calculator, Base64 Encoder.

Translate text and binary

How to use it

  1. Type text or paste binary.
  2. Pick the direction.
  3. Read the result.
  4. Copy it.

More questions

What is A in binary?

Capital A in binary is 01000001, which is 65 in ASCII.

Does it handle emoji?

Yes. It handles emoji using UTF-8 encoding, so each emoji becomes several bytes.

Can I add spaces between bytes?

Yes. Add spaces between bytes to make the binary easier to read.

Related tools: Number Base Converter, Morse Code Translator, Binary Calculator.

Four steps to convert text to binary: type text or paste binary, pick binary, hex, octal or decimal output, choose a separator, then copy
How to convert text to binary.
The text Hi! converted to binary: H is 01001000, i is 01101001 and the exclamation mark is 00100001
Worked example: each character becomes 8 bits.