Free tool · no sign-up

Binary Translator

Translate text to binary code and binary back to text. Type in either box and the other one updates as you type.

5 characters · 5 bytes
5 bytes · 40 bits
Try:
Space between bytes
Hex

48 65 6C 6C 6F

Decimal (ASCII codes)

72 101 108 108 111

Letters, numbers and punctuation use one byte (8 bits) each, the same as ASCII. Accents and emoji take 2 to 4 bytes in UTF-8.

Building a tool for developers?

Launch it on BetterLaunch for free and get it in front of thousands of makers and early adopters.

Launch for free

How to use the binary translator

  1. Text to binary: type or paste text in the Text box. The binary code appears below it.
  2. Binary to text: paste 0s and 1s in the Binary box, or press the swap button first. The text appears straight away.
  3. Copy the result with the Copy button. Turn off spaces between bytes if you need one long string, and grab the hex or ASCII codes from the side panel.

How text becomes binary

Computers store every letter as a number. The capital letter H is 72, i is 105 and a space is 32. Those numbers are then written in binary, using only 0 and 1, with 8 digits per letter. That group of 8 is called a byte, so “Hi” is two bytes: 01001000 01101001.

The table that matches letters to numbers is ASCII for plain English, and UTF-8 for everything else. UTF-8 uses the same single byte for English letters, and 2 to 4 bytes for accented letters, other alphabets and emoji. That is why 🚀 turns into 32 binary digits.

Letters in binary

CharacterASCII codeBinary
A6501000001
B6601000010
C6701000011
Z9001011010
a9701100001
b9801100010
z12201111010
04800110000
95700111001
Space3200100000
!3300100001
?6300111111

Notice the pattern: small letters are capital letters plus 32, so only the third digit changes, from 010 to 011.

More free number tools

Frequently asked questions