Keyboard Keycode Finder
Press any key, see its event details.
Press any key
Last press shows up here
About
Press any key on your keyboard and see all the JavaScript event properties: key, code, keyCode (deprecated but still common), which, plus modifier states. Useful when wiring up keyboard shortcuts in code.
How to use
- Click into the input area.
- Press any key.
- Read the event details.
FAQ
Should I use key, code, or keyCode in my code?+
Use key for the character ('a', 'Enter') and code for the physical key location ('KeyA', 'Enter'). keyCode is deprecated but still works.