Keyboard Tester – Test Every Key Online

Test your keyboard online: press each key and see it light up on a Windows, Mac or Linux layout. Find dead, stuck or ghosting keys on any laptop or desktop.

Press any key to start. Keys you've tested turn green; keys held down right now are blue.

0 / 104 keys tested
EscF1F2F3F4F5F6F7F8F9F10F11F12
`1234567890-=Backspace
TabQWERTYUIOP[]\
Caps LockASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift
CtrlWinAltSpaceAltWinMenuCtrl
PrtScScrLkPause
InsHomePgUp
DelEndPgDn
↑
←↓→
Num/*-
789+
456
123Enter
0.

Keys with a dashed outline, like fn, never reach web pages, so they can't be tested here: that's not a fault. On ISO keyboards the symbols printed on your keys may differ; what matters is the position.

—event.key
—event.code
—keyCode
—Location

Keys held now: none

How to use the keyboard tester

  1. Click anywhere on this page so it receives your key presses.
  2. Press every key once, including function keys, arrows and the number pad.
  3. Keys that work turn green. Look for any that stay grey: those keys aren't registering.
  4. Hold combinations of keys to test ghosting and see each key's code for programming.

The tester recognizes keys by their physical position, so it works whatever your keyboard language (QWERTY, AZERTY, QWERTZ, Dvorak and others). Use the Windows / Mac / Linux switch to match your keyboard. The picture shows a full-size US keyboard; laptops and compact keyboards simply don't have some of the keys.

Fixing keys that don't work

  • Several keys dead: try another USB port or fresh batteries, and reconnect Bluetooth keyboards.
  • One key dead or sticky: turn the keyboard over and shake it, use compressed air, or gently remove the keycap and clean underneath.
  • Wrong characters: if the green key is right but a different character appears, your system keyboard language is set wrong.
  • Function keys only work with Fn: look for an "Fn lock" key or a setting in your laptop's BIOS or keyboard software.

Frequently asked questions

How do I test my keyboard?

Click on the page so it has focus, then press every key once. Each key that works turns green on the keyboard picture. Any key that stays grey after you've pressed it isn't sending a signal.

What does a key that stays lit mean?

A key that stays highlighted after you let go is stuck: the computer still thinks it's held down. Usually dirt or a sticky switch is to blame; cleaning under the keycap often fixes it.

How do I check for keyboard ghosting?

Hold several keys at once (for example W, A, S, D and Space for gaming). The "Keys held now" line shows every key the computer sees. If one you're holding is missing, your keyboard can't register that combination, which is called ghosting or limited key rollover.

Why don't some keys register?

Some keys are handled by the operating system before a web page can see them: Fn, Print Screen on some systems, the Windows key combined with others, and laptop media keys. Those aren't faults. Function keys may need Fn held down on laptops. On a Mac, fn and the media keys never reach web pages.

Does it work with Mac and Linux keyboards?

Yes. Switch the picture to Mac to see command, option and control in their Mac positions, F13–F15 and the number pad's clear and = keys, or to Linux for the Super key. The switch starts on the kind of computer you're using.

My keyboard is smaller, or European. Does that matter?

Pick your keyboard's size (full, tenkeyless, 75%, 65% or 60%) and shape. ANSI keyboards, common in the US, have a wide Enter key; ISO keyboards, used in most of Europe and Latin America, have a tall Enter and an extra key next to left Shift (Brazil's ABNT2 works like ISO). Keys your board reaches only through fn, such as F1 on a 60% board, aren't drawn. The choice starts on the most common shape for your browser's language.

Related tools