Keyboard Key Tester
Modifiers:
ShiftCtrlAltMetaVirtual Keyboard
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
PrtSc
ScLk
Pause
`
~
1
!
2
@
3
#
4
$
5
%
6
^
7
&
8
*
9
(
0
)
-
_
=
+
Bksp
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
Alt
Win
≡
Ctrl
Ins
Home
PgUp
Del
End
PgDn
↑
←
↓
→
Num
/
*
−
Hm
7
↑
8
Pg↑
9
+
←
4
5
→
6
En
1
↓
2
Pg↓
3
Ent
Ins
0
Del
.
Statistics
Max Simultaneous Keys (NKRO)
0
keys
Currently Down
0
keys
Total Presses
0
Avg Inter-Key Delay
0
ms
P95 Inter-Key Delay
0
ms
Chatter Detected
0
events
Compatibility Notes
OS-intercepted keys (not capturable by any browser): Alt+Tab, Ctrl+Alt+Del, Win/Cmd key (some), Print Screen (some OS), media keys, Fn keys.
Browser shortcuts with Prevent Default off: Ctrl+W, F5, Ctrl+T, etc. may still trigger browser actions.
Gaming keyboards with hardware N-Key Rollover will show higher max simultaneous counts than software-limited keyboards.
Virtual/touch keyboards on mobile devices may not fire standard hardware keyboard events and will not appear here.
About This Tool
What is a Keyboard Key Tester?
A keyboard key tester is a diagnostic tool that detects and displays keyboard events in real time directly inside your browser. Every time you press or release a key, the tool records the keydown or keyup browser event and maps it onto a virtual keyboard layout so you can instantly see which physical key was triggered. Because everything runs client-side with no network requests, your keystrokes never leave your device.
How to Use the Keyboard Key Tester
Using this free online keyboard tester is straightforward:
- Click Start Capture to begin listening for keystrokes.
- Press any key — the corresponding virtual key on the keyboard diagram immediately lights up in green.
- Release the key and observe the hold-duration counter update in the per-key summary.
- Press multiple keys simultaneously to measure your keyboard's N-Key Rollover (NKRO) limit in the Statistics panel.
- Click Heatmap to overlay a colour-intensity map showing which keys you press most often.
- Use Stop Capture to pause recording any time, and Reset to clear all data.
Understanding N-Key Rollover (NKRO) and Anti-Ghosting
N-Key Rollover is the maximum number of keys your keyboard can register simultaneously and independently. Budget keyboards often ship with 2KRO (two-key rollover) or 6KRO limits — any additional keys pressed at the same time are simply dropped by the hardware. Gaming keyboards typically offer full NKRO (sometimes marketed as “anti-ghosting”), meaning every key pressed concurrently is reported correctly.
To test NKRO, hold down as many keys as possible at once while the tool is capturing. The “Max Simultaneous Keys” counter updates live as you add more keys. Combinations like WASD + Shift + Space + Q/E are common gaming chord tests — if any of those keys fail to appear in the event stream while others are held, your keyboard has a rollover or ghosting limitation at that chord.
Detecting Key Chatter (Bounce) and Stuck Keys
Chatter Detection
Key chatter — or bounce — occurs when a worn mechanical switch fires multiple electrical contacts in rapid succession from a single physical press, producing a series of keydown → keyup → keydown events within a few milliseconds. This tool flags any transition for the same key that occurs within a 20 ms window as a chatter event. If a key shows a non-zero chatter count in the per-key summary, its switch may need cleaning, re-lubing, or replacement.
Stuck Key Detection
A key is considered “stuck” when a keydown event is not followed by a corresponding keyup within 3 seconds. This can indicate a key that is physically jammed, debris under the plate, or a firmware issue. The warning banner resolves automatically when the key is released.
Key Event Timing Metrics Explained
All timestamps use performance.now(), which provides sub-millisecond resolution independent of system clock adjustments. The following metrics are computed:
- Hold Duration — the elapsed time between
keydownand the correspondingkeyupfor a single press. Averaged across all presses of that key to show habitual hold patterns. - Inter-Key Delay — the time between consecutive
keydownevents. The average and 95th-percentile values in the Statistics panel indicate your natural typing cadence and reveal any latency outliers caused by background OS activity or USB polling intervals. - Repeat Rate — when you hold a key, the OS fires repeated
keydownevents withrepeat: true. The event log marks these with an “rpt” badge. The interval between repeat events reflects your OS key-repeat rate setting.
Reading the Virtual Keyboard Heatmap
Enable the Heatmap toggle to overlay a colour-intensity gradient on the virtual keyboard. Keys you press more frequently shift from no colour (never pressed) through light to dark shades proportionally to their press count relative to your most-pressed key. This gives an immediate visual of your typing pattern — for example, confirming that WASD are your primary movement keys in a gaming session, or that the delete and backspace keys are receiving heavy use in an editing workflow.
Exporting and Sharing Results
After a capture session you can export your data using the CSV button (a full event-by-event log suitable for spreadsheet analysis) or the JSON button (structured data including per-key summaries and raw event arrays). These exports are generated entirely in-browser as object-URL blobs — no server upload is performed.
Why Some Keys Cannot Be Tested
Certain keys are intercepted by the operating system or browser before they can reach a web page. Common examples include Ctrl+Alt+Del, the Windows/Super key (in most desktop environments), Alt+Tab, Print Screen, and media keys handled by firmware. These limitations exist at the OS level and cannot be bypassed by any browser application — they are noted in the Compatibility Notes panel within the tool.
Is This Keyboard Tester Safe to Use?
Yes. The tool operates entirely in your browser using standard addEventListener calls on the window object. Keystrokes are stored only in JavaScript memory for the duration of the session and are discarded when you reset or close the page. There is no server, no WebSocket, no telemetry, and no analytics attached to the keyboard capture logic. The only network activity on this page is the initial load of the application itself.
Frequently Asked Questions
Yes, Keyboard Key Tester is totally free :)
Yes, you can install the webapp as PWA.
Yes, any data related to Keyboard Key Tester only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.
Certain keys—like Alt+Tab, Cmd+Q, Win key, PrintScreen, and media keys—are intercepted by the operating system or browser before they reach the page. These OS-reserved shortcuts cannot be captured by any web application. The tool shows a Compatibility Notes section listing commonly uncapturable keys.
N-Key Rollover (NKRO) is the maximum number of simultaneous key presses your keyboard can reliably register. A keyboard with full NKRO can detect every key pressed simultaneously. Budget keyboards often only support 2-Key or 6-Key Rollover (2KRO/6KRO), causing missed keys or ghosting when many keys are held at once.
Ghosting occurs when a key press is not registered because other specific keys are held simultaneously—due to hardware matrix limitations. This tool tracks the set of currently-held keys and flags any chord where an expected keydown event was missing while 2+ other keys were already down. It also counts spurious (phantom) keypresses.
Key chatter (or bounce) is a hardware issue where a single physical key press produces multiple keydown/keyup events in rapid succession—typically within 5–30 ms. This tool detects chatter by watching for down→up or up→down transitions for the same key within the configured debounce window.
All timestamps use performance.now() which gives sub-millisecond resolution. However, the OS keyboard driver, USB polling rate (125–8000 Hz), browser event loop, and tab throttling all introduce latency. Treat metrics like repeat rate and inter-key delay as indicative rather than exact hardware measurements.
Completely safe. All processing happens entirely in your browser—no data is ever sent to a server. Keystrokes exist only in memory while the tool is open, and are cleared when you reset or leave the page. The tool's only output is statistics and displays shown directly to you.