!
U+0021
EXCLAMATION MARK
- Category
- Po — Other Punctuation
- Block
- Basic Latin
- Script
- Common
- Plane
- Basic Multilingual Plane (BMP)
- Decimal
- 33
Encoding Table
This table shows the exact bytes used to represent EXCLAMATION MARK in each encoding. Unicode encodings (UTF-8, UTF-16, UTF-32) support every character; legacy encodings only cover a limited character set and show "not supported" when a character falls outside their range.
| Encoding | Bytes (Hex) | Bytes (Decimal) | Byte count |
|---|---|---|---|
| UTF-8 | 21 | 33 | 1 |
| UTF-16 LE | 21 00 | 33 0 | 2 |
| UTF-16 BE | 00 21 | 0 33 | 2 |
| UTF-32 LE | 21 00 00 00 | 33 0 0 0 | 4 |
| UTF-32 BE | 00 00 00 21 | 0 0 0 33 | 4 |
| ASCII | 21 | 33 | 1 |
| Latin-1 (ISO-8859-1) | 21 | 33 | 1 |
| Windows-1252 | 21 | 33 | 1 |
| ISO-8859-2 (Latin-2) | 21 | 33 | 1 |
| ISO-8859-5 (Cyrillic) | 21 | 33 | 1 |
| KOI8-R | 21 | 33 | 1 |
| Shift-JIS | 21 | 33 | 1 |
| EUC-JP | 21 | 33 | 1 |
| GBK | 21 | 33 | 1 |
| Big5 | 21 | 33 | 1 |
Escape Sequences
How to reference this character in source code, markup, and URLs.
HTML Named Entity
none
HTML Decimal
!
HTML Hex
!
CSS Escape
\21
JS / JSON Escape
\u0021
URL Percent-Encoded
%21
Python (repr)
\u0021
Codepoint (Decimal)
33
Glyph Details
View the glyph in different fonts and scripts on our sibling site.
View U+0021 on CharLookup.com ↗UTF-8 Binary Breakdown
UTF-8 encodes this character as 1 byte. Single-byte characters (U+0000–U+007F) are identical to ASCII — the high bit is always 0.
Byte 1
0
0
1
0
0
0
0
1
21
UTF-8: 21
· 1 byte
· Codepoint U+0021
Unicode Properties
- Unicode Version
- Introduced in Unicode 1.1
- Bidi Class
- ON — Other Neutral