ASCII 33
ASCII 33 is Exclamation mark, written !.
Every representation
| Character | ! |
| Name | Exclamation mark |
| Decimal | 33 |
| Hexadecimal | 0x21 |
| Octal | 0041 |
| Binary | 00100001 |
| HTML entity | ! |
| Escape sequence | \x21 |
| Unicode | U+0021 |
| Group | Punctuation or symbol |
What it is for
Exclamation mark. In shell history expansion it re-runs a previous command, which is why ! inside double quotes can surprise you.
Where the number comes from
Codes 32 to 126 hold the printable characters. The punctuation was distributed around the letters and digits so that the most common characters fell into positions that were convenient for the teleprinter keyboards of the time.
Frequently asked questions
What is ASCII 33?
Exclamation mark, the character !. In hexadecimal it is 0x21, in octal 0041, and in binary 00100001.
How do I type ASCII 33?
Type ! directly. In a string literal it can also be written \\x21, and in HTML as !.
Is ASCII 33 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 26 — SUB
- ASCII 27 — ESC
- ASCII 28 — FS
- ASCII 29 — GS
- ASCII 30 — RS
- ASCII 31 — US
- ASCII 32 — space
- ASCII 34 — "
- ASCII 35 — #
- ASCII 36 — $
- ASCII 37 — %
- ASCII 38 — &
- ASCII 39 — '
- ASCII 40 — (
Full ASCII table · Text to binary converter · Number base converter