Question mark in binary code

AnswerQuestion mark ? is 00111111 in binary — ASCII code 63.

012806413211618141211

How question mark becomes 00111111

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

Binary (8-bit)00111111
Decimal (ASCII code)63
Hexadecimal3F (0x3F)
Octal077
UnicodeU+003F
HTML entity?

Frequently asked questions

What is question mark in binary?

Question mark is 00111111 in 8-bit binary. That is ASCII and UTF-8 code 63, which is 32 + 16 + 8 + 4 + 2 + 1 = 63.