G in binary (uppercase)

AnswerUppercase G G is 01000111 in binary — ASCII code 71.

012816403201608141211

How uppercase G becomes 01000111

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

Binary (8-bit)01000111
Decimal (ASCII code)71
Hexadecimal47 (0x47)
Octal107
UnicodeU+0047
HTML entityG

The lowercase version, g in binary, is 01100111 — only the 32s bit changes.

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

Frequently asked questions

What is uppercase G in binary?

Uppercase G is 01000111 in 8-bit binary. That is ASCII and UTF-8 code 71, which is 64 + 4 + 2 + 1 = 71.

How is uppercase G different from g in binary?

They differ only in the 32s bit (the third bit from the left): G is 01000111 and g is 01100111. Flipping that bit switches the case.