Just bought a new keyboard? Suspect a key is not working? Mouse clicks feel off? Before you return hardware or start troubleshooting drivers, run a quick online test to pinpoint exactly what is wrong.
This guide shows you how to test keyboards and mice using free online tools, plus how to fix common problems.
Test Your Keyboard Now
Use our free Keyboard Tester:
- Open the tool
- Press any key — it lights up on the visual keyboard
- Check if every key registers
- See the key code and event data for each press
What to Test For
Dead keys: Press every key and check if it registers. If a key does not light up or show an event, it is dead — likely a hardware problem.
Stuck keys: If a key shows as pressed without you touching it, it is stuck. This can be debris under the key or a faulty switch.
Ghost keys: Press multiple keys simultaneously (like gaming combos). If extra keys appear that you did not press, your keyboard has ghosting. This is a hardware limitation, not a defect — cheaper keyboards have more ghosting.
Repeat rate: Hold a key down. It should start repeating after a short delay. If it does not repeat, or repeats too fast/slow, check your OS keyboard settings.
Common Keyboard Problems and Fixes
| Problem | Likely Cause | Fix |
|---|---|---|
| Key does not register | Dead switch, debris | Clean with compressed air. If mechanical, replace the switch |
| Key types wrong character | Wrong keyboard layout in OS | Settings → Keyboard → Input Language |
| Key repeats by itself | Stuck switch, debris | Remove keycap, clean underneath |
| Multiple keys do not work | Driver issue, connection | Try a different USB port, reinstall drivers |
| Delay before keys work | Accessibility feature (Filter Keys) | Disable Filter Keys in accessibility settings |
| Some keys only work sometimes | Loose connection, worn switch | Try reseating the cable. For mechanical: replace switch |
Special Key Tests
| Test | What to Press |
|---|---|
| N-key rollover | Press 6+ keys simultaneously — all should register |
| Anti-ghosting | Press common gaming combos (WASD + Shift + Space) |
| Function keys | Test F1-F12 (some laptops need Fn key) |
| Media keys | Volume, mute, play/pause |
| Modifier combos | Ctrl+C, Alt+Tab, Win+L |
Test Your Mouse Now
Use our free Mouse & Touch Test:
- Open the tool
- Click buttons — see which ones register
- Test scroll wheel (up, down, click)
- Check double-click speed
- Test pointer movement speed
What to Test For
Left/right click: Click each button. The tool shows which button fired. If a click does not register or registers as a different button, the switch may be failing.
Double-click issues: If single clicks register as double-clicks (very common with older mice), the micro-switch is wearing out. The test shows the time between clicks — if two "clicks" appear from one physical click, that confirms the issue.
Middle click (scroll wheel click): Press down on the scroll wheel. Some mice have weak middle-click switches that fail early.
Scroll wheel: Scroll up and down. The test counts scroll events. Issues include:
- Scroll skipping (jumps instead of smooth scroll)
- Scroll reversing (briefly goes the wrong direction)
- Scroll not registering
Side buttons: If your mouse has thumb buttons (forward/back), test those too.
Common Mouse Problems and Fixes
| Problem | Likely Cause | Fix |
|---|---|---|
| Single click registers as double | Worn micro-switch | Replace mouse or switch (if soldering capable) |
| Click does not register sometimes | Worn switch, loose connection | Try different USB port, clean contacts |
| Scroll jumps or skips | Dirty scroll encoder | Blow compressed air into scroll wheel gap |
| Scroll reverses direction | Dirty encoder, driver issue | Clean scroll wheel, update drivers |
| Cursor drifts on its own | Dirty sensor, surface issue | Clean the sensor lens, try a different mousepad |
| Cursor jumps randomly | Surface too reflective, interference | Use a proper mousepad, check for wireless interference |
| Lag or delay | Low polling rate, wireless interference | Use USB for gaming, check battery on wireless mice |
Test Your Screen
While testing hardware, you might also want to check your display:
- Screen & Display Test — test for dead pixels, color banding, check resolution and refresh rate
- FPS Test — verify your screen's frame rate with a live animation
Test Before You Buy
If you are buying a used keyboard or mouse, run these tests before paying:
- Keyboard: Press every single key in our Keyboard Tester. Pay special attention to spacebar, enter, shift, and frequently-used letter keys.
- Mouse: Run the Mouse Test. Click every button 20+ times and check for double-click issues. Test the scroll wheel in both directions.
- Screen: Run the Screen Test to check for dead pixels or backlight bleed.
These tests take 2 minutes and can save you from buying defective hardware.
When to Replace vs Repair
| Symptom | Membrane Keyboard | Mechanical Keyboard | Mouse |
|---|---|---|---|
| Dead key | Replace | Replace switch (~$0.50) | — |
| Stuck key | Clean, then replace | Clean, replace switch | — |
| Double-click | — | — | Replace (or replace micro-switch) |
| Scroll issues | — | — | Clean first, then replace |
| Multiple dead keys | Replace | Check PCB connection | — |
Mechanical keyboards are worth repairing — individual switches can be swapped. Membrane keyboards and mice are usually cheaper to replace than repair.
Related Tools
- Keyboard Tester — test every key on your keyboard
- Mouse & Touch Test — test clicks, scroll, and pointer
- Screen Test — check for dead pixels and display issues
- FPS Test — verify screen frame rate
- Browser Info — check your device and browser details