Keyboard Tester

Find dead, sticky or ghosting keys in seconds. Press every key and watch it light up on a full-size keyboard with function row, navigation cluster and numpad.

Free, no sign-upRuns in your browserUpdated November 2026
Click the keyboard to start 0 / 104 keys tested
Last key pressed
event.key
—
event.code
—
keyCode
—
Location
—
Ghosting & rollover
Keys held now
0
Max at once
0
Hold several keys together. If one you are holding does not appear, your keyboard is blocking (ghosting) that combination.
Key presses are only shown on this page. Nothing you type is recorded, stored or sent anywhere.

How to use the Keyboard Tester

  1. Click the keyboard picture so the tester has focus (the border turns solid).
  2. Press each key on your keyboard. It lights up while held and stays green once it has been registered.
  3. Check the Last key pressed panel for the key, code and keyCode values — handy for developers and remapping tools.
  4. Hold several keys at once to test ghosting and rollover: every key you hold should appear in the list.
  5. Press Reset to start again. Click outside the keyboard to return to normal page scrolling.

How to test a keyboard online

This keyboard tester listens for the browser’s keydown and keyup events and matches each one to a key on a full-size ANSI (US) layout using event.code. That property describes the physical position of the key, not the character it types, so it works no matter which language or layout your operating system uses. A key turns blue while it is held and green once it has been registered. When the counter reaches 104 / 104, every key on a full-size keyboard has been confirmed.

Laptops and compact keyboards (75%, TKL, 65%, 60%) simply have fewer keys, so it is normal for the navigation cluster or numpad to stay grey. Keys that are not on the picture, such as media keys, a Fn-layer key or the extra ISO key next to left Shift, appear under “Other keys detected”.

What the key codes mean

PropertyExample (A key)Meaning
event.keya or AThe character or action produced, which depends on layout and modifiers.
event.codeKeyAThe physical key, independent of layout. Best for games and shortcuts.
keyCode65A legacy numeric code. Deprecated, but still used by older scripts.
locationStandardDistinguishes left/right Shift, Ctrl and Alt, and numpad keys.

Ghosting and n-key rollover explained

Most keyboards detect presses by scanning a grid (matrix) of rows and columns. When three keys at the corners of a rectangle in that grid are held, a cheap matrix can “see” a fourth key that was never pressed. That phantom press is called ghosting. To prevent it, many keyboards deliberately ignore the extra key instead, which is called blocking or jamming. Either way, some key combinations fail.

Rollover is the number of keys that can be held at once and still all register:

  • 2KRO — only two keys reliably, typical of budget office keyboards outside common combos such as Ctrl + Shift.
  • 6KRO — six normal keys plus modifiers. This is the limit of the standard USB “boot” keyboard report.
  • NKRO (n-key rollover) — every key independently, found on many mechanical and gaming keyboards.

To test it, hold the keys you actually use together, for example W + A + Shift + Space in a game, and watch the “Keys held now” list. If a key you are holding does not appear, that combination is blocked. “Max at once” shows the most keys registered at the same time during this session. Note that some operating systems and browsers have their own limits, and laptop keyboards commonly drop keys in certain clusters.

Keys a browser cannot always see

  • Fn is handled inside the keyboard and is never sent to the computer.
  • Print Screen on Windows often sends only a key-up event; the tester still counts it.
  • Windows/Command combos, Alt + Tab and some F-keys (F11 full screen, media keys) may be taken by the operating system first.
  • On macOS, keys pressed while Cmd is held may not send a key-up, so the tester clears held keys when you release Cmd.

While the tester has focus it blocks the browser’s default action for Tab, Space, arrows, Page Up/Down, Home/End, Backspace and F1–F12, so you can press them without scrolling the page or jumping elsewhere. Click outside the keyboard to return to normal behaviour.

Fixing keys that do not register

  • Clean under the keycap with compressed air; crumbs and dust are the most common cause of sticky or intermittent keys.
  • Test on another computer or port to tell a hardware fault from a driver or software problem.
  • Check remapping software (manufacturer utilities, AutoHotkey, Karabiner) that might swallow a key.
  • On mechanical keyboards with hot-swap sockets, re-seat or swap the switch; a bent pin often explains a dead key.
  • If one key repeats when held once, it may be chattering — a worn switch that reports several presses.

Once every key works, see how fast you can use them with the typing speed test, or test your mouse with the CPS test.

Frequently asked questions

How do I check if all my keyboard keys are working?
Click the on-screen keyboard and press every key once. Each working key turns green and the counter goes up. Any key that stays grey after pressing it is not being registered.
What is keyboard ghosting?
Ghosting is when a keyboard reports a key you did not press, or fails to register one you did, while several keys are held together. It comes from the way keys share wires in the keyboard matrix.
How do I test n-key rollover (NKRO)?
Hold as many keys as you can at the same time and watch the Keys held now list. On an NKRO keyboard every held key appears; a 6KRO keyboard stops at six normal keys plus modifiers.
Why does the Fn key not light up?
Fn is processed inside the keyboard to change what other keys send, so the computer and browser never receive an event for it. That is expected.
Does this keyboard tester record what I type?
No. Key presses are only displayed on this page and are never stored or sent anywhere. Reloading the page clears everything.
My keyboard uses a different layout. Will it work?
Yes. The tester uses physical key positions (event.code), so AZERTY, QWERTZ and other layouts light up the key in the same position on the ANSI picture.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.