🎹 Keyboard Tester

Test every key on your keyboard online.

Press any keyClick this page and start pressing keys

Keys you've pressed

Ad space (paste AdSense unit here)

Free online keyboard tester

This keyboard tester checks whether every key on your keyboard is working. Press any key and the tool instantly shows its name and its code, and it adds the key to a list of keys you have tested so far. It is useful when you buy a new or second-hand keyboard, after cleaning one, or when a key seems stuck or unresponsive. There is nothing to download, and it works with laptop and desktop keyboards.

How to test your keyboard

  1. Click anywhere on the page so it can receive your key presses.
  2. Press each key one at a time, including letters, numbers, arrow keys, Shift, Ctrl and Alt.
  3. Watch the large display. It shows the key you just pressed and its code.
  4. Check the "Keys you've pressed" list. Any key that never appears is not being detected.
  5. Press Clear to start again.

What the key information means

  • Key: the character or name of the key, such as a, Enter or ArrowUp.
  • Code: the physical key position, such as KeyA or Space. It stays the same even if you change your keyboard language layout.
  • keyCode: an older numeric value, shown for developers who still need it.

Keys a browser may not detect

Some keys cannot be tested in a web page because the computer handles them before the browser sees them:

  • The Fn key and many laptop media, brightness and volume keys
  • Print Screen on some systems
  • The Windows or Command key when it opens a menu
  • System shortcuts such as Ctrl+Alt+Delete

If one of these keys does not appear, that does not necessarily mean it is broken.

What to do if a key does not work

  • Turn the keyboard upside down and gently shake out dust and crumbs.
  • Clean around the key with compressed air.
  • For a wired keyboard, try a different USB port. For a wireless one, replace the batteries.
  • Test the keyboard on another computer to rule out a software problem.
  • If only one key fails, the switch under it may be worn or damaged and the keyboard may need repair or replacement.

Frequently asked questions

Why does nothing happen when I press a key?

Click on the page first so it has focus. Also make sure no other window or text box has taken over your keyboard.

Can this test several keys pressed at once?

You can press keys together and each one will register, but the large display shows only the most recent key. Cheaper keyboards sometimes fail to register many simultaneous keys, which is a hardware limit.

Does it record what I type?

No. It only shows key names and codes on your screen. Nothing is stored or sent anywhere.

Does it work with a Mac keyboard?

Yes. It works with most keyboards on Windows, Mac, Linux and Chromebooks.

More free tools