Quick access

Saved in this browser. Sign in to keep it on all your devices.

Keyboard Test

Press every key to check it works: each key lights up while held and turns green once tested. See how many keys register at once (rollover), spot keys that type twice (chatter), and read each key’s code.

Keys tested

0 of 104

Most keys at once

0

Key capture is off, so the page scrolls and shortcuts work as usual. Tick “Capture keys” to carry on testing.

While capturing, keys like Space, Tab and F5 are held back so they don’t scroll or reload the page. A few shortcuts, such as Ctrl+W or the Windows key, are kept by the system and can’t be stopped.

Key events

Press a key to see its details.

EventkeycodekeyCodeLocation

Problems found

No double presses so far. Keys that type twice from one press turn amber here.

Possible chatter: these keys sent a second press within 30 ms of being released.

Other keys pressed

Media, language and extra keys that aren’t on the drawing.

Rollover check

Hold down as many keys as you can, such as A S D F J K L. Basic keyboards stop at 2 to 6 keys; gaming keyboards with “n-key rollover” count every key. If a key you hold doesn’t light up, your keyboard blocks that combination (ghosting).

Next, check your typing speed with the Typing Test, or test your microphone and webcam.

Version 1.1 Updated What's new

Release notes

  1. v1.1 Latest
    • Added an in-depth guide below the tool, written from what the tool actually does.

About the Keyboard Test

The keyboard tester draws a full-size keyboard that lights up as you press each key and turns green once a key works, so dead keys stand out. It counts how many keys register at once (rollover), flags keys that send two presses from one (chatter), and lists each key’s key, code and keyCode for developers. Nothing you type is sent anywhere.

How to use it

  1. 1 Press each key on your keyboard; it lights blue while held and turns green once tested.
  2. 2 Keys that stay grey after pressing them may be broken.
  3. 3 Hold several keys together to see the most your keyboard registers at once.
  4. 4 Read the key events list for each key’s key, code and keyCode values.

Frequently asked questions

How do I know if a key is broken?

Press it firmly. A working key lights up blue and then stays green. If it stays grey, the keyboard didn’t send anything: try cleaning under the key, another USB port, or, for wireless keyboards, new batteries. If it works only sometimes, the switch is wearing out.

What is key chatter?

Chatter is when one press types a letter twice, usually from a worn or dirty mechanical switch. The test flags a key in amber when it sends a new press within 30 milliseconds of being released, faster than anyone can press it on purpose.

What is key rollover and ghosting?

Rollover is how many keys a keyboard can register at once. Cheap keyboards may stop at 2 or 3 and miss, or “ghost”, certain combinations. Gaming keyboards often have n-key rollover, which registers every key. Hold several keys to find your limit.

Why don’t the Fn or Windows keys show?

The Fn key is handled inside the keyboard and never reaches the computer, so no website can see it; test it by pressing Fn with another key. The Windows key and some shortcuts, such as Ctrl+W or Alt+Tab, are caught by the system before the browser.

Why does Print Screen light up only when released?

Windows sends only a key-up for Print Screen, so the key counts as tested when you let go.

Can I test a laptop or non-US keyboard?

Yes. Keys are matched by their position, not the letter printed on them, so French, German and other layouts light up the same places. Untick “Number pad” for a laptop or tenkeyless keyboard, and tick “Mac keys” for Command and Option labels.

Testing a laptop or Chromebook keyboard

Untick Number pad so the layout matches a laptop, then work along each row from Esc to the arrow keys. On a laptop, the number keys along the top often share a key with F1 to F12; if pressing F5 changes the brightness instead of lighting the key, hold Fn or switch the function lock and try again. Chromebooks have a Search key where Caps Lock usually sits, and it shows up here as a Meta key. If a whole row or block stops responding together, the cable inside the laptop is more likely at fault than the keys.

Ghosting and rollover in games

Most keyboards wire their keys in a grid. When three keys at the corners of a rectangle in that grid are held, a cheap keyboard can see a fourth one that you never pressed, which is called ghosting. To avoid it, makers block some combinations, so a fourth key just doesn’t register. Gamers notice this as a jump that fails while running diagonally. Hold W, A, Shift and Space together, then add the keys you use most, and watch the counter: if it stops at three or four, those combinations may drop in a game.

Keys that repeat, stick or skip

  • Typing a letter twice: the test marks the key amber. Blow out dust with compressed air; on a mechanical keyboard, a switch that keeps chattering may need replacing.
  • Sticky after a spill: unplug the keyboard and clean under the keycap with a little isopropyl alcohol on a cotton bud, then let it dry fully.
  • Wrong character appears: the layout set in the system, such as UK instead of US, is different from the keys printed on the keyboard. This test shows the physical key, so you can tell a layout problem from a broken key.
  • Some keys work only on battery power: low batteries in a wireless keyboard often drop single presses first.

Can a website measure keyboard latency?

Not accurately. A keyboard reports to the computer at a fixed rate, every 8 ms at 125 Hz for most office keyboards and every 1 ms at 1,000 Hz for many gaming ones, and the system and browser add their own delay before a page sees the press. A web page sees only the end of that chain. To compare keyboards, use the key events list to check that each press and release arrives once, and leave latency numbers to hardware testers.