Social media growth services from EthicalSMM

Keyboard Tester

Press keys to see each one light up on an on-screen keyboard and turn green once it works, with key codes, a rollover count and a number pad.

Last key pressed

Press Start, then press keys. Each key lights up while held and turns green once it has worked.

Rollover and extras

Keys held right now
Most keys held at once
Key presses counted
Other keys seen:

Was this tool helpful?

Thanks for the feedback!

This keyboard tester shows an on-screen keyboard that lights up as you press each key and turns it green once it has worked, so a dead key stands out at a glance. It also shows the codes the browser receives and counts how many keys you can hold at once. Use it after a tea spill, before buying a second-hand laptop or when a new mechanical keyboard arrives.

How to use it

  1. Press Start testing, or click anywhere on the keyboard drawing. A coloured ring round it shows the tester is listening.
  2. Press keys one by one. A key takes the accent colour while held and stays green after you let go. The counter reads, for example, "12 of 87 keys tested".
  3. On wider screens, tick Show number pad to add the number pad, and the total becomes 104. It is ticked by default on screens at least 1280 pixels wide.
  4. Press Pause testing when you need to type elsewhere, and Reset to clear every key.

The drawing follows the US-style (ANSI) layout, with Esc and F1 to F12 on top and the Print Screen, Insert and arrow keys to the right. Keys not on the drawing, such as the extra key beside left Shift on UK-style keyboards (reported as IntlBackslash) or media keys, are listed under Other keys seen. On a Mac, Cmd lights up the keys marked Win.

Reading the key details

The Last key pressed panel shows four values:

  • key: the character or name the key produces with your layout and modifiers, such as a, A or Enter.
  • code: the physical position, such as KeyA or ShiftLeft. The drawing is lit from this value, so on a French AZERTY keyboard the key printed A lights up the Q position.
  • keyCode (legacy): the older numeric code some scripts and games still use, for example 65 for A and 16 for Shift.
  • location: Standard, Left, Right or Number pad, with "auto-repeat" added while a held key repeats.

Example: on Windows with Num Lock off, pressing 1 on the number pad gives key End, code Numpad1, keyCode 35 and location Number pad.

Rollover and ghosting

Most keys held at once records the largest number of keys that were down together. To check rollover, hold keys one after another, for example W, A, Shift and Space for a game, and watch Keys held right now. If a key you add does not light up while the others are held, the keyboard did not send it.

Most keyboards read their keys through a grid of wires. Without a diode on each switch, pressing three keys at three corners of a rectangle in that grid can make the controller think the fourth corner is pressed too. That phantom key is called ghosting. To avoid typing wrong characters, many keyboards block such combinations instead, so the extra key you press simply does not register. That is what a tester usually shows: a missing key rather than an extra one. A key lighting up that you never touched is true ghosting.

N-key rollover (NKRO) means every key is read on its own, however many are held. Keyboards using the standard USB boot report can send six ordinary keys plus the modifiers (Ctrl, Shift, Alt, Win) at once, which is where "6-key rollover" comes from. Some keyboards offer NKRO only in a particular mode, so check the manual. The count here also depends on your operating system, the connection and the browser, and on exactly which keys you hold. Treat it as a practical check of the combinations you use, not a lab measurement.

Keys a web page cannot see

  • Fn is handled inside the keyboard and never reaches the computer as a key. Fn combinations arrive as whatever they produce, such as Home, PageUp or a media key.
  • The browser acts on F5 (reload), F11 (full screen), F12 (developer tools) and Ctrl or Cmd with R, W, T, N, L or Q. Test these last: F5 reloads the page and clears your progress, and Ctrl+W closes the tab.
  • The system keeps shortcuts such as Alt+Tab, Win+L and Ctrl+Alt+Delete. If Win opens the Start menu and the page loses focus, the tester clears the keys it thought were held.
  • Print Screen often sends only a key-up to the page on Windows. The tester still marks it as tested.
  • On a Mac, keys released while Cmd is held may not send a key-up, so they can look stuck until you press Reset.

If a key fails here and also in a plain text editor, clean under it or try the keyboard on another computer before replacing it. Once everything works, practise on the Typing Speed Test, or check your mouse with the Click Speed Test.

Frequently asked questions

How do I test if all my keyboard keys are working?
Press Start testing, then press every key once and watch the counter climb towards 87, or 104 with the number pad shown. Any key that stays grey has not sent a signal to the computer.
What is key ghosting on a keyboard?
Ghosting is when pressing certain three-key combinations makes the keyboard report a fourth key you did not press, because of how its wiring grid works. Many keyboards prevent it by blocking the combination, so in practice you more often see a key that fails to register.
How can I check if my keyboard has N-key rollover?
Hold down more and more keys and watch Most keys held at once. If it stops rising at six ordinary keys plus modifiers, the keyboard is probably using the standard 6-key USB report, though your system and browser can also limit the count.
Why does the Fn key not show in the keyboard tester?
Fn is processed inside the keyboard itself and is never sent to the computer as a key. Only the result of an Fn combination, such as Home or a volume key, reaches the page.
Why did the page reload when I pressed F5 in the keyboard test?
The browser keeps F5 for reloading, along with F11, F12 and shortcuts like Ctrl+R and Ctrl+W, so the tester lets them through. Test those keys last so you do not lose the keys already marked green.
Why do my number pad keys move the cursor instead of typing numbers?
Num Lock is off. On Windows the number pad then sends keys like End, Down and PageDown, which the tester shows in the key field while the code still reads Numpad1, Numpad2 and so on.

Related guides

Related tools

People also used

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.