U+0021 · Basic Latin
Exclamation Mark !
Exclamation Mark is the Unicode character U+0021 (official name “EXCLAMATION MARK”) from the Basic Latin block. It belongs to SymbolHero’s punctuation collection. Copy it with the button, or use the codes and keyboard methods below to type it yourself.
UnicodeU+0021
HTML!
!U+0021
Character codes
| Unicode code point | U+0021 | |
|---|---|---|
| Decimal | 33 | |
| HTML named entity | ! | |
| HTML (hex) | ! | |
| HTML (decimal) | ! | |
| CSS | \0021 | |
| JavaScript | \u0021 | |
| Python | \u0021 | |
| UTF-8 bytes | 21 | |
| UTF-16 | 0021 | |
| URL-encoded | %21 |
Character details
| Official name | EXCLAMATION MARK |
|---|---|
| Unicode block | Basic Latin |
| General category | Other Punctuation (Po) |
| SymbolHero category | Punctuation |
| Emoji | No |
How to type !
Windows
- In Microsoft Word or Outlook: type
0021then press Alt + X. - Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “exclamation mark”, then Select and Copy.
Mac
- Press Control + Command + Space to open the Character Viewer, search “exclamation mark”, and double-click the result.
- With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type
0021.
iPhone & Android
- Tap Copy at the top of this page, then long-press where you want it and choose Paste.
Docs & web
- Google Docs: Insert → Special characters, then search “exclamation mark” or enter
U+0021. - HTML:
!or! - Excel / Google Sheets:
=UNICHAR(33)
Similar punctuation
Questions
What is the Unicode for !?
It is U+0021 (EXCLAMATION MARK), decimal 33.
Is there a Windows Alt code for it?
No standard Alt code exists for this character. In Word type 0021 then Alt+X, or copy it from this page.
How do I type it on a Mac?
There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “exclamation mark”, or copy it from this page.
What is the HTML code?
Use the named entity ! or the numeric reference !.