2 min read
How to Test Every Key on Your Keyboard
Sweep the whole board in two minutes, catch dead and intermittent keys, and understand what the key codes mean.
The sweep method
A visual keyboard tester highlights each key as it registers and keeps tested keys marked, so coverage is obvious at a glance. Sweep row by row — including the ones you never think about, like Scroll Lock, Pause, and the numpad — until every key on the visual board is marked.
Intermittent keys are the sneaky failures: they work most presses and drop some. For any suspect key, press it twenty times in a row and confirm every press registers.
- 1Open the Keyboard Tester and click the page so it receives input.
- 2Sweep each row left to right, watching keys light and stay marked.
- 3Press suspect keys repeatedly to catch intermittent failures.
- 4Hold WASD + Shift + Space together to spot rollover limits.
- 5Reset and repeat if you want a second pass.
Keys that legitimately won't register
The operating system intercepts a few keys before the browser sees them: Fn (handled inside the keyboard itself), some Windows/Command combinations, and certain media keys. If one of those doesn't light up, it isn't evidence of a broken key. Everything else — letters, numbers, modifiers, arrows, function keys — should register.
Reading key, code, and keyCode
The tester displays three values developers care about: key is the character or action the press produces ('a', 'Enter'); code is the physical key position ('KeyA'), which ignores layout; and keyCode is the deprecated numeric identifier older code still uses. If you're wiring keyboard shortcuts, prefer code for position-based controls (like WASD) and key for character-based ones.
Frequently asked questions
A key types the wrong letter but lights the right position. Broken?
No — that's a layout mismatch. The physical key is fine; your OS keyboard layout maps it to a different character. Switch layouts in system settings.
What is anti-ghosting?
The ability to register many simultaneous key presses. Budget keyboards may cap at 3–6 keys; gaming boards advertise n-key rollover. Hold multiple keys in the tester to see your board's limit.
Tools mentioned in this guide
Keep reading