Toolman

ASCII 33

ASCII 33 is Exclamation mark, written !.

Every representation

Character!
NameExclamation mark
Decimal33
Hexadecimal0x21
Octal0041
Binary00100001
HTML entity!
Escape sequence\x21
UnicodeU+0021
GroupPunctuation 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

Full ASCII table · Text to binary converter · Number base converter