How does the keyboard test work?
Every key press sends your browser two messages, one when the key goes down and one when it comes back up, each
with a code that names the physical key by its position, not the letter printed on it. The key to the
right of Tab is KeyQ on English, French AZERTY and German QWERTZ boards alike, so the on-screen
keyboard lights the right cap whatever language your system is set to.
Auto-repeat messages from a held key are ignored, so they never count as extra presses.
Reading the results
Last key shows what the key typed, its code and its location. Location tells apart keys that appear twice: left and right Shift, Ctrl and Alt, and the number pad's digits and Enter.
Rollover is the largest number of keys the keyboard reported as held at the same moment. Press and hold keys one at a time and watch it climb. If it stops at six while you are holding more, the keyboard or its connection limits rollover to six; if a key you add never lights at all, you have found a blocked combination.
Chatter counts keys that sent a second press less than 30 milliseconds after the first. In a large Aalto University study of typing, the gap between two key presses almost never fell below about 60 milliseconds, so a press that arrives sooner is the switch bouncing: metal contacts that are worn or dirty bounce for longer than the keyboard's debouncing expects, and one press arrives as two. Optical and Hall effect switches have no touching contacts, which is why chatter is mostly a problem of mechanical switches.
Some keys stop at the operating system. Fn changes what other keys send inside the keyboard itself, and shortcuts such as Win+L, Alt+Tab, Ctrl+Alt+Delete or Cmd+Space are handled by Windows or macOS before the browser sees them. On macOS, keys pressed while Cmd is held often report no key-up, so the tester clears held keys when Cmd is released.
What are rollover, ghosting and NKRO?
Rollover is the number of keys a keyboard can read correctly at the same moment, and ghosting is what happens when it cannot. Cheap keyboards wire their keys in a grid; press three keys at three corners of a rectangle and the controller sees a phantom fourth, so it blocks the combination and one of your keys does nothing. Diodes on every switch remove the problem.
| Term | Meaning | What you notice |
|---|---|---|
| 2KRO | Any two keys at once are always read correctly | Some three-key combinations drop a key |
| 6KRO | Six keys plus the modifiers, the limit of the USB boot protocol | A seventh letter key is ignored |
| NKRO | Every key is read on its own, however many are held | No limit you will reach with ten fingers |
| Anti-ghosting | No phantom keys; may still block some combinations | Depends on the model; test the keys you use |
| Ghosting | A key you did not press is reported | Stray letters during fast combinations |
Source: Wikipedia, Key rollover; USB HID specification 1.11.
A board sold as NKRO may still show 6 here if it is in USB boot mode, often switched by a key combination in its manual. Rollover matters in normal typing too: the Aalto study of 168,960 typists found the next key was pressed before the last was released in about a quarter of all keystrokes.
How do you fix a key that does not work?
The pattern the tester shows narrows down the cause. If the fault only appears in games, try our mouse test and gamepad tester to rule out other controllers, and use our typing test afterward to check the repaired board feels right at speed.
| What you see | Likely cause | What to try |
|---|---|---|
| Key never lights | Dead switch, broken trace or a key the system intercepts | Test it on another computer; check Fn lock and remapping software |
| Red chatter mark | Bouncing or dirty switch contacts | Blow out dust; raise the debounce time in the keyboard software; replace the switch |
| Works only when pressed hard | Worn dome, debris or liquid residue | Remove the keycap and clean; on a laptop, check the scissor clips |
| Rollover stuck at 2 or 3 | No diodes; combination blocked to avoid ghosts | Pick keys on different rows for game bindings |
| Rollover stuck at 6 | Boot protocol or 6KRO mode | Switch the board to NKRO mode if it has one |
| Whole row or block dead | Damaged ribbon cable or matrix line | Reseat the cable; usually a repair job |
Unplug the keyboard, or shut the laptop down, before cleaning. After a spill, turn it upside down and let it dry fully before testing again.
Common questions
Does this record what I type?
No. The page keeps only which keys have been pressed, in this tab's memory, and does not upload them; the site does count page views.
Why does pressing Alt Gr light Ctrl as well?
On Windows, Alt Gr is reported as right Alt plus left Ctrl, a quirk of how the system handles that key. It is not a fault.
Why does Print Screen not turn dark?
Windows sends only the key-up message for Print Screen, so it is marked as working without ever showing as held.
Can I test a phone or tablet keyboard?
Only a physical one. On-screen keyboards on phones do not report key positions to web pages, so connect a USB or Bluetooth keyboard. To check how often a key repeats under fast tapping, try the spacebar counter.
Sources
- MDN Web Docs: KeyboardEvent.code
- MDN Web Docs: KeyboardEvent.location
- W3C: UI Events KeyboardEvent code values
- Wikipedia: Key rollover
- Wikipedia: Keyboard technology
- USB Implementers Forum: Device Class Definition for HID 1.11 (PDF)
- Dhakal, Feit, Kristensson and Oulasvirta: Observations on Typing from 136 Million Keystrokes (CHI 2018)
Last reviewed November 9, 2026.
Related tools