Home / Keyboard test
Keyboard Test: Check Every Key Online
Press the keys on your keyboard. Each one lights up on the picture below, so a dead or double-firing key stands out in seconds. Works with Tab, Alt, Space and the F-keys too.
- Last key
- –
- code / keyCode
- –
- Tested
- 0
- Held now / Most at once
- 0 / 0
- Chatter events
- 0
Press any key. Held keys glow blue, tested keys turn green, keys that double-fire turn red. To leave with the keyboard, press Esc then Tab.
This test needs a physical keyboard. On a phone or tablet, connect one by USB or Bluetooth, then press its keys.
Your keyboard is in text-composition mode (IME), so the browser hides which key was pressed. Switch to a plain input language and try again.
Nothing is recorded or uploaded
How to test your keyboard
- Pick the layout that matches your keyboard: US (ANSI), UK (ISO), Mac, French (AZERTY) or Spanish. Turn off Numpad if your keyboard has no number pad.
- Press every key once, row by row. A key turns blue while you hold it and stays green after you let go.
- Look for keys that never turn green. Those are the ones your computer is not receiving.
- Hold several keys together (try W, A, S, D and Space) to check rollover. The "Most at once" counter shows how many your keyboard reported at the same time.
- Tap a few keys quickly and normally. If one turns red, it fired twice from a single press, which is called chatter.
The test listens to the whole page, so you do not need to click a text box first. Keys that normally scroll the page or move focus, like Space, Tab and the arrow keys, are held back while you test. To leave the tester using only the keyboard, press Esc and then Tab.
Reading the results
A key stays white
The computer never got a signal from that key. If the key also fails in a text editor, the switch, the membrane or the connection under it is the likely cause. Try the fixes below before you replace anything, because dirt under the cap causes this more often than a broken switch does.
A key turns red (chatter)
Chatter means one press registered as two. Mechanical switches wear out or collect dust, and the contacts bounce. The log under the keyboard shows the gap in milliseconds. A gap under 30 ms is almost always a fault, since no one can press a key twice that fast. Raise the threshold to 80 or 100 ms if you want to catch milder cases.
Some keys do not light up when pressed together (ghosting)
Many office and laptop keyboards can only report a few keys at once in certain combinations. When you hold three or four keys and one of them does not light, that is a rollover limit or ghosting, not a broken key. Gaming keyboards often advertise 6-key or N-key rollover (NKRO). Note that a USB keyboard in basic boot mode reports at most six keys plus modifiers.
The wrong key lights up
Your operating system is probably set to a different language layout than the keyboard. The tester matches physical positions (the key code), so if you press the key printed "Z" and the Y position lights, you have a German or French keyboard set as US, or the reverse. Change the input language in your system settings.
Key codes and names
The panel shows the key value (the character or name your system produced), the code (the physical position, like KeyA or ShiftRight) and the legacy keyCode number that older software and games still use. Hover the code to see whether the key was on the left, right or number pad. Keys missing from the picture, like media keys, are listed under the keyboard when you press them.
Fixing keys that do not work
Windows
- Turn off Filter Keys: Settings, Accessibility, Keyboard. Filter Keys ignores short or repeated presses and can make keys feel dead.
- Open Device Manager, expand Keyboards, right-click your keyboard and choose Uninstall device, then restart. Windows reinstalls the driver.
- Check that Num Lock is on if the number pad types nothing.
- If only one app ignores keys, look for a game overlay or macro tool that captures them.
macOS
- Check System Settings, Accessibility, Keyboard and turn off Slow Keys and Sticky Keys if you did not mean to turn them on.
- For a Bluetooth keyboard, remove it under Bluetooth settings and pair it again.
- If the function row controls brightness instead of sending F1 to F12, hold fn or change the setting under Keyboard, Keyboard Shortcuts, Function Keys.
ChromeOS
- Open Settings, Device, Keyboard and inputs, and confirm the input method matches your keyboard.
- Chromebooks use a Search key where other keyboards have Caps Lock. It appears as MetaLeft here.
Laptops
Laptop keyboards are often connected by a thin ribbon cable. If a whole row or block of keys fails together, that cable or the keyboard itself is the usual suspect. Plug in a USB keyboard and run this test with it: if the external one works, the laptop keyboard needs repair. More step-by-step help is in Keyboard not typing and Keyboard delay or lag.
Cleaning a mechanical keyboard
Unplug it, pull the cap off the bad key with a keycap puller, and blow out the switch with compressed air. Press the bare switch twenty or thirty times. For hot-swap boards you can swap the switch with one from a key you rarely use to confirm the switch is at fault.
Phones, tablets and external keyboards
Touchscreen keyboards on phones do not send physical key codes, so they cannot be tested this way. The test works with a USB or Bluetooth keyboard connected to an iPad, iPhone or Android device. Safari on iPad reports most keys, though some system shortcuts like Command plus Tab never reach the browser.
Questions people ask
How do I check if all my keyboard keys are working?
Open this page and press each key once. Every working key turns green on the picture. Any key that stays white did not reach the computer. The counter shows how many keys you have tested out of the total for your layout.
Why does a key type two letters when I press it once?
That is key chatter. The switch contacts bounce and send two presses. The tester marks those keys red and logs the time between the two signals. Cleaning the switch often fixes it; otherwise the switch needs replacing.
What is the difference between rollover and ghosting?
Rollover is how many keys a keyboard can report at the same time. Ghosting happens when you press a combination the keyboard cannot read correctly, so a key goes missing or a phantom key appears. Hold several keys here and watch the "Most at once" counter.
Can I test the Fn key?
Usually not. On most laptops and Mac keyboards, fn is handled inside the keyboard and never sent to the computer, which is why it appears dashed on the Mac layout. You can test it indirectly by pressing fn with a function key and checking which key lights.
Is anything I type sent anywhere?
No. The test runs in your browser and keeps nothing after you close the tab. No keystrokes are saved or sent to a server. You can confirm it in your browser's network panel.
Does it work with Mac and AZERTY keyboards?
Yes. Choose Mac or French (AZERTY) in the layout menu. The tester matches keys by their physical position, so the picture lights the key you actually pressed.