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 |
|---|---|---|
| unicode | U+0021 | |
| decimal | 33 | |
| htmldecimal | ! | |
| htmlhex | ! | |
| css | \0021 | |
| javascript | \u{21} | |
| python | \u0021 | |
| java | \u0021 | |
| go | \u0021 | |
| ruby | \u{21} | |
| rust | \u{21} | |
| ccpp | \u0021 | |
| urlencoded | %21 | |
| utf8bytes | 21 | |
| utf16bebytes | 00 21 | |
| utf32bebytes | 00 00 00 21 |
How to Use
HTML:
!
CSS:
content: "\0021"
JavaScript:
"\u{21}"
Python:
"\u0021"
Properties
- Block
- Basic Latin
- Script
- Zyyy
- Category
- Other Punctuation (Po)
- Bidirectional
- ON
- Combining
- 0
- Mirrored
- No
Compare
Frequently Asked Questions
What is the ! character (EXCLAMATION MARK)?
! (EXCLAMATION MARK) is the Unicode character U+0021.
What is the Unicode codepoint of EXCLAMATION MARK?
The EXCLAMATION MARK character (!) has codepoint U+0021.
How do I type or copy EXCLAMATION MARK?
Copy ! directly, or use the HTML entity, UTF-8, and code encodings shown on this page.