Youtilities

Popular

All tools

Keyboard Tester

Press every key and see it light up. Finds dead and stuck keys and shows key codes.

Runs in your browser. Nothing is uploaded.

Press any key0 of 77 tested
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
`
1
2
3
4
5
6
7
8
9
0
-
=
⌫
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
Caps
A
S
D
F
G
H
J
K
L
;
'
Enter
Shift
Z
X
C
V
B
N
M
,
.
/
Shift
Ctrl
⌘/Win
Alt
Alt
⌘/Win
Ctrl
←
↑
↓
→

Orange = held now, green = worked. A key that never turns green is dead; one that stays orange is stuck. Browser shortcuts (like ⌘W) may still act.

Last keys

Nothing yet. Click the page, then type.

How to test a keyboard

Click anywhere on the page and press every key. Each key turns green once it has registered; the one you are holding is highlighted. When you are done, any key still grey did not send anything and is likely dead or dirty under the cap. A key that stays highlighted after you let go is stuck.

Key codes

The table shows the key value, the physical code and the legacy keyCode for the last presses, useful for developers checking keyboard events and for confirming that a remapped key sends what you expect.

Keys the browser keeps

Some shortcuts are handled by the browser or operating system before the page sees them, for example closing a tab, switching apps, or media keys. Those may not light up here even though the key works.

Laptop layouts

The layout shown is a standard full-size layout. Compact and laptop keyboards have fewer keys and Fn combinations, which the page cannot see; test the keys you have and ignore the rest.

Ghosting and key rollover

Hold down several keys at once: each one you hold stays highlighted. If a key you add does not light up while others are held, the keyboard has hit its rollover limit or is ghosting. Many office keyboards can only report two or three keys together in some combinations, which matters in games where you hold W, A and Shift while pressing Space. Gaming keyboards often handle six keys or any number of keys at once. Try the combinations you actually use.

Wrong character but the key works

Compare the Key and Code columns in the table. Code is the physical key, Key is the character your layout turns it into. If Code is right but Key is wrong, for example @ and " are swapped or Y and Z, the keyboard is fine and the operating system is set to a different layout, such as UK instead of US or German instead of English. Change the input language or layout in your OS settings. If Code itself is wrong or missing, the problem is in the keyboard or its driver.

All device tests