DT Device Tests

Keyboard Tester

Test every key on your keyboard online with a full-size on-screen layout, live key/code/keyCode/location readout, and a ghosting and rollover check.

🔒 Runs entirely in your browser — nothing is uploaded

Click here, then press any key

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
Menu
Ctrl
PrtSc
ScrLk
Pause
Ins
Home
PgUp
Del
End
PgDn
↑
←
↓
→
Num
/
*
-
7
8
9
+
4
5
6
1
2
3
Enter
0
.
event.key
—
event.code
—
keyCode
—
Location
—
Held now
0
Max simultaneous
0
Keys tested
0 / 104

Held keys: none

While the test area is focused, key shortcuts are blocked. Click outside it to use your keyboard normally.
    Advertisement

    Test every key on your keyboard

    This keyboard tester shows a full-size ANSI layout with the function row, navigation cluster, arrow keys and numeric keypad. Click the test area and press keys: each one lights up while held and stays green once it has registered, so you can quickly work through the whole keyboard and see which keys, if any, never respond. It is ideal for checking a new or second-hand keyboard, testing after a spill or cleaning, or confirming that a mechanical switch works reliably.

    For every press the tool displays the key value (the character produced), the code (the physical key position), the legacy keyCode and the location, which tells left and right Shift, Ctrl and Alt apart and identifies numeric keypad keys. A running log lists recent key-down and key-up events, including auto-repeat. Keys that are not part of the standard layout, such as ISO or media keys, appear as extra chips below the keyboard.

    Check ghosting and key rollover

    Hold several keys together — for example W, A, Shift and Space as in a game — and watch the counters. “Held now” shows how many keys the browser currently sees, and “Max simultaneous” keeps the highest number reached. Budget keyboards often manage only two to six keys at once or fail on certain combinations; gaming keyboards with n-key rollover register them all.

    Troubleshooting

    While the test area is focused, browser shortcuts are blocked so that keys like F5, Tab or Backspace can be tested safely; click anywhere outside the area to use your keyboard normally again. Some keys never reach the browser because the operating system intercepts them, including Fn, many media keys and some Windows-key combinations, while PrintScreen often reports only its release. Nothing you type is stored or sent.

    How to use

    1. Focus the test areaClick the keyboard area so it starts listening; shortcuts are blocked while it is focused.
    2. Press every keyPress each key once. Keys light up while held and stay green once they have worked.
    3. Check rolloverHold several keys at once and watch the “Held now” and “Max simultaneous” counters to spot ghosting.

    Frequently asked questions

    What is keyboard ghosting?
    Ghosting happens when a keyboard cannot register certain combinations of simultaneously pressed keys. Some presses are silently dropped, which matters in games. If a key you are holding does not light up, your keyboard has hit its rollover limit.
    What are key, code and keyCode?
    key is the character or action produced (it changes with layout and Shift), code identifies the physical key position (for example KeyA), and keyCode is an older numeric value that is deprecated but still used by some software.
    Why doesn't a key register?
    Some keys are handled by the operating system before the browser sees them — for example the Windows key, PrintScreen, Fn, media keys or certain shortcuts. If an ordinary key never lights up, it may be faulty or remapped.
    Does this work with non-US keyboards?
    Yes. The tester uses physical key codes, so every key lights up on the ANSI layout shown. On ISO keyboards the extra key next to left Shift appears under “Other keys detected”.
    Advertisement