Key Press Detector

Press any key to discover its JavaScript event properties. Includes support for modifier keys and numpad detection.

Press any key...
The X-Ray vision is ready.

The Key Press Detector acts as an X-Ray for your keyboard. When building games, hotkey systems, or accessible forms, you often need to know exactly what key property JavaScript fires when a user presses a button.

Simply press any key to expose its raw KeyboardEvent properties, including the semantic e.key, the physical e.code, and even the e.location which helps distinguish between standard keys and their numpad equivalents (e.g. Enter vs NumpadEnter).