slopbin.org / keyboard-tester

Keyboard Tester

Test your keyboard online for free. Press any key to see it light up, inspect the key code and event, and quickly check for missing or stuck keys.

Latest key
Click Start
Then press a key on your keyboard.
Keyboard status: Not testing
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
~
1
2
3
4
5
6
7
8
9
0
-
=
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
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
Keys pressed0
Unique keys0
Last code
Last event

How to test your keyboard

  1. Click Start test.
  2. Press the keys on your physical keyboard.
  3. Watch the matching keys light up.
  4. Check the key name, code, event type, and key count.

Test for stuck or broken keyboard keys

A keyboard tester is useful when a key feels broken, intermittent, or stuck. Press and release each key and watch the virtual keyboard. A key that repeatedly fails to register deserves closer inspection.

What do Key, Code, and Event mean?

ValueWhat it means
KeyThe value produced by the key, such as A or Enter.
CodeThe physical key position identifier, such as KeyA or Space.
EventThe browser event, usually keydown or keyup.

Does it work with laptops and USB keyboards?

Yes. It can test compatible built-in laptop keyboards and many USB or wireless keyboards. The website receives keyboard events from the browser rather than directly connecting to the keyboard.

Privacy

This tool only needs keyboard events to display the test. It does not need to upload what you type to a server. Avoid using this page for passwords or other sensitive information while testing.

Keyboard tester limitations

FAQ

How do I test my keyboard online?

Start the tester and press your keyboard keys. The corresponding virtual key should highlight and the latest event details will update.

How do I test for a stuck key?

Press and release the suspected key while the tester is running. The virtual key should stop being highlighted after the browser receives the keyup event.

Can I test a laptop keyboard?

Yes. Built-in laptop keyboards and compatible external keyboards can be tested.

Can I test a wireless keyboard?

Yes, as long as the operating system connects it as a keyboard and the browser receives its keyboard events.

Why isn't my key detected?

Some keys are handled by the operating system or browser and are not exposed to web pages. Browser shortcuts and certain special keys may therefore be impossible to test online.