Keycode info
Press any key to see its key value, code, keyCode, location, and active modifier keys. Useful for keyboard shortcut development.
—
Press any key
Key
—Code
—Key code
0Location
0Modifiers
—// About this tool
Inspect the keyboard events a browser receives for a key press. Helpful when wiring shortcuts or debugging cross-browser key handling. Modifier keys are shown as a combined list.
// How to use it
- Focus the page and press a key.
- Review key, code, keyCode, and location.
- Copy the values you need for your code.
// Frequently asked questions
Why do key and code differ?
key reflects the character or action, while code identifies the physical key position.
Does it capture keys outside the page?
No. It only sees key events while this page has focus.