Free JS Keycode Tester
The Keycode Tester shows the key, code, and keyCode of any key you press. Click into the box and type — the event details appear instantly for use in your JavaScript.
How to Use
Focus the input area and press any key. You will see event.key, event.code, event.keyCode, and which modifier keys are held down.
- Shows key, code, and keyCode
- Detects Shift, Ctrl, Alt, and Meta
- Handy for wiring up keyboard event handlers