When to test your keyboard
- After buying a new or used keyboard, to make sure every key registers before the return period ends.
- After a spill, once the keyboard has completely dried, to see which keys were affected.
- When typing feels unreliable, such as letters missing from words, double letters, or a key that "sticks".
- When setting up a laptop or connecting a wireless keyboard, to check the layout and special keys.
- Before a typing test or exam, so a faulty key does not cost you points.
How to use the tester
Click anywhere on the page so the browser window is active, then press keys one at a time. While a key is held down it turns purple, and once it has been detected it stays green. The counter shows how many different keys you have tested. Work row by row, from the Escape and function keys at the top down to the space bar, then test the arrow keys, the navigation block and the number pad. Any key that stays white after you press it may not be working.
To check for a stuck key, press it and release it: the purple color should disappear immediately. If it stays purple after you let go, the key may be physically stuck or the switch may be faulty. To check both Shift, Ctrl and Alt keys, press the left and right versions separately; the tester shows them as different keys.
Press Reset to clear all results and start again. The tester shows a standard US layout. If your keyboard uses another layout, such as UK, German or French, the physical position of a few keys differs, but the tester still detects them by their position.
What the key information means
Below the keyboard, the tester shows three values for the last key you pressed:
- Key is the character or name the key produces, such as "a", "A" with Shift, or "Enter". It depends on your layout and on modifier keys.
- Code identifies the physical key position, such as "KeyA" or "Numpad5". It stays the same regardless of language settings, which is why it is useful for testing hardware.
- keyCode is an older numeric code that some programs and games still use. Developers sometimes need it when checking keyboard events.
If a key does not work
- Try another program. Type in a simple text editor. If the key works there, the problem may be a setting in one application.
- Check lock keys. With Num Lock off, number pad keys act as arrows and navigation keys. Function keys on laptops may need the Fn key.
- Reconnect the keyboard. Unplug and reconnect a wired keyboard, or re-pair a wireless one and check the battery.
- Clean gently. Turn the keyboard off or unplug it, turn it upside down and tap it lightly, or use compressed air between the keys. Crumbs and dust are a common cause of sticky keys.
- Try another computer. If the key fails everywhere, the hardware is likely faulty; if it works elsewhere, the issue is probably a driver or setting on your computer.
For liquid damage, disconnect the keyboard right away and let it dry completely before testing again. Do not use a hair dryer on high heat, as it can warp plastic parts.
Keys browsers cannot detect
For your security, operating systems keep some key combinations for themselves before a website can see them. These may not light up: the Windows or Command key in some combinations, Print Screen on some systems, the Fn key on laptops (it is handled inside the keyboard itself), and media or brightness keys. Shortcuts such as Ctrl+W or Alt+F4 may also close the tab or window, so avoid them while testing. The function keys F1 to F12 are detected, but the browser may also perform its own action, such as F5 reloading the page.
Once your keyboard checks out, see how fast you can type with the typing speed test, or train your number pad with the 10-key test.
Key rollover and ghosting
When you press several keys at the same time, some keyboards cannot detect all of them. This is called ghosting or key blocking. Keyboards are often described by their key rollover: a keyboard with 6-key rollover can register six keys pressed together, while "n-key rollover" (NKRO) means every key can be detected at once. For normal typing, simultaneous presses are rare, but fast typists sometimes press the next key before releasing the previous one, and gamers often hold several keys together.
You can check this with the tester. Hold down several keys, for example A, S, D and F together, and see whether all of them turn purple. Then try combinations that matter to you, such as Shift with several letters. If some keys do not light up while others are held, your keyboard has limited rollover for that combination. This is a design limit of the keyboard rather than a fault.
Mechanical and membrane keyboards
Most standard keyboards use a membrane: a rubber dome under each key pushes two contact layers together. They are quiet, light and inexpensive. Mechanical keyboards have an individual switch under each key, which many typists find gives clearer feedback and a consistent feel, and individual switches can often be replaced. Laptop keyboards are usually low-profile membrane designs with short key travel. All of them can be used for fast, accurate typing; comfort and familiarity matter more than the type. Whichever you use, testing every key after a spill, a drop or a long period of storage is a good habit.
Frequently asked questions
How do I know if a key is broken?
Press it in the tester. If it never turns green, or stays purple after you release it, the key may be faulty. Test it in another program and on another computer to be sure.
Why does the Fn key not light up?
On most laptops the Fn key is handled inside the keyboard hardware and is never sent to the computer, so no website can detect it.
Does the tester work with wireless keyboards?
Yes. Any keyboard connected to your computer works, wired or wireless.