Keyboard Tester

Press any key. It lights up while held and turns green once it has been tested. Click the page first if nothing happens.

–Last key
–Key code
0 / 0Keys tested
0Most held at once

Browser and system shortcuts (for example Cmd/Ctrl + W, volume keys and the power key) cannot always be tested from a web page.

How to test your keyboard

  1. Click anywhere on the page so it receives your key presses.
  2. Press every key once. Each one flashes orange while held and turns green when it has registered.
  3. Any key that stays grey after you pressed it is not registering. Try it again, then clean around it.
  4. Press several keys together to see how many your keyboard can report at once (n-key rollover). Cheap keyboards may stop at about six.

Fixing a key that does not work

The tool shows each key's name and code (for example KeyA), which is also useful if you are setting up shortcuts or a game. Testing a screen as well? See the dead pixel test.

Frequently asked questions

Does this record what I type?

No. The page only reads key presses to light up the on-screen keys. Nothing is stored or sent anywhere.

Why does a key not light up?

It may be dirty, worn or broken, or the operating system may be capturing it (such as media or function keys). Try it again, then try another keyboard or app.

What is n-key rollover?

It is how many keys can be held and detected at the same time. Gaming keyboards often report every key; basic keyboards stop at around six.