Keyboard Tester
Keyboard Tester
Press any key to see it light up. Great for checking a new keyboard, spotting a stuck key, or confirming that a specific keycode actually reaches the browser.
untested tested pressed
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
←
↑
↓
→
Waiting for a key press…
Event log (most recent first)
No key events yet.
How to use it
- Click anywhere on this page so it has keyboard focus.
- Press each key on your keyboard one by one.
- Watch the on-screen keyboard highlight in blue while a key is held, and turn green after it has been tested.
- Use the event log to check the exact key, code, and keyCode your browser receives.
Examples
New keyboard smoke test
Press every key row-by-row and confirm each turns green.
Sticky key check
If a key stays blue after release, it may be physically stuck.
Game key mapping
Check the exact
code to bind in a game or browser app.About this tool
Uses the browser's standard keydown and keyup events. Some keys are intercepted by the operating system (e.g. media keys or global shortcuts) and never reach the browser — that's an OS limitation, not a fault of the keyboard.
FAQ
- How do I test my keyboard with this tool?
- Click anywhere on the page or press any key while focused on the page. Each key you press lights up on the on-screen keyboard and appears in the event log below.
- What do the labels 'key' and 'code' mean?
- 'key' is the character produced (which changes with layout and modifiers). 'code' is the physical key on the keyboard, independent of layout — useful for spotting hardware issues.
- Why is a key not registering?
- If a key never lights up, the keyboard is likely sending nothing to the OS. Try a different USB port, another laptop, or an on-screen keyboard to isolate hardware vs. software.
- Can I test modifier keys like Shift or Ctrl?
- Yes. Shift, Ctrl, Alt/Option, Meta (Cmd/Win), CapsLock, and function keys all show up in the log with their code.
- Does the tool send any data anywhere?
- No. Key events are handled locally in your browser and never leave your device.
Privacy
Everything runs locally in your browser. Your input is never uploaded, logged, or stored.