Keyboard Test
Test every key on your keyboard — see presses light up live and check for stuck or dead keys.
Press each key — it turns black while held and stays gray once tested. 94 still untested.
Examples
Check a suspect key
Input
Press the key
Output
It lights up black — the key works
Find untested keys
Input
Walk across the keyboard
Output
Gray = tested, white = still untested
Read the event
Input
Press Enter
Output
key: Enter · code: Enter · keyCode: 13
About this tool
This free online keyboard test checks that every key on your keyboard is working. Press any key and watch it light up on the on-screen keyboard — keys turn black while held and stay gray once tested, so you can quickly confirm the whole board or hunt down a stuck or dead key. It runs entirely in your browser with no install.
How to use
- Click into the page so it has keyboard focus.
- Press each key and watch the matching on-screen key react.
- Use the tested counter to make sure you covered every key.
- Press Reset to start a fresh test.
Common uses
Diagnosing a laptop or mechanical keyboard before buying or returning it, checking a second-hand keyboard, testing for ghosting on gaming keyboards, or reading the exact key, code, and keyCode values while building a web app. The tool matches keys by physical code, so it works with any layout or language.
Frequently asked questions
How do I test my keyboard?
Just start pressing keys. Each key on the on-screen keyboard lights up black while you hold it and turns gray once it has been pressed at least once, so you can walk across the whole keyboard and confirm every key registers.
How do I know a key is broken?
Press it and watch the on-screen key. If nothing lights up, the key isn't registering (a dead key). If a key shows as held down when you're not touching it, it may be stuck. Keys that never turn gray are the ones left to test.
What do the key, code, and keyCode values mean?
key is the character the key produces (like 'a' or 'Enter'), code is the physical key location on the keyboard (like 'KeyA'), and keyCode is the legacy numeric code. The tool matches keys by code, so it works regardless of your keyboard layout or language.
Does it work for laptop and mechanical keyboards?
Yes. It tests whatever keyboard your browser receives input from — a built-in laptop keyboard, an external USB or Bluetooth keyboard, or a mechanical one. Function keys, modifiers, and arrows are all included.
Can I test for key ghosting or rollover?
To an extent. Hold several keys at once and watch how many light up together. If some presses don't register while others are held, your keyboard has limited rollover (ghosting) for that combination — common on cheaper membrane keyboards.
Why do some keys not respond?
A few keys are captured by the operating system or browser before the page sees them — for example, certain function keys, media keys, or OS shortcuts. That's a limitation of the browser, not necessarily a broken key.
Is anything sent to a server?
No. The test runs entirely in your browser using standard keyboard events. Nothing you type is stored or sent anywhere.
Learn more
Related tools
Dead Pixel Test
Cycle full-screen solid colors to spot dead, stuck, or hot pixels on any monitor or phone screen.
FPS Test
Measure your screen's frame rate live with a real-time FPS counter and graph — no install.
Mouse Test
Test mouse buttons, scroll wheel, and movement — plus a click-speed (CPS) counter. No install.
Touch Screen Test
Test your touchscreen — visualize every touch point and draw to find dead or unresponsive spots.