How to convert text to binary
- Type or paste text into the Text box – the binary code appears below, one byte per group.
- To decode, paste binary into the Binary code box. Bytes can be separated by spaces or written as one continuous string.
- Choose BIN, HEX, DEC or OCT to change the number format.
How text becomes binary
Computers store every character as a number, and every number as bits – zeros and ones. Eight bits form a byte, which can hold a value from 0 to 255. The capital letter “A” has the number 65, which is 01000001 in binary.
This tool uses UTF-8, the encoding of the modern web. Basic Latin letters, digits and punctuation take one byte each; accented letters and most other alphabets take two or three; emoji take four.
The four formats
- BIN – base 2, eight digits per byte: 01001000
- HEX – base 16, two digits per byte: 48
- DEC – base 10, the plain byte value: 72
- OCT – base 8, three digits per byte: 110
All four lines describe the same byte, the letter “H”.
Frequently asked questions
Why does one letter give more than eight bits?
Characters outside basic Latin need several bytes in UTF-8. “é” is two bytes, “€” three and most emoji four.
Can I paste binary without spaces?
Yes, as long as the length is a multiple of eight digits (or two digits for hex).
Is binary code a form of encryption?
No. It is just another way of writing the same data, and anyone can convert it back.
Is my text uploaded?
No. The conversion happens entirely in your browser.