Keyboard Key & Rollover Tester

Press any key to test for broken keys, key chatter, and N-key rollover (NKRO) in real time. Features live KeyCode metrics and mechanical switch sounds.

Tested: 0 / 87
Max Rollover: 0
event.key: -
event.code: -
event.keyCode: -
which: -
Pressed Tested OK Untested
Supports full N-Key Rollover (NKRO) testing
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/keyboard-tester" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/keyboard-tester" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Keyboard KeyCode & NKRO Rollover Tester</a></div>

Why Test Keyboard Keys & Anti-Ghosting Online?

Whether assembling a custom mechanical keyboard or inspecting for spilled liquid damage, mechanical switches can develop key chatter (double-typing) or dead contacts. Gaming and complex hotkey workflows also require N-Key Rollover (NKRO) without ghosting.

Key Metrics and Testing Tips

How the conversion runs

The tester listens for real key events on the page and paints each key as it is pressed, so what you see is the browser's own event stream rather than a simulated layout. playClickSound() synthesises a short click with the Web Audio API the first time sound is enabled — there is no audio file — and the counters track which keys have been exercised and which the browser reports as held down. Because it hooks keydown and keyup, it also shows when a key never sends its release event, which is the classic stuck-key symptom.

Edge cases and hard limits

The browser can only report what the operating system delivers: media keys, function-row combinations captured by the OS, and shortcuts owned by the browser never reach the page, so they will look broken here while working elsewhere. Anti-ghosting and N-key rollover are hardware properties — this page can show that a simultaneous press was dropped, but it cannot prove the keyboard is at fault rather than the OS. Testing a laptop's built-in keyboard is fine; testing a Bluetooth keyboard adds its own latency.

Privacy: processed in your browser

Key events are read by the page itself so it can paint the layout; no keystroke is logged, transmitted or persisted, and closing the tab discards every counter.

Frequently asked questions

A key shows nothing — is it broken?

Not necessarily. The OS or browser may be swallowing it. Test the same key in a plain text field to compare before blaming the hardware.

Can it measure NKRO or anti-ghosting?

It can reveal dropped simultaneous presses, but the cause could be the keyboard, the port or the OS. It cannot certify a specification.

Why does my function row not register?

Those keys are usually intercepted by the operating system for brightness, volume or media control before any browser sees them.