!
U+0021 EXCLAMATION MARK
Basic Latin · Other punctuation
| Name | EXCLAMATION MARK |
|---|---|
| Code point | U+0021 |
| Decimal | 33 |
| Block | Basic Latin |
| Category | Other punctuation (Po) |
| UTF-8 | 21 |
| UTF-16 | 0021 |
| UTF-32 | 00000021 |
| HTML | ! ! |
| CSS | \0021 |
| JavaScript | \u0021 |
| Python | \u0021 |
| URL-encoded | %21 |
Frequently asked questions
What is the character U+0021?
U+0021 ! is officially named EXCLAMATION MARK. It belongs to the Basic Latin block and the category Other punctuation.
How do I type !?
Windows (Word, WordPad): type 0021, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 0021, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 0021. Or simply copy it from this page.
How do I write ! in HTML?
As a numeric character reference ! (decimal) or ! (hexadecimal). In UTF-8 documents you can also insert the character directly.
How is ! encoded in UTF-8?
In UTF-8 the character takes 1 bytes: 21. In UTF-16: 0021.