This site has been acquired by Toptal
0 - That key has no keycode3 - break8 - backspace / delete9 - tab12 - clear13 - enter16 - shift17 - ctrl18 - alt19 - pause/break20 - caps lock21 - hangul25 - hanja27 - escape28 - conversion29 - non-conversion32 - spacebar33 - page up34 - page down35 - end36 - home37 - left arrow38 - up arrow39 - right arrow40 - down arrow41 - select42 - print43 - execute44 - Print Screen / F13 (firefox)45 - insert46 - delete47 - help48 - 049 - 150 - 251 - 352 - 453 - 554 - 655 - 756 - 857 - 958 - :59 - semicolon (firefox), equals60 - <61 - equals (firefox)63 - ß64 - @ (firefox)65 - a66 - b67 - c68 - d69 - e70 - f71 - g72 - h73 - i74 - j75 - k76 - l77 - m78 - n79 - o80 - p81 - q82 - r83 - s84 - t85 - u86 - v87 - w88 - x89 - y90 - z91 - Windows Key / Left ⌘ / Chromebook Search key92 - right window key93 - Windows Menu / Right ⌘95 - sleep96 - numpad 097 - numpad 198 - numpad 299 - numpad 3100 - numpad 4101 - numpad 5102 - numpad 6103 - numpad 7104 - numpad 8105 - numpad 9106 - multiply107 - add108 - numpad period (firefox)109 - subtract110 - decimal point111 - divide112 - f1113 - f2114 - f3115 - f4116 - f5117 - f6118 - f7119 - f8120 - f9121 - f10122 - f11123 - f12124 - f13125 - f14126 - f15127 - f16128 - f17129 - f18130 - f19131 - f20132 - f21133 - f22134 - f23135 - f24136 - f25137 - f26138 - f27139 - f28140 - f29141 - f30142 - f31143 - f32144 - num lock145 - scroll lock151 - airplane mode160 - ^161 - !162 - ؛ (arabic semicolon)163 - #164 - $165 - ù166 - page backward167 - page forward168 - refresh169 - closing paren (AZERTY)170 - *171 - ~ + * key172 - home key173 - minus (firefox), mute/unmute174 - decrease volume level175 - increase volume level176 - next177 - previous178 - stop179 - play/pause180 - e-mail181 - mute/unmute (firefox)182 - decrease volume level (firefox)183 - increase volume level (firefox)186 - semi-colon / ñ187 - equal sign188 - comma189 - dash190 - period191 - forward slash / ç192 - grave accent / ñ / æ / ö193 - ?, / or °194 - numpad period (chrome)219 - open bracket220 - back slash221 - close bracket / å222 - single quote / ø / ä223 - `224 - left or right ⌘ key (firefox)225 - altgr226 - < /git >, left back slash230 - GNOME Compose Key231 - ç233 - XF86Forward234 - XF86Back235 - non-conversion240 - alphanumeric242 - hiragana/katakana243 - half-width/full-width244 - kanji251 - unlock trackpad (Chrome/Edge)255 - toggle touchpad
Table

This is a table of all Key Codes and their associated data

Key CodeKeyCodeUnicodeDescription
0UnidentifiedThese keys do not have a key code
3CancelPausebreak
8BackspaceBackspacebackspace / delete
9TabTabtab
12ClearNumLockclear
13EnterEnterEnter / Return
16ShiftShiftLeftshift
17ControlControlLeft^ctrl
18AltAltLeft⎇ / ⌥Alt / Option
19PausePausepause/break
20CapsLockCapsLockcaps lock
21UnidentifiedLang1hangul
25UnidentifiedLang2hanja
27EscapeEscapeescape
28conversion
29non-conversion
32Spacespacebar
33PageUpNumpad9page up
34PageDownNumpad3page down
35EndNumpad1end
36HomeNumpad7home
37ArrowLeftArrowLeftleft arrow
38ArrowUpArrowUpup arrow
39ArrowRightArrowRightright arrow
40ArrowDownArrowDowndown arrow
41select
42print
43execute
44F13F13Print Screen / F13 (firefox)
45InsertNumpad0xinsert
46DeleteNumpadDecimaldelete
47help
480Digit00
491Digit11 Key
502Digit22 Key
513Digit33 Key
524Digit44 Key
535Digit55 Key
546Digit66 Key
557Digit77 Key
568Digit88 Key
579Digit99 Key
58:Period:
59;Semicolonsemicolon (firefox), equals
60<Backquote<
61=Equalequals (firefox)
63ßMinusß
64@ (firefox)
65aKeyAa
66bKeyBb
67cKeyCc
68dKeyDd
69eKeyEe
70fKeyFf
71gKeyGg
72hKeyHh
73iKeyIi
74jKeyJj
75kKeyKk
76lKeyLl
77mKeyMm
78nKeyNn
79oKeyOo
80pKeyPp
81qKeyQq
82rKeyRr
83sKeySs
84tKeyTt
85uKeyUu
86vKeyVv
87wKeyWw
88xKeyXx
89yKeyYy
90zKeyZz
91MetaMetaLeft⌘ ⊞Windows Key / Left ⌘ / Chromebook Search key
92MetaMetaRight⌘ ⊞Right Windows
93ContextMenuContextMenuWindows Menu / Right ⌘
95sleep
960Numpad0Number Pad 0
971Numpad1Number Pad 1
982Numpad2Number Pad 2
993Numpad3Number Pad 3
1004Numpad4Number Pad 4
1015Numpad5Number Pad 5
1026Numpad6Number Pad 6
1037Numpad7Number Pad 7
1048Numpad8Number Pad 8
1059Numpad9Number Pad 9
106*NumpadMultiply×multiply
107+NumpadAddadd
108,NumpadDecimalnumpad period (firefox)
109-NumpadSubtractsubtract
110.NumpadDecimaldecimal point
111/NumpadDivide÷divide
112F1F1f1
113F2F2f2
114F3F3f3
115F4F4f4
116F5F5f5
117F6F6f6
118F7F7f7
119F8F8f8
120F9F9f9
121F10F10f10
122F11F11f11
123F12F12f12
124F13F13f13
125F14F14f14
126F15F15f15
127F16F16f16
128F17F17f17
129F18F18f18
130F19F19f19
131F20F20F20
132F21F21F21
133F22F22F22
134F23F23F23
135F24F24F24
136F25F25F25
137F26F26F26
138F27F27F27
139F28F28F28
140F29F29F29
141F30F30F30
142F31F31F31
143F32F32F32
144NumLockNumLocknum lock
145ScrollLockScrollLockscroll lock
151airplane mode
160[BracketLeft^
161DeadBracketRight!
162؛ (arabic semicolon)
163\Backquote#
164$Backslash$
165Quoteù
166page backward
167page forward
168refresh
169)Minusclosing paren (AZERTY)
170*Backslash*
171+BracketRight~ + * key
172home key
173-Minusminus (firefox), mute/unmute
174AudioVolumeDowndecrease volume level
175AudioVolumeUpincrease volume level
176MediaTrackNextMediaTrackNextnext
177MediaTrackPreviousMediaTrackPreviousprevious
178stop
179MediaPlayPauseplay/pause
180LaunchMaile-mail
181AudioVolumeMuteVolumeMutemute/unmute (firefox)
182AudioVolumeDownVolumeDowndecrease volume level (firefox)
183AudioVolumeUpVolumeUpincrease volume level (firefox)
186;Semicolonsemi-colon / ñ
187+Equalequal sign
188,Commacomma
189-Minusdash
190.Periodperiod
191/Slashforward slash / ç
192`BackquoteBacktick / grave accent / ñ / æ / ö
193/IntlRo?, / or °
194.NumpadCommanumpad period (chrome)
219[BracketLeftopen bracket
220\Backslashback slash
221]BracketRightclose bracket / å
222'Quotesingle quote / ø / ä
223`Backquote`
224MetaOSLeftleft or right ⌘ key (firefox)
225AltGraphAltRight⎇ or ⌥altgr
226\IntlBackslash< /git >, left back slash
230GNOME Compose Key
231ç
233XF86Forward
234XF86Back
235non-conversion
240alphanumeric
242hiragana/katakana
243half-width/full-width
244kanji
251unlock track pad (Chrome/Edge)
255UnidentifiedWakeUptoggle touchpad