Event codeEvent keyKey codeKey nameNotes
BackspaceBackspace8backspace
TabTab9tab
EnterEnter13enter
ShiftLeftShift16shift(left)`event.shiftKey` is true
ShiftRightShift16shift(right)`event.shiftKey` is true
ControlLeftControl17ctrl(left)`event.ctrlKey` is true
ControlRightControl17ctrl(right)`event.ctrlKey` is true
AltLeftAlt18alt(left)`event.altKey` is true
AltRightAlt18alt(right)`event.altKey` is true
PausePause19pause/break
CapsLockCapsLock20caps lock
EscapeEscape27escape
Space32spaceThe `event.key` value is a single space.
PageUpPageUp33page up
PageDownPageDown34page down
EndEnd35end
HomeHome36home
ArrowLeftArrowLeft37left arrow
ArrowUpArrowUp38up arrow
ArrowRightArrowRight39right arrow
ArrowDownArrowDown40down arrow
PrintScreenPrintScreen44print screen
InsertInsert45insert
DeleteDelete46delete
Digit00480
Digit11491
Digit22502
Digit33513
Digit44524
Digit55535
Digit66546
Digit77557
Digit88568
Digit99579
KeyAa65a
KeyBb66b
KeyCc67c
KeyDd68d
KeyEe69e
KeyFf70f
KeyGg71g
KeyHh72h
KeyIi73i
KeyJj74j
KeyKk75k
KeyLl76l
KeyMm77m
KeyNn78n
KeyOo79o
KeyPp80p
KeyQq81q
KeyRr82r
KeySs83s
KeyTt84t
KeyUu85u
KeyVv86v
KeyWw87w
KeyXx88x
KeyYy89y
KeyZz90z
MetaLeftMeta91left window key`event.metaKey` is true
MetaRightMeta92right window key`event.metaKey` is true
ContextMenuContextMenu93select key (Context Menu)
Numpad0096numpad 0
Numpad1197numpad 1
Numpad2298numpad 2
Numpad3399numpad 3
Numpad44100numpad 4
Numpad55101numpad 5
Numpad66102numpad 6
Numpad77103numpad 7
Numpad88104numpad 8
Numpad99105numpad 9
NumpadMultiply*106multiply
NumpadAdd+107add
NumpadSubtract-109subtract
NumpadDecimal.110decimal point
NumpadDivide/111divide
F1F1112f1
F2F2113f2
F3F3114f3
F4F4115f4
F5F5116f5
F6F6117f6
F7F7118f7
F8F8119f8
F9F9120f9
F10F10121f10
F11F11122f11
F12F12123f12
NumLockNumLock144num lock
ScrollLockScrollLock145scroll lock
AudioVolumeMute173audio volume mute⚠️ The `event.which` value is 181 in Firefox. Also FF provides the code value as, `VolumeMute`
AudioVolumeDown174audio volume down⚠️ The `event.which` value is 182 in Firefox. Also FF provides the code value as, `VolumeDown`
AudioVolumeUp175audio volume up⚠️ The `event.which` value is 183 in Firefox. Also FF provides the code value as, `VolumeUp`
LaunchMediaPlayer181media player⚠️ The ️`event.which` value is 0(no value) in Firefox. Also FF provides the code value as, `MediaSelect`
LaunchApplication1182launch application 1⚠️ The ️`event.which` value is 0(no value) in Firefox. Also FF provides the code value as, `LaunchApp1`
LaunchApplication2183launch application 2⚠️ The ️`event.which` value is 0(no value) in Firefox. Also FF provides the code value as, `LaunchApp2`
Semicolon;186semi-colon⚠️ The `event.which` value is 59 in Firefox
Equal=187equal sign⚠️ The `event.which` value is 61 in Firefox
Comma,188comma
Minus-189dash⚠️ The `event.which` value is 173 in Firefox
Period.190period
Slash/191forward slash
Backquote`192Backquote/Grave accent
BracketLeft[219open bracket
Backslash\220back slash
BracketRight]221close bracket
Quote'222single quote