How to test what key on a keyboard is being pressed

Updated: 04/01/2018 by Computer Hope
Windows Key

When troubleshooting keyboard problems, you may need to determine if, when keys on the keyboard are being pressed, the computer is recognizing those keys. Below are some web pages and programs that can be used to help test the keys on a computer keyboard.

JavaScript key event test script

The JavaScript key event test script is a script that can be used to test keypress events. This test can include all keyup and keydown events, and can also include modifier keys.

Windows on-screen keyboard

The Windows on-screen keyboard is a program included in Windows that allows you to not only use an on-screen keyboard, but can also be used to test the modifier and other special keys. For example, when pressing the Alt, Ctrl, or Shift key, the On-Screen Keyboard will highlight the keys as pressed. Unfortunately, this program will not highlight any of the letter keys as they are pressed.

Passmark KeyboardTest

The Passkmark KeyboardTest is a Windows program that can be downloaded to test the keys pressed on the keyboard with different keyboard layouts.

Additional information