Unicode Character "!" (U+0021)

The character ! (Exclamation Mark) is represented by the Unicode codepoint U+0021. It is encoded in the Basic Latin block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as !.

Main Unicode Properties

Name Exclamation Mark
Unicode Codepoint U+0021
Unicode Version 1.1 (June, 1993)
Block Basic Latin
Plane Basic Multilingual Plane

Bidirectional Data

Bidirectional class Other Neutral (ON)
Is mirrored? No

Other Unicode Data

U+0021 Conversion

HTML (decimal) !
HTML (hex) !
HTML (named) !
URL Escape Code %21
CSS \000021
JavaScript, JSON \u0021
C, C++, Java \u0021
Python \u0021
Rust \u{0021}
Ruby \u0021

How to type "!"

  • Windows ?: Hold Alt, then type 0 0 2 1. Release Alt.
  • Mac ?: Hold Alt ⌥, then type 0 0 2 1. Release Alt.


  • !
    Times, Times New Roman, serif
  • !
    Helvetica, Arial, sans-serif
  • !
    Courier, Courier New, monospace

UTF Encodings

UTF-8 (hex) 0x21
UTF-16 (hex) 0x0021
UTF-32 (hex) 0x00000021

Characters based on "!" (U+0021)