Keyboard Tester

Press keys and see which ones register, with a layout that stays lit so you can find the one that does not work.

Loading tool…

Key presses are handled inside this page and nothing is recorded, logged or sent anywhere. Nothing you type here is stored, including in a form field.

What the Keyboard Tester does

This keyboard tester will press keys and see which ones register, with a layout that stays lit so you can find the one that does not work. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for finding which key on a keyboard has stopped working. If you need the other side of this job, there is also a speech to text.

How to use it

  1. Click once anywhere on this page so it has keyboard focus.
  2. Press keys. Each one lights up as you press it and stays marked afterwards.
  3. Work across the board; anything still unmarked at the end is a key that never registered.
  4. Copy the report if you need it for a warranty claim or a repair shop.

How it works

Keys are identified by event.code rather than event.key, and that distinction is the whole reason this test is reliable. event.code names the physical key: the key in the QWERTY A position reports KeyA whether your layout is QWERTY, AZERTY or Dvorak, whether Shift is held, and whether Caps Lock is on. event.key reports the character produced, which changes with all of those. For testing whether a switch under a keycap works, the physical identity is the one that matters.

Keys stay marked after you release them, which is what makes the test usable. A dead key is found by pressing everything and looking for what is still unmarked, not by watching one key at a time. The report button lists exactly which keys never registered, which is the useful form of that information if you are sending the keyboard back.

Most keys have their default action suppressed while you are on this page, because otherwise Tab would move focus away, Ctrl+W would close the tab and the function keys would trigger browser features instead of registering. F5 and F12 are deliberately left alone so you can always reload and open developer tools.

A key that lights up here but does nothing in your applications is not a hardware fault — the switch is working and the browser is receiving it, so the problem is a shortcut conflict, a stuck modifier or a remapping somewhere in the operating system. A key that does not light up here almost certainly is hardware: a failed switch, debris under the cap, or a damaged ribbon connector.

When to use it

  • Finding which key on a keyboard has stopped working.
  • Checking a second-hand or newly bought keyboard before the return window closes.
  • Testing after cleaning a keyboard or replacing a keycap.
  • Confirming a key is reaching the browser when an application ignores it.

Common mistakes to avoid

  • Testing without clicking the page first, so the keyboard events go somewhere else entirely.
  • Assuming a key that works here but not in an app is broken. It is not — that is a software conflict.
  • Forgetting that media keys, numpad keys and layout-specific keys appear in the separate list rather than on the drawn layout.

Frequently asked questions

My key lights up here but does not work in my software. Is it broken?

No. If it registers here, the switch, the cable and the driver are all fine. The problem is in the application — a shortcut conflict, a stuck modifier key or a remapping. Check for software that has claimed that combination.

Why are some of my keys not on the layout?

The drawn board is a standard compact layout. Numpad keys, media keys, fn combinations and layout-specific keys still register and appear in the separate list below, which is the honest way to show them without drawing every keyboard variant ever made.

Does this test key rollover or ghosting?

Not directly, but you can check it: hold several keys at once and see how many register together. Cheaper membrane keyboards typically stop at two or three simultaneous keys, which is what "ghosting" describes.

Related tools

See all device & media tools →