Common Hex Values Reference

ASCII Character Hex Values

The most commonly used hexadecimal values for ASCII characters:

Uppercase Letters (A-Z)

CharHexCharHexCharHex
A41B42C43
D44E45F46
G47H48I49
J4AK4BL4C
M4DN4EO4F
P50Q51R52
S53T54U55
V56W57X58
Y59Z5A

Lowercase Letters (a-z)

CharHexCharHexCharHex
a61b62c63
d64e65f66
g67h68i69
j6Ak6Bl6C
m6Dn6Eo6F
p70q71r72
s73t74u75
v76w77x78
y79z7A

Digits (0-9)

DigitHexDigitHex
030535
131636
232737
333838
434939

Special Characters

CharacterHexDescription
Space20Blank space
!21Exclamation mark
"22Double quote
#23Hash/pound
$24Dollar sign
%25Percent
&26Ampersand
'27Single quote
(28Left parenthesis
)29Right parenthesis
*2AAsterisk
+2BPlus sign
,2CComma
-2DHyphen/minus
.2EPeriod/dot
/2FForward slash
:3AColon
;3BSemicolon
<3CLess than
=3DEquals
>3EGreater than
?3FQuestion mark
@40At symbol

Control Characters

NameHexDescription
NULL00Null character
TAB09Horizontal tab
LF0ALine feed (newline)
CR0DCarriage return
ESC1BEscape
DEL7FDelete

Common Byte Patterns

PatternHexUse Case
All zeros00Empty/null byte
All onesFFBit mask, max value
Low nibble set0FLower 4 bits mask
High nibble setF0Upper 4 bits mask
Alternating bitsAA (10101010)Test pattern
Alternating bits55 (01010101)Test pattern

File Signatures (Magic Numbers)

Common file format identifiers in hex:

File TypeHex Signature
PNG89 50 4E 47
JPEGFF D8 FF
GIF47 49 46 38
PDF25 50 44 46
ZIP50 4B 03 04
EXE4D 5A

💡 Quick Tip

Bookmark this page as your hex reference! Use our hex decoder tool to verify values and convert between formats instantly.

Practice Exercises

  1. Decode this: 48656C6C6F (Answer: "Hello")
  2. Encode this: "World" (Answer: 576F726C64)
  3. Find the hex: @ symbol (Answer: 0x40)
  4. Identify file: 89 50 4E 47 (Answer: PNG image)

Test your knowledge with our interactive hex decoder!

Related Guides