Keyboard Test

Press any key to test your keyboard. All key presses are displayed with their codes.

How to Use This Test

  1. Click on the test area above to make sure it has focus, then press any key on your keyboard.
  2. Watch the on-screen keyboard layout highlight each key as you press it to confirm it registers correctly.
  3. Test all keys individually, then try pressing multiple keys at once to check for ghosting or rollover issues.

What This Test Checks

This keyboard tester detects every key press and displays the corresponding key code, helping you verify that your keyboard is fully functional.

Troubleshooting

If you're having issues:

Fixing a Broken Keyboard by Operating System

If the test confirms keys are failing, the next step depends on your OS. Driver conflicts and stuck keys are often fixable before you buy a new keyboard.

Windows 10 / Windows 11

  1. Open Settings → Bluetooth & devices → Devices, find your keyboard, click the three dots and choose Remove. Reconnect it to force a fresh driver install.
  2. If keys still fail, run Settings → System → Troubleshoot → Other troubleshooters → Keyboard.
  3. Check for stuck modifiers under Settings → Accessibility → Keyboard — disable Sticky Keys, Filter Keys, and Toggle Keys if enabled accidentally.

macOS

  1. Open System Settings → Keyboard and run Change Keyboard Type to force macOS to re-detect the layout.
  2. For MacBooks with butterfly switches (2015–2019), sticky or double-registering keys are a known issue. Apple's keyboard service program may still cover repairs — check your serial number on the Apple support site.
  3. Reset the SMC and NVRAM if modifier keys (Command, Option) misbehave.

Linux

  1. Run xev in a terminal and press the faulty key. If no event appears, the key signal is not reaching the kernel — likely hardware.
  2. On Wayland, use wev instead of xev.
  3. Check dmesg | grep -i keyboard for driver errors after plugging in a USB keyboard.

ChromeOS

  1. Open Settings → Device → Keyboard and inputs and use Diagnostics → Keyboard to run Google's built-in per-key test.
  2. Perform a hardware reset: power off, then press Refresh + Power together.

Keyboard Layout Differences

If a key prints the wrong character but still registers on this test, the problem is layout mapping, not hardware. Examples:

Change the active layout in Windows (Settings → Time & language → Language), macOS (System Settings → Keyboard → Input Sources), or Linux (setxkbmap).

Related Input Device Checks

A misbehaving keyboard sometimes points to a broader input-layer problem. If your mouse also has delays or missed inputs, the cause is often a system-wide USB or driver issue rather than the keyboard itself. On touch-enabled laptops, verify that the touchscreen and gamepad inputs work too — anything plugged in USB can affect the others.

Frequently Asked Questions

How do I know if a key on my keyboard is broken?

Press each key one at a time and watch the on-screen keyboard. If a key does not highlight or register when pressed, it may be stuck, damaged, or disconnected. Try cleaning the key or testing with a different keyboard to confirm.

Does this keyboard test work with mechanical keyboards?

Yes, this test works with all keyboard types including mechanical, membrane, laptop, and wireless keyboards. It detects standard key codes sent by any keyboard connected to your computer.

Why are some keys not being detected?

Some keys like Fn, media keys, or special function keys may not be detected because they are handled by your operating system or keyboard firmware rather than the browser. Also, certain key combinations may be intercepted by your OS.

Can I test keyboard ghosting and rollover with this tool?

Yes, try pressing multiple keys simultaneously. If some keys fail to register when others are held down, your keyboard may have ghosting issues. Mechanical keyboards with N-key rollover should register all keys pressed at once.

Time to upgrade? Consider these keyboards:

⌨️

Keychron K2 Wireless

Compact 75% mechanical keyboard

View on Amazon
🎹

Logitech MX Keys

Premium wireless keyboard

View on Amazon
🎮

Razer BlackWidow V3

Gaming mechanical keyboard with RGB

View on Amazon

Support Check A Device

If you find our free tools helpful, consider supporting us! Your contributions help us keep the site running and ad-free.

Buy Me a Coffee