Keyboard Tester

Test every key on your keyboard online with an interactive visual keyboard map. Check for stuck switches, key ghosting, key codes, and N-key rollover. Free, no download.

Quick Answer • Diagnostic Summary

A keyboard tester is an interactive tool that highlights every pressed key on a visual layout to verify switch actuation. It checks whether dead keys, stuck switches, key ghosting, or matrix jamming are occurring, and verifies N-key rollover (NKRO) during simultaneous multi-key combinations.

Full Virtual Keyboard Tester

Tested: 0 keys • Peak Rollover: 0 keys
Last Key: None
Escape
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

What Is a Keyboard Key Tester?

A keyboard tester provides a real-time virtual layout of standard ANSI and ISO keyboards. When you press a physical key, the browser intercepts the standard KeyboardEvent, decodes its physical e.code and typographical e.key value, and lights up the corresponding switch on screen.

This diagnostic is essential for troubleshooting spilled liquids, dust in mechanical switches, soldering defects on custom keyboards, worn rubber membranes on laptops, and matrix jamming on entry-level office keyboards.

It also evaluates N-Key Rollover (NKRO)—the hardware ability to register an unlimited number of simultaneous keystrokes without dropped inputs or phantom ghost keys.

How to Test Your Keyboard

1Focus the Tester

Click anywhere on the virtual keyboard to ensure the browser has active keyboard focus.

2Press Keys Individually

Tap through every row: Function keys (F1-F12), number row, QWERTY alphanumeric keys, modifiers (Shift, Ctrl, Alt), and navigation arrows.

3Inspect Visual Confirmation

Active keys illuminate while held down and turn into a persistent confirmed state once released, allowing you to systematically verify the entire layout.

4Test N-Key Rollover (Multi-Key)

Press and hold multiple keys simultaneously (e.g., W + A + S + D + Space + Shift) to confirm your keyboard controller can process concurrent gaming combinations.

5Check Virtual Key Codes

Review the live telemetry panel showing event.code, event.key, event.which, and OS repeat state for developer diagnostics.

How to Read Your Results & Performance Benchmarks

Compare your observed diagnostic measurements against verified hardware standards.

Rollover ClassSimultaneous KeysMatrix ArchitectureGaming Suitability
2-Key Rollover (2KRO)2 keys maxCheap un-dioded membraneGhosting common; fails during diagonal sprint + jump.
6-Key Rollover (6KRO)6 keys + modifiersStandard USB HID legacy limitSufficient for 95% of gaming; standard USB office board.
N-Key Rollover (NKRO)Unlimited concurrentIndividual diode per switchFull esports grade; zero ghosting or jamming possible.

Common Keyboard Faults and How to Fix Them

Certain keys fail to light up or require heavy pressure

Cause: Oxidized mechanical switch contacts, accumulated dust/crumbs, or worn rubber membrane carbon pads.

Solution: For hot-swappable mechanical keyboards, pull the switch and clean with electrical contact cleaner or swap with a new switch. For membrane laptops, clean around keycaps with compressed air.
Keys stay permanently lit on screen after release

Cause: Sticky mechanical switch stem, broken return spring, or OS Sticky Keys feature enabled.

Solution: Press the key firmly several times to dislodge debris. Check Windows Accessibility settings and disable 'Sticky Keys'.
Fn or proprietary media keys do not register

Cause: Hardware-level Fn keys modify scan codes inside the keyboard microcontroller without sending standard OS key events.

Solution: This is normal hardware behavior. Fn keys communicate directly with vendor firmware and cannot be captured by web browsers.
Browser Keyboard API Limitations

The browser KeyboardEvent API captures all standard standard keyboard inputs. However, certain system hotkeys (like Ctrl+Alt+Del, Windows Key, or browser shortcut keys like Ctrl+W and F5) are intercepted directly by the operating system or browser chrome before reaching JavaScript.

Frequently Asked Questions

How do I test if a key is broken?
Press every key on your physical keyboard while watching this virtual map. If a key fails to light up, chatters rapidly, or requires unusual pressure to register, its physical switch, membrane trace, or solder joint is faulty.
What is key ghosting?
Key ghosting occurs on budget membrane keyboards where multiple keys share electrical traces. When three related keys are pressed together, the matrix circuit inadvertently registers an unpressed fourth key (a ghost) or refuses to register the third key.
What is N-Key Rollover (NKRO)?
N-Key Rollover means your keyboard can register every single key pressed at the exact same moment. Modern gaming keyboards use an isolation diode for every switch, allowing unlimited simultaneous keypresses without dropped inputs.
Why do some keys like F5 or Alt+Tab act strangely in the test?
Certain keys trigger native operating system or browser functions. For instance, F5 refreshes the browser page, while Alt+Tab switches application windows. This test captures their keydown event before the browser executes the default action.
Does this keyboard test work on Mac keyboards?
Yes. It seamlessly maps Command (Cmd), Option, Control, and Mac-specific layout codes across macOS Safari, Chrome, and Firefox.

Related Hardware & Input Diagnostics

Cross-verify your peripherals with our full suite of local, private browser tests.

Last updated: October 25, 2026