⌨
Keyboard Key Codes
Press any key to see key, code, keyCode and modifiers. Handy for shortcuts.
Processed in your browser
Your entered content is processed on this device. It is not uploaded by this tool. Some tools load code or public resources before processing.
-
Click here, then press any key
Event details
key-
code-
keyCode-
which-
location-
modifiers-
repeat-
History
key is the character produced (layout-aware). code is the physical key (layout-independent, prefer this for shortcuts). keyCode / which are deprecated but still useful when debugging older code.
Only details you choose to share.