How to Test Your Keyboard Online (and Fix Dead Keys)

Short answer
Open our free Keyboard Tester and press every key. Each key lights up when the browser receives it, so a key that never lights up may be dead, one that stays lit may be stuck, and one that registers twice may be chattering. Hold several keys together to see your rollover score. Then try the simple fixes below before buying a new keyboard.
A key that stops working is annoying, and a key that types twice is worse. Before you replace a keyboard, a quick test tells you exactly which keys have a problem and whether it is the hardware, a setting or the software. You do not need to install anything.
How to test a keyboard in your browser
- Open the Keyboard Tester on the computer you want to check.
- Click on the page once so it has focus.
- Press every key, one at a time, including Shift, Ctrl, Alt, the arrow keys and the number pad. Keys turn blue while held and green once tested.
- Look for keys that never turn green, keys that stay highlighted after you let go, and keys that seem to register twice.
- Hold several keys together, for example W, A, Shift and Space, and check the "max keys at once" score.
On many laptops the Fn key and media keys (volume, brightness) are handled by the computer itself and never reach the browser, so it is normal for them not to light up in any web tester.
What the results mean
| What you see | Likely cause | What to try |
|---|---|---|
| Key never lights up | Dirt under the key, a worn switch, a setting, or a hardware fault | Clean it, check settings, try another port or computer |
| Key stays lit after release | Sticky or stuck key | Clean around the key, check it moves freely |
| One press types twice | "Chattering" switch, common on worn mechanical keyboards | Clean the switch, update keyboard software, consider a repair |
| Some key combinations fail | Ghosting or a low rollover limit | Normal on many budget keyboards; use a gaming keyboard if it matters |
| Wrong character appears | Wrong keyboard layout or language setting | Check the input language in your system settings |
Ghosting and rollover, explained
Rollover is the number of keys a keyboard can report correctly when pressed at the same time. Many inexpensive keyboards can only reliably read two or three keys at once in some combinations. When a combination fails, a key press is lost (called blocking) or, on some designs, an extra key appears that you did not press (ghosting). Gaming keyboards often advertise "N-key rollover", meaning every key can be read at once.
For typing, rollover rarely matters. For games where you run, jump and turn at the same time, it can. Our tester's rollover score shows how many keys your keyboard sent at once: six or more is great for gaming, while two or three means some combinations may be missed.
Simple fixes for keys that do not work
1. Restart and reconnect
Restart the computer. For a USB keyboard, unplug it and use a different port, ideally directly on the computer rather than through a hub. For a wireless keyboard, replace or charge the batteries and pair it again.
2. Clean the keyboard
Turn off the computer or unplug the keyboard first. Tip it upside down and tap it gently to shake out crumbs, then use a can of compressed air around the problem keys. Wipe the key tops with a slightly damp cloth, never a wet one. On many desktop keyboards, the key caps can be removed carefully with a key puller; laptop keys are more fragile, so be gentle.
3. Check accessibility settings
Windows and macOS include features that change how keys behave. On Windows, Sticky Keys and Filter Keys can make keys seem stuck or ignore quick presses; check them in Settings β Accessibility β Keyboard. On a Mac, look in System Settings β Accessibility β Keyboard for Slow Keys and Sticky Keys.
4. Check the keyboard layout
If the @ and " keys are swapped, or letters appear in the wrong place, your system may be set to a different layout, such as UK instead of US. Change it in the language and region or keyboard settings.
5. Test on another device
Plug the keyboard into another computer and run the tester again. If the same keys fail, the keyboard is at fault. If they work, the problem is the first computer's settings or drivers.
6. Spills
If you spill a drink, unplug or turn off the device straight away, turn it upside down and let it dry fully before using it again. Sugary drinks can leave sticky residue that needs professional cleaning, especially on a laptop.
Test after you fix it
Once the keys respond again, do a quick check with our typing speed test or type a paragraph into the online notepad. If you are learning to type faster, read our article on the average typing speed. Buying a new screen too? Our dead pixel test checks a monitor in the same quick way.
Frequently asked questions
How do I know if a key is broken?
Press it in a keyboard tester. If it never registers, even after cleaning and on another computer, the key or switch is likely faulty.
Why does one key type two letters?
This is called chattering. It is common on worn mechanical switches and can sometimes be fixed by cleaning.
Why don't my laptop's Fn keys show in the tester?
Fn and many media keys are handled by the laptop itself and do not reach the browser. That is normal.
What is keyboard ghosting?
When some key combinations are not read correctly, so a key press is lost or an extra key appears. It happens on keyboards with low rollover.
Is the keyboard test safe?
Yes. Key presses are shown on your screen and are not sent to us or stored.