How to test your keyboard
- Press every key, one at a time. Each key turns green after it works.
- Look for keys that stay grey: those didn’t register. Keys that stay orange after you let go are stuck.
- To test rollover, hold several keys at the same time (for example W, A, S, D and Space) and watch the Held now count.
- Click Reset to start again.
While you test, most keys don’t trigger their usual browser actions (so Space won’t scroll and F5 won’t reload). Shortcuts with Ctrl or ⌘ still work.
Dead key, stuck key or ghosting?
- Dead key: nothing happens when you press it. Often dirt or a crumb under the keycap; on a mechanical keyboard the switch may be faulty.
- Stuck or chattering key: it stays pressed or types twice. Cleaning under the keycap often fixes it.
- Ghosting: pressing several keys together makes one of them not register. Cheaper keyboards can only report 2–3 keys at once in some combinations.
- Rollover (KRO): the number of keys a keyboard can report at the same time. “6KRO” means six; “NKRO” means all of them, common on gaming keyboards.
Key codes for developers
For each key the panel shows event.key (the character or name, which depends on your layout), event.code (the physical key position, the same on any layout) and the older keyCode number. The keyboard on screen uses a US layout, but every key is matched by its position, so it works for UK, German, French and other layouts too.
Some keys never show up
A few keys are handled by the computer before the browser sees them: the Fn key, media and brightness keys, and some laptop shortcut keys. Print Screen and the Windows key may also be caught by the system. That doesn’t mean they’re broken.
Frequently asked questions
How do I test if all my keyboard keys work?
Press each key on this page. Keys turn green once they work; any key that stays grey isn’t registering.
Why doesn’t the Fn key light up?
The Fn key is handled inside the keyboard itself and is never sent to the computer, so no website can detect it. Media and brightness keys are often the same.
What is keyboard rollover?
Rollover is how many keys a keyboard can register at the same time. Hold several keys down and the Held now number shows how many your keyboard reports.
Does it work with laptop and non-US keyboards?
Yes. Keys are matched by their physical position, so laptop keyboards and UK, German, French or other layouts all work.
Can I test a keyboard on a phone?
You need a physical keyboard. On a tablet or phone, connect a Bluetooth or USB keyboard and the test works the same way.
Last updated October 2026 · More device tests