Character Code value return the Unicode Code of the event key that triggered the onkeypress. The Unicode character code is the number of a character (e.g. the letter “a” represents the number “97”. While the value for letter a key code is “65”). Here is Character Code Value For Keyboard Event-Key.

Character Code Value For Keyboard Event-Key
Character | Value | Character | Value | Character | Value |
Backspace | 8 | > | 62 | ^ | 94 |
Tab | 9 | ? | 63 | _ | 95 |
Enter | 13 | @ | 64 | ‘ | 96 |
Space | 32 | A | 65 | a | 97 |
! | 33 | B | 66 | b | 98 |
“ | 34 | C | 67 | c | 99 |
# | 35 | C | 67 | d | 100 |
$ | 36 | D | 68 | e | 101 |
% | 37 | E | 69 | f | 102 |
& | 38 | F | 70 | g | 103 |
‘ | 39 | G | 71 | h | 104 |
( | 40 | H | 72 | k | 105 |
) | 41 | I | 73 | l | 106 |
* | 42 | J | 74 | m | 107 |
+ | 43 | K | 75 | l | 108 |
, | 44 | L | 76 | m | 109 |
– | 45 | M | 77 | n | 110 |
. | 46 | N | 78 | o | 111 |
/ | 47 | O | 79 | p | 112 |
0 | 48 | P | 80 | q | 113 |
1 | 49 | Q | 81 | r | 114 |
2 | 50 | R | 82 | s | 115 |
3 | 51 | S | 83 | t | 116 |
4 | 52 | T | 84 | u | 117 |
5 | 53 | U | 85 | v | 118 |
6 | 54 | V | 86 | w | 119 |
7 | 55 | W | 87 | x | 120 |
8 | 56 | X | 88 | y | 121 |
9 | 57 | Y | 89 | z | 122 |
: | 58 | Z | 90 | { | 123 |
; | 59 | [ | 91 | | | 124 |
< | 60 | \ | 92 | } | 125 |
= | 61 | ] | 93 | ~ | 126 |
Character Code Value For Keyboard Event-Key.