Free Online Keyboard Tester

A keyboard tester listens for keydown and keyup events and reports event.key (logical), event.code (physical), event.keyCode (deprecated numeric) and event.location (left/right modifier) for each press.

Your data is processed entirely in your browser and never sent to any server.

Instant results 100% private No signup needed

Press any key to see it highlight below. Event values are shown in the panel.

key
code
keyCode
location
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
Meta
Alt
Space
Alt
Meta
Ctrl

How to Use This Tool

  1. Click anywhere on the page, then press any key.
  2. Watch the visual layout — pressed keys highlight.
  3. Read the live event.key, event.code, event.keyCode and location values.
  4. Use Reset to clear the highlights between tests.

What Is a Keyboard Tester?

Keyboard testers are useful for two things: spotting a dead or sticky key on a physical keyboard, and figuring out the exact event values your code will receive when a user presses a key. JavaScript exposes three (and a half) different identifiers — key is the logical character, code is the physical position, keyCode is the deprecated numeric value, and location distinguishes left versus right modifier keys.

IT support uses it to confirm a hardware fault before approving a replacement. Software developers verify how their keydown handler will see modifier combinations across operating systems. Mechanical-keyboard hobbyists test newly built boards before declaring them ready. The tool maps every keydown to its KeyboardEvent.code and lights up the corresponding cell in a US-layout grid. Hold a key to see auto-repeat in action; press modifier keys to see left/right location values change.

Nothing is logged or sent anywhere. Reset clears highlights between tests.

Frequently Asked Questions

What does it test?
Key-press detection. Each key is highlighted on a visual keyboard and the event values shown.
Does it work for all keys?
Standard keys yes. Some media or macro keys may be intercepted by the OS.
Good for mechanical keyboards?
Yes — useful for spotting stuck or non-registering switches.

Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.

Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.

Related Miscellaneous