Keyboard Key Tester

Test your keyboard keys interactively. Press any key to see it light up on a visual keyboard layout. 100% free, private, and browser-based — no sign-up.

} > {k} ))} ); return ( Keyboard Key Tester

Press any key on your physical keyboard to see it highlighted on the on-screen layout.

Last detected: {lastKey || "—"} { setPressed(new Set()); setLastKey(""); }}> Reset {renderRow(ROW1)} {renderRow(ROW2)} {renderRow(ROW3)} {renderRow(ROW4)} {renderRow(ROW5)} {renderRow(ROW6)}

Press keys on your physical keyboard to test them.

Who Is This For?

  • Users suspecting faulty keys
  • Buyers testing second-hand keyboards
  • Gamers verifying key rollover

Common Uses

  • Detect stuck or dead keys
  • Test modifier key combinations
  • Verify keyboard layout alignment

Frequently Asked Questions

Is this processed locally?

Yes. Keystrokes are captured by the browser and never leave your device.

Can I test a laptop keyboard?

Yes — just start typing on the built-in keyboard.

Why does a key not light up?

Some system keys (like power or sleep) are intercepted by the OS before the browser sees them.

About Keyboard Key Tester

Whether you just bought a mechanical keyboard, are trying a vintage board, or suspect a key is misbehaving, this tester captures every key event your browser receives and shows you the key name, code, and modifier state in real time.

Detecting Stuck or Dead Keys

Testing N-Key Rollover (NKRO)

JavaScript Key Codes Explained

for text input." }} />

More Frequently Asked Questions

Are my keystrokes recorded?

No. Everything happens in your browser, nothing is logged.

Why does my Meta/Windows key not register?

Some operating systems intercept it before the browser sees it. That is expected.

Can it detect ghosting?

Yes — hold multiple keys at once. If one drops out, your keyboard ghosts.

What is the difference between key and code?

is the physical location. They differ on non-US layouts.

Does it work for laptop keyboards?

Yes — any keyboard the OS recognizes.