How to use the Text to Binary Converter
Type or paste any text. Each character is shown as an 8-bit byte, with spaces between the bytes.
How text becomes binary
Computers store every character as a number. Capital A is 65, lower-case a is 97 and a space is 32. Writing that number in base 2 with eight digits gives the byte you see: A is 01000001 and a space is 00100000.
Upper case and lower case
The upper- and lower-case forms of a letter differ by exactly 32, which is a single bit. Compare A (01000001) with a (01100001): only the third bit from the left changes.
How it works
Each UTF-8 byte is written as 8 binary digits.
Examples
- Hi!
01001000 01101001 00100001
- A
01000001
- OK
01001111 01001011
Common characters in binary
| Character | Binary |
|---|---|
| A | 01000001 |
| B | 01000010 |
| C | 01000011 |
| Z | 01011010 |
| a | 01100001 |
| b | 01100010 |
| z | 01111010 |
| 0 | 00110000 |
| 1 | 00110001 |
| 9 | 00111001 |
| ! | 00100001 |
| ? | 00111111 |
| @ | 01000000 |
Limitations and assumptions
Runs entirely in your browser. Nothing you enter is uploaded.
Frequently asked questions
What is "Hi" in binary?
01001000 01101001. H is 72 and i is 105 in decimal.
How many bits is one letter?
Eight bits, or one byte, for standard English letters, digits and punctuation.
How do I turn binary back into text?
Use the binary to text converter. Paste the bytes separated by spaces and it decodes them back into characters.