Keyboard Tester
Press every key and watch the board. A key that never lights up either has a dead switch or never reaches the browser, and the checks below tell the two apart.
- Click inside the dashed box so the page receives your key presses. The browser shortcuts for most keys are blocked while the box has focus.
- Press each key once. A key turns blue while held and green after it was pressed.
- Read the line "Not pressed yet" to see which keys are left. A key that never turns green and is not a special key may be faulty.
- Hold several keys together, for example W, A, S and Space, and check "Most keys held at once".
Reading the board
| Status | You see | What it means |
|---|---|---|
| Healthy | The key lights while held and stays marked afterwards | The switch, the matrix and the cable or radio link all work for that key. |
| Fault | Nothing lights on press, and the "Last key" line does not change | The key event never arrived. A dead switch, debris under the cap or a worn contact are the usual causes, but see the reserved keys below before you open the keyboard. |
| Check | Last key shows the wrong code for the key you pressed | The code is physical position. A remapped layout, a remapping tool or a firmware layer can change what a key sends. |
| Check | Holding many keys, "most held at once" stops growing | Many plain keyboards cannot report every combination at once. A basic USB boot-protocol keyboard reports six non-modifier keys at most. Gaming keyboards report more. |
| Reference | Keys that are not on the board image | The numpad is not tracked. If you press one, its code is still printed in the Last key line. |
Why the board follows e.code, not e.key
Every key event carries two names. e.key is the character the key produces under the current layout, so it changes between QWERTY, AZERTY and a Vietnamese input method. e.code names the physical position, such as KeyQ or Digit1, and stays the same. A test of hardware has to follow the second one, so the board is drawn from a fixed table of codes.
That table holds 87 keys (function row, main block, navigation cluster and arrows). The coverage figure is the number of distinct codes pressed at least once, divided by that total, rounded to one decimal place. Auto-repeat events are ignored, so holding a key does not count as extra presses.
Inside the board the page calls preventDefault on key down and key up. Without it, Tab would move focus away, Backspace could navigate, and the space bar would scroll the page. A blur event releases every held key so a key you were holding when you switched windows does not stay stuck on screen.
Some combinations never reach a web page at all: the operating system or the browser consumes them first (for example Alt+Tab, Ctrl+W, and on many laptops the Fn key itself). Treat a missing reserved key as untestable here, not as broken.
The page sees only what the browser delivers. It cannot see keys the operating system keeps, it does not measure how fast a switch bounces or how long it lasts, and a key that registers once is not proved to register every time.
Why does a key I can type with show no reaction?
Check that the board has focus (click it once). Then look at the Last key line: if it changes but the key stays dark, the code is not in the table, for example a numpad key.
Does this prove a key is not chattering (double typing)?
No. A chattering switch sends two presses for one push. Press the key slowly a few times and watch whether the Keys tested counter moves; only a typing tool that shows repeated characters would reveal chatter reliably.
- Mouse Button TestSame idea for the buttons and wheel of the pointing device.
- Mouse Polling Rate TestMeasure how often a mouse reports, which a key test does not cover.