How to Test Your Keyboard for Dead, Stuck and Ghosting Keys

📄 6 min readUpdated November 18, 2026

Open the keyboard test on a laptop or desktop and press every key once. Each key that works turns green on the on-screen layout and the "Keys tested" counter goes up by one. A key that stays dark after a firm press is the one to chase. The rest of this guide helps you tell a broken key from a setting.

How do you test a keyboard online?

  1. Open the keyboard test and click once on the page.
  2. Press Reset test so the counter reads 0.
  3. Work along each row from left to right. Press each key once, on its own, without holding Shift.
  4. Look for gaps. Press any cap that's still dark again, slowly and firmly, three or four times.

Nothing you press is typed or sent anywhere. The page only reads which key the browser reports and paints the matching cap. It also stops Tab, Space, the arrows and the function keys from doing their usual job, so the page doesn't scroll away mid-test.

A full pass lights 78 caps and the counter stops at 74, because each left and right pair (Shift, Ctrl, Alt, Win) shares one entry.

Which keys does the test cover?

The layout is a US QWERTY board without a number pad. Here's what's on it, counted from the page itself.

Row on the test layoutKeysCount
Function rowEsc, F1 to F1213
Number rowBacktick, 1 to 0, minus, equals, Backspace14
Top letter rowTab, Q to P, both brackets, backslash14
Home rowCaps Lock, A to L, semicolon, apostrophe, Enter13
Bottom letter rowShift, Z to M, comma, period, slash, Shift12
Modifier rowCtrl, Win, Alt, Space, Alt, Win, Menu, Ctrl8
ArrowsLeft, Up, Down, Right4
Total78 caps, 74 on the counter78

Some keys aren't on the layout at all: Delete, Insert, Home, End, Page Up, Page Down, Print Screen, Scroll Lock, Pause and Fn. Test those in a document instead, such as the online notepad.

Three more things to know before you call a key dead:

The test follows your active keyboard layout, not the printing on the caps. MDN says the reported key value reflects "the keyboard locale and layout", so on a French AZERTY board the key where US keyboards have Q lights the A cap.

Why doesn't a key light up?

Decide first whether it's hardware or software. The quickest split is a second keyboard: plug one in and press the same key. If it lights, your computer and browser are fine and the first keyboard is at fault.

What you seeLikely causeWhat to check
Key never lights, here or in any other appThe key itself, or its connectionPlug in a second keyboard. If that one works, the first has a hardware fault
Quick taps are ignored, slow presses workFilter keys on Windows, or Slow Keys on a MacWindows: Settings > Accessibility > Keyboard. Mac: System Settings > Accessibility > Keyboard
Shift, Ctrl or Alt seems to stay heldSticky keys is on, or the key is physically stuckSame Accessibility > Keyboard screens. Then press and release the key a few times

Two Windows settings can make a healthy keyboard look faulty. Microsoft describes Filter keys as a switch that sets "the sensitivity of the keyboard so it can ignore brief or repeated keystrokes", so fast taps can vanish. Sticky keys lets you press a combination like Ctrl+S one key at a time, which feels like a modifier that won't let go. Both are under Start > Settings > Accessibility > Keyboard on Windows 11.

Macs have the same pair. Apple's Mac Help lists Sticky Keys and Slow Keys under Apple menu > System Settings > Accessibility > Keyboard. We took those Apple steps from search excerpts of Apple's help pages, because the pages themselves wouldn't load for us today.

Until it's repaired, you can type the missing letter with the on-screen keyboard. On Windows 11 that's the On-Screen Keyboard toggle on the same Accessibility > Keyboard screen, or Windows logo key + Ctrl + O.

What are key ghosting and rollover?

Rollover is how many keys a keyboard can report at once. A two-key rollover board reliably detects only two keys held together. An n-key rollover (NKRO) board detects every key no matter how many are down. Ghosting is the old failure where three held keys make a fourth, unpressed key appear. Modern keyboards block the third key instead.

USB adds a limit of its own. The USB HID specification defines a simple "boot" keyboard report, eight bytes long:

Byte in the reportWhat it carries
0Modifier keys, one bit each for eight keys
1Reserved
2 to 7Keycode 1 to Keycode 6: up to six ordinary keys held at that moment

That's where "6-key rollover" comes from: six ordinary keys plus the modifiers. The specification also says a keyboard's normal report doesn't have to match the boot one, which leaves room for boards that go past six.

To check rollover with the keyboard test, press Reset test, hold a group of keys down together, let go, and count the green caps. Stick to letters, Space and Shift, because Ctrl, Alt and Win combinations trigger browser shortcuts and Ctrl+W closes the tab. If you held six and five lit, try a different six before blaming the keyboard. We haven't tested specific models.

How do you spot a key that double-types?

A worn switch can send two presses for one tap. The test gives a hint: press a key that's already green and it flashes a lighter highlight for about a third of a second. Holding a character key down does the same, though, because the browser repeats the keystroke while it's held.

A text box is the better tool here. Open the notepad, tap the suspect key twenty times, and count the letters. You should get twenty. For keys that only misbehave at speed, a minute on the typing speed test shows doubled or dropped letters quickly.

What should you test after the keyboard?

If you're checking a used laptop, run the screen test next, then the microphone test. Our microphone guide covers the fixes.

Frequently Asked Questions

How do I test if all my keyboard keys are working?

Open the keyboard test, press Reset test, then press every key once without holding Shift. Working keys turn green. A full pass lights 78 key caps and the counter reads 74, because each left and right modifier pair counts once.

Why does the counter stop at 74 when I pressed every key?

The layout has 78 key caps but 74 separate entries. Left and right Shift share one, and so do the two Ctrl, Alt and Win keys. Pressing either key of a pair lights both caps.

Can I test the number pad, Delete or Print Screen keys?

Not properly. The layout has no number pad or navigation block, so Delete, Home, End and Print Screen light nothing. Number pad digits light the matching number-row key when Num Lock is on, which is only a rough check.

A key doesn't light up. Is my keyboard broken?

Not always. Press it on its own without Shift, check that Filter keys or Slow Keys isn't switched on, and try the same key on a second keyboard. If that one works, the first keyboard has a hardware fault.

What does 6-key rollover mean?

The keyboard can report six ordinary keys held at once, plus modifiers such as Shift and Ctrl. The figure comes from the basic USB keyboard report, which is eight bytes: one for modifiers, one reserved and six key codes.

Related Tools