What is the Keycode Finder?
Building keyboard shortcuts or a game? Press any key (or combination) and instantly see every property of the KeyboardEvent: key, code, the old keyCode/which numbers, location (left/right/numpad) and whether Ctrl, Shift, Alt or Meta were held. Click any value to copy it. On phones, type in the box to see values from the on-screen keyboard.
How to use the Keycode Finder
- Click the page (or tap the box on mobile).
- Press a key or shortcut.
- Copy the property you need.
Use event.key or event.code?
event.key is the character produced (layout-aware, e.g. “a” or “Enter”); event.code is the physical key (e.g. “KeyA”) – best for games.
This Keycode Finder is 100% free, needs no signup and runs privately in your browser – on phone, tablet or computer.
Last updated: · By NodifyTech