"Happy birthday" in Binary
The text "Happy birthday" written in 8-bit binary (ASCII/UTF-8) is:
01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001Letter by letter
| Character | Binary |
|---|---|
| h | 01101000 |
| a | 01100001 |
| p | 01110000 |
| p | 01110000 |
| y | 01111001 |
| (space) | 00100000 |
| b | 01100010 |
| i | 01101001 |
| r | 01110010 |
| t | 01110100 |
| h | 01101000 |
| d | 01100100 |
| a | 01100001 |
| y | 01111001 |
How text becomes binary
Each character has a numeric code (ASCII/UTF-8), and that code is written as an 8-bit binary byte - lowercase h is 104, which is 01101000. String the bytes together and you have the whole phrase in binary. Decode binary back to text with the binary to text converter, or look up any letter in the alphabet in binary table.