Home › Binary Translator

Binary Translator: Text to Binary, Hex, Decimal & Base64

Convert text to binary code and binary back to text, plus hexadecimal, decimal, octal and Base64, with full UTF-8 support.

Text is turned into bytes with UTF-8, the encoding used by almost every website, so accented letters, Arabic and emoji take two to four bytes each.

Result
Direction
—
Characters
—
Bytes
—
Bits
—

How to translate text to binary

  1. Type your text to get binary, or paste binary to get text back. The direction is detected automatically.
  2. Choose the code type: binary, hexadecimal, decimal, octal or Base64.
  3. Copy the result. Bytes are separated by spaces unless you untick the option.

How text becomes binary

Computers store each character as one or more bytes, and each byte is eight bits (0s and 1s). This tool uses UTF-8, the encoding used by about 98 % of websites. Plain English letters take one byte, accented letters and Arabic take two, and most emoji take four.

CharacterBinaryHexDecimal
A010000014165
a011000016197
space001000002032
0001100003048
é11000011 10101001C3 A9195 169

Example

“Hi” is H = 72 and i = 105. In binary that is 01001000 01101001, in hex 48 69 and in Base64 SGk=. Two characters, two bytes, 16 bits.

Converting binary to decimal by hand

01001000 = 0×128 + 1×64 + 0×32 + 0×16 + 1×8 + 0×4 + 0×2 + 0×1 = 72

Each position doubles in value from right to left. Add the values where there is a 1, then look the number up in an ASCII table: 72 is “H”.

Frequently asked questions

What is the difference between ASCII and UTF-8?

ASCII covers 128 characters (English letters, digits, punctuation). UTF-8 includes ASCII unchanged and adds every other character in Unicode, so for plain English both give the same binary.

Why does my binary not decode?

Binary must come in groups of 8 bits. If a digit is missing or extra, the bytes shift and the text breaks. Check the length is a multiple of 8.

Is Base64 encryption?

No. Base64 only turns bytes into safe printable characters for email and web data. Anyone can decode it, so never use it to hide passwords.

Encoding follows RFC 3629 (UTF-8) and RFC 4648 (Base64). Web usage share: W3Techs, 2026.

More free text tools

Last reviewed: 2026-11-14. Results are calculated in your browser and may differ slightly from other apps. See our disclaimer.