ASCII code for question mark
63
Question mark — ?
| Decimal | 63 |
| Hexadecimal | 0x3F |
| Octal | 0077 |
| Binary | 00111111 |
| HTML entity | ? |
What it is
Question mark is one of the 95 printable ASCII characters, the set every text encoding in common use still agrees on. UTF-8 encodes it as the single byte 63, which is why ASCII text is also valid UTF-8.
The full entry
ASCII 63 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.
Frequently asked questions
What is the ASCII code for question mark?
The ASCII code for question mark is 63 in decimal, 0x3F in hexadecimal and 0077 in octal.
What is question mark in binary?
00111111 — eight bits, though ASCII only defines seven, so the top bit is always zero.
Is question mark a printable character?
Yes. Question mark is in the printable range, codes 32 to 126, which is everything ASCII can put on a screen.
Other characters
- ASCII code for at sign — 64
- ASCII code for uppercase A — 65
- ASCII code for uppercase B — 66
- ASCII code for uppercase C — 67
- ASCII code for uppercase D — 68
- ASCII code for uppercase E — 69
- ASCII code for uppercase F — 70
- ASCII code for uppercase G — 71
- ASCII code for uppercase H — 72
- ASCII code for uppercase I — 73
- ASCII code for uppercase J — 74
- ASCII code for uppercase K — 75
Every character by name · The ASCII table · Text to binary converter