!

EXCLAMATION MARK

U+0021 Other Punctuation (Po) · Basic Latin · Common

Overview

The exclamation mark (!) is a punctuation mark used to express strong feeling, emphasis, or a command. It occupies U+0021 in the Basic Latin block and is classified as punctuation. Placed at the end of a sentence, it conveys surprise, urgency, or excitement, and in computing it also carries specialized meanings such as logical negation. As one of the original ASCII characters, it is among the oldest and most universal punctuation symbols in digital text.

On this page

Encoding Table

Format Value Copy
Code point U+0021
Decimal 33
HTML decimal !
HTML hex !
CSS \0021
JavaScript \u{21}
Python \u0021
Java \u0021
Go \u0021
Ruby \u{21}
Rust \u{21}
C / C++ \u0021
URL-encoded %21
UTF-8 bytes 21
UTF-16BE bytes 00 21
UTF-32BE bytes 00 00 00 21

How to Use

HTML: !
CSS: content: "\0021"
JavaScript: "\u{21}"
Python: "\u0021"

Properties

Block
Basic Latin
Script
Common Zyyy
Category
Other Punctuation (Po)
Bidirectional
ON
Combining
0
Mirrored
No
← U+0020 U+0022 " →

Compare

Frequently Asked Questions

How do I type or copy EXCLAMATION MARK?

Copy ! directly, or use the HTML entity, UTF-8, and code encodings shown on this page.