Keyboard Tester

Press each key on your keyboard. Keys that work light up, and the one you're holding stays highlighted, so dead or stuck keys are easy to spot.

0Keys tested
–Last key
–event.code
EscF1F2F3F4F5F6F7F8F9F10F11F12
`1234567890-=Backspace
TabQWERTYUIOP[]\
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift
CtrlWin/⌘AltSpaceAltWin/⌘MenuCtrl
InsHomePgUp
DelEndPgDn
↑
←↓→
Grey = not tested, light = worked, solid = held now, red outline = key you pressed that isn’t on this layout.

How to test your keyboard

  1. Press each key once, row by row.
  2. Keys that work turn light blue. The key you’re holding turns solid blue.
  3. Any key that stays grey after you press it didn’t register. It may be dead, disconnected, or mapped to something else.
  4. The panel above shows the last key, plus its event.code, the physical key identifier your browser reports.

Keys that aren’t on the drawn layout (like media keys or a numpad) are listed under “Also detected”.

What the results mean

SymptomLikely cause
Key never lights upDead switch, dirt under the keycap, or a broken connection
Key lights up as a different keyWrong layout setting in your OS, or remapping software
Key stays solid blue after releaseSticky or stuck key, or debris under the cap
Key works only when pressed hardWorn switch or a membrane problem
Several keys in a row fail togetherMatrix or ribbon cable fault (common in laptops)

Quick fixes to try

If keys work but sometimes type twice, run the key chatter test.

Frequently asked questions

Why don't the F keys or media keys show up?

Some laptops send F1–F12 as media or brightness keys unless you hold Fn. Some keys are also handled by your operating system before the browser sees them. Try holding Fn, or switch the Fn-lock setting.

Does it work with non-English keyboard layouts?

Yes. The tester uses physical key positions, so it works with any layout. Labels show the US layout, but the key you press lights up in the same physical position.

Why doesn't Print Screen light up?

Most browsers and operating systems don't pass the Print Screen key-down event to web pages. We detect it on key release where possible and list it below the keyboard.

Last updated

Related tests