U+0021 was added to Unicode in version 1.1 (1993). It belongs to the block Basic Latin in the Basic Multilingual Plane.

This character is a Other Punctuation and is commonly used, that is, in no specific script. The character is also known as factorial and bang.

The glyph is not a composition. It has a Narrow East Asian Width. In bidirectional context it acts as Other Neutral and is not mirrored. The glyph can, under circumstances, be confused with 6 other glyphs. In text U+0021 behaves as Exclamation regarding line breaks. It has type STerm for sentence and Other for word breaks. The Grapheme Cluster Break is Any.

The Wikipedia has the following information about this codepoint:

The exclamation mark or exclamation point is a punctuation mark usually used after an interjection or exclamation to indicate strong feelings or high volume (shouting), and often marks the end of a sentence. Example: “Watch out!” Similarly, a bare exclamation mark (with nothing before or after) is often used in warning signs.

The mark can also be used at the beginning of a word instead of at the end. For example, several computer languages use "!" for logical negation; e.g. "!A" means "the logical negation of A", also called "not A". There are many other specialized uses of this mark, such as in mathematics where it denotes the factorial operation.


System Representation
UTF-8 21
UTF-16 00 21
UTF-32 00 00 00 21
URL-Quoted %21
HTML-Escape !
Wrong windows-1252 Mojibake !
HTML-Escape !
digraph !
alias factorial
alias bang

Related Characters

  • ‼
  • ⁈
  • ⁉
  • ︕
  • ﹗
  • !


  • ǃ
  • ‼
  • ⁈
  • ⁉
  • ⵑ
  • !


Complete Record

Property Value
Age (age) 1.1
Unicode Name (na) EXCLAMATION MARK
Unicode 1 Name (na1)
Block (blk) ASCII
General Category (gc) Other Punctuation
Script (sc) Common
Bidirectional Category (bc) Other Neutral
Combining Class (ccc) Not Reordered
Decomposition Type (dt) None
Decomposition Mapping (dm) !
Lowercase (Lower)
Simple Lowercase Mapping (slc) !
Lowercase Mapping (lc) !
Uppercase (Upper)
Simple Uppercase Mapping (suc) !
Uppercase Mapping (uc) !
Simple Titlecase Mapping (stc) !
Titlecase Mapping (tc) !
Case Folding (cf) !
ASCII Hex Digit (AHex)
Alphabetic (Alpha)
Bidi Control (Bidi_C)
Bidi Mirrored (Bidi_M)
Bidi Paired Bracket (bpb) !
Bidi Paired Bracket Type (bpt) None
Cased (Cased)
Composition Exclusion (CE)
Case Ignorable (CI)
Full Composition Exclusion (Comp_Ex)
Changes When Casefolded (CWCF)
Changes When Casemapped (CWCM)
Changes When NFKC Casefolded (CWKCF)
Changes When Lowercased (CWL)
Changes When Titlecased (CWT)
Changes When Uppercased (CWU)
Dash (Dash)
Deprecated (Dep)
Default Ignorable Code Point (DI)
Diacritic (Dia)
East Asian Width (ea) Narrow
Extender (Ext)
FC NFKC Closure (FC_NFKC) !
Grapheme Cluster Break (GCB) Any
Grapheme Base (Gr_Base)
Grapheme Extend (Gr_Ext)
Hex Digit (Hex)
Hangul Syllable Type (hst) Not Applicable
Hyphen (Hyphen)
ID Continue (IDC)
Ideographic (Ideo)
ID Start (IDS)
IDS Binary Operator (IDSB)
IDS Trinary Operator and (IDST)
Indic Positional Category (InPC) NA
Indic Syllabic Category (InSC) Other
ISO 10646 Comment (isc)
Joining Group (jg) No_Joining_Group
Join Control (Join_C)
Jamo Short Name (JSN)
Joining Type (jt) Non Joining
Line Break (lb) Exclamation
Logical Order Exception (LOE)
Math (Math)
Noncharacter Code Point (NChar)
NFC Quick Check (NFC_QC) Yes
NFD Quick Check (NFD_QC) Yes
NFKC Casefold (NFKC_CF) !
NFKC Quick Check (NFKC_QC) Yes
NFKD Quick Check (NFKD_QC) Yes
Numeric Type (nt) None
Numeric Value (nv) NaN
Other Alphabetic (OAlpha)
Other Default Ignorable Code Point (ODI)
Other Grapheme Extend (OGr_Ext)
Other ID Continue (OIDC)
Other ID Start (OIDS)
Other Lowercase (OLower)
Other Math (OMath)
Other Uppercase (OUpper)
Pattern Syntax (Pat_Syn)
Pattern White Space (Pat_WS)
Quotation Mark (QMark)
Radical (Radical)
Sentence Break (SB) STerm
Simple Case Folding (scf) !
Script Extension (scx) Common
Soft Dotted (SD)
STerm (STerm)
Terminal Punctuation (Term)
Unified Ideograph (UIdeo)
Variation Selector (VS)
Word Break (WB) Other
White Space (WSpace)
XID Continue (XIDC)
XID Start (XIDS)
Expands On NFC (XO_NFC)
Expands On NFD (XO_NFD)
Expands On NFKC (XO_NFKC)
Expands On NFKD (XO_NFKD)