Keyboard Tester
Press every key to check it registers — spot stuck, dead or ghosting keys on any keyboard, right in your browser.
Press any key and watch it light up — a fast way to check every key on your keyboard works. Free. No sign-up. Runs in your browser, nothing is uploaded.
Click here (or Tab into this box), then press keys. Needs a hardware keyboard.
Last key
Press any key…
- key
- —
- code
- —
- keyCode
- —
Click the test area and start pressing keys. Each key lights up while held and stays marked once tested, and a counter shows how many of the 78 drawn keys you have covered. The Last key panel shows the key, code and keyCode your browser receives, and Recently pressed keeps your last 14 presses so double fires and wrong characters stand out. Reset clears the marks for a fresh pass.
While the area is focused, Tab, Space, Backspace, Enter and the arrow keys are captured so the page does not scroll or jump. Press Escape twice quickly to give the keyboard back to the page.
A full check in two minutes
- Go row by row: Esc and F1–F12, the number row, the three letter rows, the modifiers on both sides, Space, the arrows. Pressing keys in order makes a missed one obvious on the layout.
- Check the counter. If it stops short of 78, the unmarked caps are the ones to look at.
- Test both Shift, Ctrl, Alt and Win/Cmd keys separately. The left and right versions have different codes (
ShiftLeft,ShiftRight), and a dead right Shift goes unnoticed for months. - Tap each key once, deliberately, and watch Recently pressed: one tap should give one entry.
- Hold a key for a second. It should stay lit while held and go dark the moment you let go.
Keys outside the drawn layout — numeric keypad, Insert, Home, Page Up, the extra key next to left Shift on European ISO keyboards — are listed under Other keys detected, so they can be tested too.
Diagnosing the four classic faults
| What you see | Likely fault | What to try |
|---|---|---|
| Cap never lights up, readout does not change | Dead key: switch, contact or the connection | Clean under the cap; on a laptop, gently remove debris; test on another computer |
| Cap stays lit after release | Stuck key or a sticky switch | Press it firmly a few times; remove the cap and clean it |
| One tap adds two entries to Recently pressed | Chatter: worn or dirty contacts bouncing | Clean the switch; on mechanical boards, replacing the switch is the lasting fix |
Cap lights up, but key shows the wrong character | Layout or remapping, not hardware | Check the keyboard language in your operating system and any remapping software |
The log ignores the automatic repeats a held key produces, so two entries from one tap really are two separate presses — a reliable sign of chatter.
key, code and keyCode: which tells you what
- code is the physical position, such as
KeyAorShiftLeft. It ignores your language layout, which is why the on-screen keyboard matches on it. - key is what that position produces right now:
a,Awith Shift,!for Shift + 1 on a US layout. On a German keyboard, the key at positionKeyYproducesz. - keyCode is an older numeric code, deprecated in web standards but still handy when you are comparing notes with legacy software or old documentation.
The practical rule: if code is right and key is wrong, the hardware is fine and the layout setting is not. If neither changes, the signal never arrived.
Keys a browser cannot see
Some presses never reach a web page, so their absence here is not a fault:
- Fn is usually handled inside the keyboard.
- Media and brightness keys are often taken by the operating system first.
- System and browser shortcuts such as the Windows key menu, Alt+Tab, or Ctrl+W may be acted on before the page sees them. Test the keys involved one at a time instead.
On a Mac, the Command keys appear as the Win caps (MetaLeft, MetaRight), and Option as Alt.
Rollover and ghosting, briefly
Key rollover is how many keys a keyboard can report at once. A board with 6-key rollover guarantees six simultaneous keys; N-key rollover (NKRO) means every key is independent. Ghosting is the older problem of a keyboard reporting a key you did not press because of how its wiring matrix works; most modern boards block that and simply drop the extra key instead.
To test rollover, hold down keys one after another — for example A, S, D, F, J, K, L — and see how many stay lit together. If some combinations drop keys that work fine alone, that is the keyboard's design, not damage. Once every key checks out, gamers often move on to the CPS Test or the APM Test to see how fast they can drive it.
Frequently asked questions
Related tools
All Tests & Trainer tools →- Reaction Time TestTest your reflexes — click the moment it turns green, beat your best time and challenge a friend.
- Online StopwatchFull-featured online stopwatch with laps — start, pause and record lap times with keyboard shortcuts, accurate to the centisecond.
- Online Timer — Countdown with AlarmSet a countdown in seconds — pick a preset like 5 or 25 (pomodoro) minutes or a custom time, and get a flash plus alarm beep when it hits zero.
