Skip to content
BinaryTo

Happy birthday to you in Binary

"Happy birthday to you" in binary

01001000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101

The first line of the song in 21 bytes. Only the first H is a capital, so it is the only byte that starts with 010.

Other ways to write it

The phrase in binary in five forms
FormBinaryCopy
As typed01001000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101
Lowercase01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101
UPPERCASE01001000 01000001 01010000 01010000 01011001 00100000 01000010 01001001 01010010 01010100 01001000 01000100 01000001 01011001 00100000 01010100 01001111 00100000 01011001 01001111 01010101
No spaces010010000110000101110000011100000111100100100000011000100110100101110010011101000110100001100100011000010111100100100000011101000110111100100000011110010110111101110101
7-bit1001000 1100001 1110000 1110000 1111001 0100000 1100010 1101001 1110010 1110100 1101000 1100100 1100001 1111001 0100000 1110100 1101111 0100000 1111001 1101111 1110101

Letter by letter

Each character of the phrase with its binary, decimal and hex code
CharacterBinaryDecimalHex
H010010007248
a011000019761
p0111000011270
p0111000011270
y0111100112179
space001000003220
b011000109862
i0110100110569
r0111001011472
t0111010011674
h0110100010468
d0110010010064
a011000019761
y0111100112179
space001000003220
t0111010011674
o011011111116F
space001000003220
y0111100112179
o011011111116F
u0111010111775

Change it and convert

The converter starts with this phrase. Edit it, or open the full text to binary converter.

Text to binary

Format
Bits

Binary

01001000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101
Swap to Binary to Text Converter

Frequently asked questions

How do you write "Happy birthday to you" in binary?

Write the ASCII code of each character as 8 bits, spaces included, and put the bytes in order: "Happy birthday to you" is 01001000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101.

Is "Happy birthday to you" in binary different in lowercase?

Yes. A lowercase letter is 32 more than its capital, so one bit flips in each letter you change. "happy birthday to you" in binary is 01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001 00100000 01110100 01101111 00100000 01111001 01101111 01110101.

How many bits is "Happy birthday to you" in binary?

"Happy birthday to you" has 21 characters, spaces included, so it takes 21 bytes: 168 bits in standard 8-bit binary, or 147 bits in 7-bit ASCII.