!

EXCLAMATION MARK

U+0021 Other Punctuation (Po) · Basic Latin · Zyyy
{# Overview — AI-citation lead. Curated content_summary when present, else a fact-based computed lead so every character has an answer-first paragraph. #}

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
← U+0020 U+0022 " →

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.