Press any key to see its name, keyCode, code and modifier state
A keyboard tester lets you verify that every key on your keyboard registers correctly in the browser. When you press a key, the tool highlights it on an on-screen keyboard layout and shows the key code, key name, and any modifier states (Shift, Ctrl, Alt, Meta). This is essential for diagnosing sticky keys, unregistered keypresses, or inconsistent behaviour after cleaning, water damage, or firmware updates.
Keyboard testers are also useful for developers and gamers. Developers use them to understand JavaScript KeyboardEvent properties — `key`, `code`, `keyCode`, `which`, and modifier flags — to write correct event handlers. Gamers use them to test n-key rollover (NKRO) and anti-ghosting: whether multiple simultaneous keypresses all register correctly, which matters for fast-paced gameplay.
`key` is the logical key value — "A" for the A key, "Shift" for the shift key, "Enter" for enter. It changes with modifier keys: Shift+A gives "A". `code` is the physical key location — "KeyA", "ShiftLeft", "Enter" — regardless of what character it produces. For layout-independent shortcuts (WASD gaming), use `code`. For text input, use `key`.
Operating systems and browsers intercept certain combinations before JavaScript sees them. Ctrl+W closes the browser tab; Alt+F4 closes the window; Ctrl+Alt+Del is reserved by the OS. These keys cannot be captured in a browser-based tester.
Ghosting occurs when a keyboard fails to report a keypress because too many other keys are held down simultaneously. Budget keyboards typically support 3–6 keys at once; mechanical and gaming keyboards advertise NKRO (n-key rollover), meaning any number of simultaneous keypresses all register correctly.
Yes. The keyboard tester works at the browser level, receiving KeyboardEvent objects from whatever input device the OS forwards. It doesn't matter if the keyboard is wired, wireless, or Bluetooth — as long as the OS sees the keypress and routes it to the browser, the tester will catch it.
Password Generator · QR Code Generator · Stopwatch · Countdown Timer · Calculator · Random Number Generator