Keyboard Key Tester

Press any key on your physical keyboard to test responsiveness, check ghosting, and highlight active key codes.

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
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
Ctrl
PrtSc
ScrLk
Pause
Ins
Home
PgUp
Del
End
PgDn
Num
/
*
-
7
8
9
+
4
5
6
1
2
3
Enter
0
.

Embed This Tool

Add this Keyboard Tester directly to your site using iframe snippet.

What is Keyboard Key Tester?

Keyboard Key Tester is a browser-native utility that captures physical key press events in real time. It displays W3C standard event.code, event.key, and event.keyCode values while marking tested keys green on an interactive mechanical keyboard diagram.

Whether you are testing a mechanical keyboard for ghosting, checking if N-key rollover (NKRO) works properly, or diagnosing stuck switch contacts on a laptop keyboard, this tool gives you instant visual feedback without installing third-party software.

With built-in 3D mechanical keycap presets (104-Key Full, 87-Key TKL, and 61-Key 60%), you can switch layouts to fit your exact keyboard size. Keystrokes are processed 100% locally in browser memory for absolute privacy.

Privacy Guarantee: Keystrokes are captured 100% locally in browser memory. No keyloggers, telemetry, or keystroke logs are ever saved or transmitted.

Frequently Asked Questions

Is this keyboard tester 100% free of keyloggers and telemetry?
Yes! All key press listener events run locally inside your browser memory using JavaScript KeyboardEvents. No keystroke data, IP addresses, or telemetry logs are ever stored or sent over the network.
How do I test for keyboard ghosting or N-key rollover (NKRO)?
Press multiple keys simultaneously on your keyboard. If your keyboard supports N-key rollover, every pressed key will highlight blue in real time. If certain keys fail to register, your keyboard may have matrix ghosting limitations.
Why do function keys (F1-F12), Tab, or Alt keys trigger browser shortcuts?
We handle preventDefault() on browser shortcuts (like F5 refresh, Tab focus shift, or Alt menu focus) so you can test special function keys cleanly inside the webpage.
Does this tester work on Mac, Windows, Linux, and Chromebook keyboards?
Yes! It utilizes standard W3C DOM Level 3 KeyboardEvent specifications, ensuring 100% cross-platform compatibility across Windows, macOS, Linux, and ChromeOS.
What is the difference between event.code and event.key?
event.code identifies the physical key location on the keyboard layout (e.g. KeyA), whereas event.key represents the printed character generated based on active modifier state or system input language.

Explore Hardware & System Tools

View All →