Keyboard Tester

Click the keyboard below, then press every key on your physical keyboard. Each key lights up while you hold it and stays marked once it has worked, so dead or unresponsive keys are easy to spot. You also see the key name, its code and keyCode, auto-repeat and which keys are held at the same time.

Click the keyboard to start the test.

While the keyboard is focused, Tab, Space, arrows and F-keys are captured instead of scrolling the page. Press Esc twice quickly or click outside to release it.

–Last key (key)
–event.code
–keyCode
0 / 0Keys tested
Held right now
No keys held
Auto-repeat: – Location: –

Ghosting check: hold several keys together (for example A + S + D + F, or Shift + W + A). If one of them does not light up while the others are held, your keyboard has reached its rollover limit for that combination.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Rate this tool

Be the first to rate this tool

How to use the Keyboard Tester

  1. Click or tap the on-screen keyboard so it has focus.
  2. Press each key on your keyboard one at a time and watch it light up.
  3. Keys that worked stay marked green; any key that never lights up needs a closer look.
  4. Hold several keys together to check for ghosting or rollover limits.
  5. Press Reset test to clear the marks and start again.

How this keyboard tester works

When you press a key, your browser receives a keyboard event that names the physical key that was pressed (its code, such as KeyA or NumpadEnter), the character or action it produces (its key), and an older numeric keyCode. This tool matches the code to a full-size US ANSI layout with function row, navigation cluster and numeric keypad. A key turns blue while it is held down and green once it has been registered at least once, so after a full pass every working key is green and any problem key stands out. Because the test uses physical key codes, it works the same whatever keyboard language you have set in your operating system.

Finding dead, stuck and chattering keys

  • Dead key: the key never lights up. Try pressing it harder or at the edge. If it still fails, debris under the keycap or a worn switch is the usual cause.
  • Stuck key: the key stays blue after you let go, or appears under “Held right now” when you are not touching it. A sticky switch or a spill is a common reason.
  • Unwanted auto-repeat: “Auto-repeat: yes” appears only when you hold a key down. If you see it on a quick tap, the key may be chattering, which is a common fault on worn mechanical switches.
  • Wrong key: if pressing one key lights up a different one, check your keyboard layout setting or for a remapping tool running in the background.

Ghosting and key rollover

Many keyboards cannot report every combination of keys pressed at once. When too many keys are held, extra presses are dropped (blocking) or, on older designs, a key you did not press is reported (ghosting). The number of keys that always register together is called key rollover. Gamers usually care about combinations like W + A + Shift + Space. Hold the keys you actually use together and watch the “Held right now” list: every key you hold should appear there. Office keyboards often handle two or three keys reliably, while many gaming keyboards advertise six-key or n-key rollover.

Keys a browser cannot always see

Some keys are handled by your operating system or keyboard hardware before the browser gets them. The Fn key on laptops, media and brightness keys, and some vendor keys usually never reach a web page. Print Screen may only send a key release on Windows, and shortcuts such as Alt + Tab or the Windows key may switch apps. The browser can also keep keys like F11 or Ctrl + W for itself. Keys outside the drawn layout, such as an extra key on international keyboards, are listed under “Other keys detected.” To test other hardware, try the click speed test for your mouse or the mic test for your microphone.

Examples

  • Press A → key “a”, code KeyA, keyCode 65
  • Press Enter on the number pad → key “Enter”, code NumpadEnter, keyCode 13
  • Press Left Shift → key “Shift”, code ShiftLeft, keyCode 16, location Left
  • Hold J → “Auto-repeat: yes” after a short delay

Keyboard Tester FAQ

Why does a key not light up?

First make sure the on-screen keyboard has focus and you are not typing in another box. If one key still never lights up, it is likely faulty, blocked by debris, or handled by your system before the browser sees it, as with the Fn key.

What is the difference between key, code and keyCode?

key is the character or action, which depends on your layout and Shift. code names the physical key position, such as KeyQ. keyCode is an older numeric value that many apps still use.

Does it work with laptop and wireless keyboards?

Yes. Any keyboard your computer recognizes works, including laptop, Bluetooth and USB keyboards. Keys that do not exist on your keyboard simply stay unmarked.

Can I test my keyboard on a phone or tablet?

You can test a physical keyboard connected to a phone or tablet. On-screen touch keyboards usually do not send physical key codes, so they are not a reliable test.

Is anything I type recorded?

No. Key presses are only shown on this page and are never stored or sent anywhere.

Related tools

All Device Tests