Keyboard Tester

Free online keyboard tester. Press each key to check it works, see key codes and detect stuck or ghosting keys.

Click here, then press keys. Pressed keys turn green. Keys currently held down are blue.

Last key–
event.code–
Keys held now0
Keys tested0

How to use the keyboard tester

Press every key once. A key that doesn't turn green isn't registering, or the operating system captures it before the browser sees it. That often happens with Fn, Win and Print Screen.

Testing for ghosting and rollover

Hold several keys at once, such as W+A+Shift+Space. The "Keys held now" counter shows how many simultaneous presses your keyboard reports. Gaming keyboards with N-key rollover register every key.

Keys not working?

  • Clean under the key with compressed air.
  • Try another USB port, or replace the batteries / re-pair a wireless keyboard.
  • Check the keyboard layout in your OS language settings.

Frequently asked questions

Some keys don't light up: why?

The key may be faulty, or the OS/browser intercepts it (e.g. the Windows key, Fn or Print Screen).

What is key ghosting?

When several keys pressed together are not all registered. Hold multiple keys to see how many your keyboard detects.