Text to Binary Converter

Translate text into binary code (0s and 1s). Results appear as you type.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the text to binary converter

  1. Choose the direction with the buttons above the result.
  2. Type or paste your text in the top box.
  3. Copy the converted result.

How text becomes binary

Computers store every character as a number, and every number in base 2, using only the digits 0 and 1. A group of eight binary digits (bits) is a byte, which can hold a value from 0 to 255. The letter A is number 65 in the ASCII table, and 65 in binary is 01000001.

CharacterDecimalBinary
A6501000001
B6601000010
a9701100001
04800110000
space3200100000
!3300100001

So Hi is 01001000 01101001. Notice that upper and lowercase letters differ by a single bit.

Beyond English letters

ASCII only covers 128 characters. For everything else, this tool uses UTF-8, the standard encoding of the web, in which accented letters take two bytes, most Asian characters three, and emoji four. That is why one emoji turns into 32 binary digits.

Frequently asked questions

How do I read binary?

Each position is worth double the one to its right: 128, 64, 32, 16, 8, 4, 2, 1. Add up the positions that hold a 1. 01000001 is 64 + 1 = 65, which is A.

What is my name in binary?

Type it in the box above; each letter becomes a group of eight digits.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools