Skip to the tool
Binary Translator Free tools

Text to binary converter

Type or paste text and get the binary as you type, one byte at a time.

Updated · Written and checked by Murugan Vellaichamy

Waiting for input
Text
Binary
Try:

Byte by byte

Every byte of your input, with the place values that add up to it. Hover a row to find that byte in the output.

CharacterBinaryPlace valuesDecimalHex

How text becomes binary

Each character has a number. In ASCII and UTF-8, “A” is 65, “a” is 97, a space is 32 and the digit “7” is 55. Write that number in binary and pad it to eight bits, and you have the byte.

Characters outside basic English take more than one byte in UTF-8. “é” becomes two bytes, 11000011 10101001, and the waving-hand emoji becomes four: 11110000 10011111 10010001 10001011.

Pick ASCII only if the receiving system needs it: ASCII has 128 characters and rejects anything else, and the converter will tell you which character it couldn’t encode.

Worked example: the letter “A”
128
64
32
16
8
4
2
1
0
1
0
0
0
0
0
1

64 + 1 = 65 = A

Sources and method

Encoding to UTF-16 writes each 16-bit code unit of the text in the chosen byte order (low byte first for LE, high byte first for BE). The Encoding Standard defines decoders for UTF-16 but not encoders, so this step is the site’s own code.

The ASCII option here is strict 7-bit ASCII (codes 0 to 127, per RFC 20) and rejects anything else. Browsers treat the label “ascii” as Windows-1252, which is why the two are listed separately.

Questions

Which encoding should I choose?

UTF-8 for almost everything. It matches ASCII for English letters, digits and punctuation, and it can encode every other character too.

How many bits is one letter?

Eight bits (one byte) for any ASCII character in UTF-8. Accented letters take 16 bits, most other scripts 16 or 24, and emoji 32.

Can I remove the spaces between bytes?

Yes. Choose “No spaces” for one continuous run of bits, or “One byte per line”. The binary to text converter reads all three back.

More converters

Copied