UtilityBase logoUtilityBase

Device Tests

Keyboard Tester

Press any key to see it light up — find dead keys and check key codes.

Updated June 1, 2026

How to use the keyboard tester

  1. 1Click anywhere on the page so it receives keyboard input.
  2. 2Press each key — it highlights on the visual keyboard and stays marked as tested.
  3. 3Watch the readout for the key value, code, and keyCode of the last press.
  4. 4Hold several keys together to test rollover/anti-ghosting.
  5. 5Click Reset to clear all tested keys and start over.

Common uses

  • Find dead or intermittent keys before repairing or returning a keyboard.
  • Verify a used or secondhand keyboard before buying.
  • Look up JavaScript key and code values while programming shortcuts.
  • Check n-key rollover for gaming keyboards.

Frequently asked questions

A key lights up on screen but types the wrong character. Is it broken?

Probably not — that's usually a keyboard layout mismatch. The tester highlights keys by their physical position (event code), which stays correct even if your OS layout (e.g., QWERTZ or AZERTY) maps the key to a different character.

Why don't some keys respond in the browser?

A few system keys are captured by the operating system or browser before web pages see them — for example the Windows/Command key combinations, Fn, and some media keys. Their absence in the tester doesn't mean the key is broken.

How do I test anti-ghosting?

Hold down several keys at once — for example WASD plus Space and Shift. Every held key should stay highlighted simultaneously. Keys that drop out indicate the keyboard's rollover limit.

Can I use this on a phone?

The visual tester needs a physical keyboard. On phones and tablets it works with an attached Bluetooth or USB keyboard; on-screen keyboards don't send standard key events for every key.

About this tool

The keyboard tester shows a visual keyboard that lights up as you press physical keys, so you can sweep the whole board and instantly spot keys that don't register. Every keypress also displays its key value, event code, and legacy keyCode — useful for developers wiring up shortcuts and for gamers verifying anti-ghosting by holding multiple keys at once. Tested keys stay marked so you can track coverage, and a reset button clears the board for another pass. The tool listens to keyboard events locally; nothing you type is sent anywhere.

Like everything on UtilityBase, the keyboard tester runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more device tests here.

Was this tool helpful?

Related tools