This keyboard tester shows which keys on your keyboard work, live, on an on-screen layout. Click the test area and press each key: it also shows the key code, how many keys you can hold at once (rollover) and whether a gaming combo gets blocked or ghosted.

Click here (or Tab to it) to start the keyboard test.

Held nowTested, worksNot pressed yet

0Keys held now
0Most keys at once
0Most at once (no Shift/Ctrl/Alt/Win)
0 / 0Keys tested

Last key pressed

key
–
code
–
location
–
repeat
–
auto-repeats
0

Held right now: none

Rollover and ghosting check

Untested keys on this layout (0)

Event log and extra keys

Keys outside the drawn layout: none

How to use the keyboard tester

  1. Pick your layout: full size, tenkeyless (TKL) or compact. On a phone-sized screen the tool starts in TKL.
  2. Click the dashed test area (or Tab to it). The border turns solid blue when the keyboard tester is listening. While it is focused, keys like Space and Tab do not scroll or jump the page.
  3. Press every key once. A key turns blue while you hold it and stays green after it works. The bar under “Keys tested” fills up, and the “Untested keys” list tells you exactly what is left.
  4. Run the combo check. Choose a combo such as W + A + S + D + Shift + Space, hold all of its keys together and read the message: every key lit means no blocking on that combo.
  5. Press Esc to leave the test area, or use Reset test to start again.

How the keyboard tester works

Your browser fires a keydown event when a key goes down and a keyup event when it comes back up. The tool reads four values from each event, all defined in the web standards:

  • code: the physical key, for example KeyW or ShiftLeft. It stays the same on QWERTY, QWERTZ or AZERTY layouts, which is why the on-screen keyboard is drawn from it.
  • key: the character or action that key produces with your current layout and modifiers, such as w, W or Enter.
  • location: 0 for a normal key, 1 for the left copy of a key such as left Shift, 2 for the right copy, and 3 for the numeric keypad.
  • repeat: true when a held key is auto-repeating. Repeats are counted separately so they never inflate your results.

Tested = keys with at least one keydown · Held now = keys that went down and have not come back up · Most keys at once = the highest “held now” count during the test (also shown without Shift, Ctrl, Alt and Win)

Nothing is sent anywhere: the whole test runs in your browser tab.

What your result means

What you seeLikely meaningWhat to try
A key never lights upThe key, its switch or its connection is faulty, or the system grabs it first (see Limits)Clean under the keycap, try another USB port or computer, then retest
A key lights up but the wrong letter appears in your appsThe keyboard is fine; the layout setting in your system is differentCompare code and key in the panel, then check your language/layout setting
One press shows two keydowns in the logKey chatter (double typing), usually a worn or dirty switchConfirm it with a double-typing test, then clean or replace the switch
“Most at once” (no modifiers) stops at 66-key rollover, common on USB keyboardsFine for most games; look for an NKRO mode in the keyboard’s software or manual if you need more
Some combo keys stay dark while you hold them allBlocking: the keyboard ignores keys that could cause ghostingRebind the game action to keys that register together
A key you did not press lights upGhosting from the key matrixAvoid that combo; a keyboard with full rollover does not ghost

Rollover, blocking and ghosting explained

Key rollover is how many keys a keyboard can register at the same time. N-key rollover (NKRO) means any number and combination of keys register correctly. 6KRO describes a keyboard limited by the compatibility version of USB keyboard reporting: six regular keys plus any combination of the modifiers Shift, Control, Alt and Windows/Command. 2KRO guarantees any two keys, while some combinations of three or more fail. How often those USB reports are sent is the polling rate, explained in what keyboard polling rate is.

Keys sit in a grid of rows and columns. Without a diode on each switch, pressing three keys at the corners of a rectangle can make the controller read a fourth key that you never touched: that is ghosting. Many keyboards prevent it with blocking instead, simply ignoring the risky key. That is why the combo check reports both missing keys and unexpected extra keys.

Limits of an online keyboard test

  • Fn is invisible. It is a hardware key that normally does not create its own key code, so no browser keyboard tester can show it. Test it through what it does, such as Fn + F-key media actions.
  • System shortcuts may never reach the page. Your operating system or browser can act on some combinations, such as switching windows, before the page sees them.
  • Caps Lock on a Mac only sends a keydown event, so the tool flashes it briefly instead of showing it as held.
  • It shows what the computer receives. A result limited by the keyboard’s USB mode looks the same as a limit in its wiring.

Want to go further? Measure how quickly your keystrokes register with the keyboard latency test, check how often your keyboard reports with the keyboard polling rate tester, or see how many actions you manage per minute with the APM test. To see how fast you actually type on it, take the typing speed test for your WPM and accuracy.

Frequently Asked Questions

How do I test my keyboard online?

Open a keyboard tester, click its test area and press every key once. Keys that light up work; any key that stays dark needs a closer look. Then hold several keys together to check rollover and ghosting. To measure how fast you can press a single key, try the spacebar test.

How do I know if my keyboard has N-key rollover?

Hold as many regular keys as you can at the same time and watch “Most at once (no Shift/Ctrl/Alt/Win)”. If it climbs past 6, your keyboard reports more than six keys together; if it always stops at 6, it is running in 6-key rollover.

Why doesn't a key show up in the keyboard tester?

Either the key is not sending a signal, or something else handles it first. Fn never shows in a browser, and some system shortcuts are caught by the operating system. If an ordinary letter or number key stays dark, clean it and test the keyboard on another port or computer.

What is the difference between key and code?

code names the physical key position, such as KeyY, no matter which layout you use. key is the character that position types with your current layout, so the same physical key can show y on QWERTY and z on QWERTZ.

Sources and further reading