Skip to main content
Screendesk
Free tool

Keyboard Tester

Press each key to see it light up on a full keyboard layout and find dead, stuck or double-typing keys.

Open source on GitHub

Keyboard

0 / 87 keys tested
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
PrtSc
ScrLk
Pause
`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace
Ins
Home
PgUp
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
Del
End
PgDn
Caps Lock
A
S
D
F
G
H
J
K
L
;
'
Enter
Shift
Z
X
C
V
B
N
M
,
.
/
Shift
↑
Ctrl
Win / ⌘
Alt / ⌥
Space
Alt / ⌥
Win / ⌘
Menu
Ctrl
←
↓
→
Click here, then press any key
Pressed nowTestedNot tested yetBrowser shortcuts with Ctrl or ⌘ still work. Needs a physical keyboard.

Last key

event.key—
event.code—
Location—
keyCode (legacy)—

Other keys detected

Numpad, media and other keys that are not on the layout above appear here.

How to test

Test every key in a minute. Works with any physical keyboard.

  • Focus the test area

    Click the keyboard. While it is focused, Tab, Space, arrows and F-keys are captured so they don’t scroll the page or move focus.

  • Press every key

    Each key turns rose while held and grey once tested. Work row by row; any key that stays white did not register.

  • Check the details

    The last key panel shows event.key, event.code and location, useful for telling left from right modifiers or debugging shortcuts.

Troubleshooting

What the results mean. Common keyboard faults and fixes.

Keyboard problems and fixes
ResultLikely cause and fix
A key never lights upDebris under the keycap, a failed switch, or a remapping tool. Clean with compressed air and check apps like Karabiner, PowerToys or vendor software.
A key stays rose after releaseThe key is stuck or the keyup was lost (common with Cmd on macOS). Press it again; if it persists, the switch may be sticking.
One press registers twiceKey chatter from a worn switch. Mechanical keyboards can often have that switch cleaned or replaced.
Several keys fail togetherOften a row or column fault in the keyboard matrix, or a loose internal ribbon cable on laptops.
Wireless keyboard misses keysLow battery or interference. Replace batteries and move the receiver closer with a USB extension.
Fn, media or brightness keys missingMany of these are handled by the keyboard or OS and never reach the browser. That is expected.
FAQ

Frequently asked questions

How do I test my keyboard?

Click the keyboard on this page, then press each key. Keys turn grey once they register and rose while held down. Any key that stays white has not been detected.

Why doesn’t the Fn key show up?

The Fn key is usually handled inside the keyboard itself and never sent to the computer, so no browser-based tester can detect it. The same is true for many media and brightness keys.

Can I test keys like Cmd+W or Ctrl+T?

Browser shortcuts that use Ctrl or Cmd are not blocked, so pressing them still triggers the browser. Press Ctrl or Cmd on its own to test the key without the shortcut.

What is the difference between event.key and event.code?

event.key is the character or action the key produces with your current layout and modifiers, like “a” or “A”. event.code is the physical key position, like “KeyA”, regardless of layout. This tester highlights keys by event.code.

Does this work with non-US keyboards?

Yes. Keys are matched by physical position, so a UK, German or French keyboard lights up the key in the same place. Extra keys such as the ISO key next to left Shift appear under “Other keys detected”.

Customer support runs on Screendesk.

Start for free