How to test your keyboard
- Click anywhere on this page so it has focus, then press each key once. Every key that is detected turns green.
- Watch for keys that stay gray (not detected), keys that stay blue after you let go (stuck), and keys outlined in amber (they triggered twice from one press).
- Hold several keys together, such as W, A, S, D and Space, and check the Most at once counter to test rollover.
- Use Hide number pad for laptops and compact keyboards, and Show Mac labels for Apple keyboards.
- Press Reset to start again, for example after cleaning a key.
The tester uses the key’s physical position, so it works with any language layout. UK and most European keyboards use the ISO shape: a tall, L-shaped Enter key, a # key beside it on UK boards, and an extra key just right of left Shift. Press Show UK/EU (ISO) layout, or press that extra key and the picture switches by itself. Keys that aren’t on the picture, such as media keys or Japanese and Korean keys, appear under Other keys detected.
Reading the results
- Green: the key was detected at least once. A key that turns green when you press it is working electrically.
- Blue: the key is down right now. If a key stays blue after you release it, it may be physically stuck, or the keyboard may have missed the release.
- Amber outline: the key re-triggered less than 35 ms after release. One or two flags during very fast typing can happen, but repeated flags on the same key point to key chatter, the cause of double letters.
- Gray after pressing: the key wasn’t detected. Press it firmly in the center; if it still stays gray, see the fixes below.
- keyCode and Code: technical values for developers and for checking remapping software.
Codenames the physical key (for exampleKeyA), whileKeyshows what your layout produces.
Keys a browser can’t fully test
Some keys are handled by the keyboard or the operating system before any website sees them:
- Fn is processed inside the keyboard on nearly all laptops and compact keyboards, so it can’t be detected by any software.
- Print Screen on Windows only reports the release, so it lights up when you let go.
- Windows key, Command, Alt+Tab, Ctrl+Alt+Delete and similar shortcuts may trigger system actions. In Chrome and Edge, use Full screen to capture Esc and most of these keys; system-level combinations such as Ctrl+Alt+Delete are always reserved.
- Media, volume and brightness keys are often handled by the system or keyboard software. If the action happens (for example, the volume changes), the key works.
Keyboard keys not working? What to try
One key or a few keys don’t respond
- Turn the keyboard upside down and tap it gently, then blow compressed air under the key at an angle. Crumbs and dust are the most common cause.
- On mechanical keyboards, remove the keycap with a keycap puller and check the switch. Hot-swappable boards let you replace a faulty switch in seconds.
- If the same key fails on a second computer, the fault is in the keyboard; if it works there, look at software or settings on the first computer.
The whole keyboard or a whole area doesn’t work
- Number pad dead? Press Num Lock. With Num Lock off, the number keys act as arrow and navigation keys.
- Wired keyboard: plug it directly into the computer instead of a hub or monitor port, and try another USB port.
- Wireless or Bluetooth: replace or charge the batteries, move the receiver closer (a USB extension helps), and re-pair the keyboard.
- Windows: in Device Manager, expand Keyboards, uninstall the device, then restart so Windows reinstalls the driver.
- Laptop: some laptops have a keyboard lock or Fn lock shortcut. Check your laptop maker’s key guide, and install the latest keyboard or chipset driver.
Keys need to be held, or repeat too fast or too slow
- Windows: turn off Filter keys in Settings › Accessibility › Keyboard. Filter keys makes Windows ignore short presses, which feels like a broken keyboard. Turn off Sticky keys there too if modifier keys seem to stay pressed.
- Mac: check System Settings › Accessibility › Keyboard for Slow Keys and Sticky Keys, and adjust repeat speed in System Settings › Keyboard.
Letters type twice (key chatter)
- Confirm it here: press the key slowly 20 times and watch for amber flags.
- Spacebar typing double spaces? The spacebar counter counts every press and flags each one that arrives too soon after the last.
- Clean the switch with compressed air while pressing the key repeatedly.
- On mechanical keyboards, replace the switch, or raise the debounce time in the keyboard’s software if it has that setting.
- Under warranty? A chattering key is a hardware fault, and the test result is good evidence for a claim.
After a spill: sticky or dead keys
- Turn the computer off and unplug it (or unplug the keyboard) straight away, then turn the keyboard upside down so the liquid can drain out.
- Leave it to dry completely before you switch it on again. Power applied to a wet keyboard can do more damage than the liquid itself.
- Water often dries without harm. Sugary drinks, coffee with milk and juice leave a sticky film under the keys, which causes keys that stick, repeat or stop working. A mechanical keyboard can be taken apart and cleaned; a laptop keyboard usually needs a repair shop.
- When it is dry, run this test and press every key. Keys that stay grey, flash amber or need extra force show which areas still need cleaning.
Ghosting and rollover explained
Keyboards detect keys through a grid of wires. Cheaper designs share wires between keys, so pressing certain combinations can make the keyboard register an extra key that you didn’t press (ghosting), or ignore one of the keys (blocking). To prevent ghosting, most keyboards block the combination instead, which is why a game may ignore a key while you hold others.
To test, hold keys you actually use together. Gamers should try their movement keys plus Shift, Ctrl and Space, while musicians and stenographers may need far more. If the Most at once number stops rising while you add keys, you have found your keyboard’s limit for that combination. A keyboard sold as “N-key rollover” should keep counting for every key you can hold down. Keep in mind that USB keyboards in compatibility mode may report a maximum of six keys plus modifiers.
Can a browser test keyboard polling rate?
Not reliably. Polling rate is how often the computer asks the keyboard for new key data over USB: a keyboard sold as 1,000 Hz can report a change every millisecond. A web page only hears about a key after the operating system has handled it, and when you hold a key down, the repeated presses come from the operating system’s key-repeat setting, not from the keyboard. A “polling rate” worked out by holding a key in a browser is really your repeat rate, so this page doesn’t show one. To see or change a gaming keyboard’s polling rate, use the keyboard maker’s software.
What a browser can test well is whether each key registers, whether keys repeat on their own (chatter), and how many keys register at once, which is what the tester above shows.
Frequently asked questions
Why doesn’t the Fn key light up?
On almost every laptop and many compact keyboards, Fn is handled inside the keyboard itself and never sends a signal to the computer. No website or app can detect it on its own. Test it by holding Fn and pressing a key it changes, such as F1 or an arrow key, and checking that the other key reports something different.
Why does the Windows key or Command key open a menu instead?
Your operating system reacts to some keys before the browser sees them. The Windows key may still light up here while also opening the Start menu. Use the full-screen mode in Chrome or Edge to capture more of these keys, or simply check that the system action happens, which proves the key works.
What is key rollover or ghosting?
Rollover is how many keys a keyboard can register at the same time. Ghosting is when pressing several keys makes an extra key appear, and blocking is when some of the pressed keys are ignored. Hold more and more keys together and watch the Most at once counter. Many office keyboards manage 2 to 6 keys in some combinations; gaming keyboards often handle every key (N-key rollover).
What does “possible chatter” mean?
Chatter is when a single press is registered as two or more presses, so letters appear twice while you type. It usually comes from a worn, dirty or damaged switch. This tester flags a key when it is pressed again less than 35 milliseconds after being released, which is far faster than a person can tap. Cleaning the switch with compressed air often helps; on mechanical keyboards the switch can also be replaced.
Will this test my laptop keyboard?
Yes. Laptop keyboards often have no number pad, so use Hide number pad to show a layout without it. Some laptop keys, such as volume or brightness keys, may appear under Other keys or may not reach the browser at all.
Does it work with non-US keyboard layouts?
Yes. Keys light up by their physical position, so a key is found no matter which language your keyboard is set to. The last-key panel shows the character your layout actually produces. UK and most European keyboards use the ISO shape, with a tall Enter key and an extra key next to left Shift; choose Show UK/EU (ISO) layout, or just press that extra key and the picture switches by itself. Extra keys on Japanese and Korean keyboards appear under Other keys.
Is anything I type recorded?
No. Key presses are only shown on this page and are never sent anywhere. Reloading or closing the page clears everything.