copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('!'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
!
EXCLAMATION MARK
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
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.