Q in binary (uppercase)

AnswerUppercase Q Q is 01010001 in binary — ASCII code 81.

012816403211608040211

How uppercase Q becomes 01010001

The character’s code is 81. Writing 81 as a sum of powers of two gives 64 + 16 + 1 = 81. Put a 1 under each place value used and a 0 everywhere else, and you get 01010001.

Binary (8-bit)01010001
Decimal (ASCII code)81
Hexadecimal51 (0x51)
Octal121
UnicodeU+0051
HTML entityQ

The lowercase version, q in binary, is 01110001 — only the 32s bit changes.

Example: the word Qustralia in binary is 01010001 01110101 01110011 01110100 01110010 01100001 01101100 01101001 01100001. Open it in the text to binary converter.

Frequently asked questions

What is uppercase Q in binary?

Uppercase Q is 01010001 in 8-bit binary. That is ASCII and UTF-8 code 81, which is 64 + 16 + 1 = 81.

How is uppercase Q different from q in binary?

They differ only in the 32s bit (the third bit from the left): Q is 01010001 and q is 01110001. Flipping that bit switches the case.