Text to Binary Converter

Type text to see it written in binary.

Free · Runs in your browser · Your text is never uploaded

The letter A converted to its binary code 01000001

Writing text in binary

Every character has a numeric code, and the computer stores that number in binary. The letter “A” is 65, which is 01000001; a lowercase “a” is 97 or 01100001. Each group of eight digits is one byte.

Characters outside basic English take more than one byte in UTF-8, so “é” becomes two groups and an emoji usually four. The Bytes figure shows the total size of your text.

Need more options? Open the full Text to Binary Converter.

Frequently asked questions

How do I convert text to binary?

Type the text above. Each character is converted to one or more 8-digit groups.

What is “Hello” in binary?

01001000 01100101 01101100 01101100 01101111.

Why are there spaces in the binary?

They separate the bytes so the output is easier to read. They can be removed when decoding.