Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Everyday tools

Keyboard tester

To test a keyboard online, press Start test and then press every key once: each key that works lights up on the drawing, and the page shows its key name and code. Hold several keys together to check ghosting, and watch for keys flagged as double presses. 104 keys of a full-size board are tracked.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Not listening. Press Start test, then press every key once. Keys light up as they work.

A key that registers again within this time after you let go is flagged as a double press. 50 is an example.
Keyboard test

Press any keyTap Start test, then press each key

  • 0 of 104 keys tested
  • Most held at once: 0
  • No double presses seen

Held now: none

Grey: not pressed yet. Mint: worked. Highlighted: held down now. Red outline: double press.

How to use the Keyboard Tester

  1. Press Start test. The page only listens to keys after this, and stops when you press Stop test.
  2. Press every key once. Each one that works turns mint on the drawing; the one you hold is highlighted.
  3. Hold several keys together to see how many the keyboard reports at once.
  4. Check the readout for the key name, code and side of each press, and for any key flagged as a double press. Press Reset to start again.

How do I test my keyboard online?

Start the test and press each key in turn. Every key that reaches the browser lights up on the drawing, and the counter shows how many of the keys you have covered. A key that stays grey after you press it firmly is the one to look at.

Work row by row from the top left, including the function keys and the number pad, so no key is skipped. The grey keys on the drawing show what is left. A full-size US board has 104 keys and a laptop fewer, so the counter will not reach the total on a smaller keyboard, and that is fine.

The readout shows two names for each press. The key is what the key produces: a letter, a symbol or a name such as Enter. The code is the physical key, whatever your layout. MDN puts it this way: the code represents a physical key on the keyboard, not the character it generates, and is not changed by the layout or by modifier keys. So the key in the Q position reports KeyQ on any layout, even when it types an A.

The location tells left from right for keys that come in pairs, such as Shift, Ctrl and Alt, and marks keys on the number pad. That helps when only one of two matching keys has failed, such as a left Shift that works while the right one does not.

Shortcuts that belong to the browser or the system, such as closing a tab or switching windows, still work while the test runs, so avoid them. Press keys on their own unless you are testing combinations on purpose.

Keys on the drawing
Part of the keyboardKeys
Function row (Esc, F1-F12)13
Main typing block61
Navigation and arrows13
Number pad17
Full-size board in all104

Why does a key not light up?

If a key never lights up, the keyboard is not sending it, the system is keeping it, or the board simply does not have it. Laptops and compact keyboards leave out the number pad and some navigation keys, so those will stay grey. The Fn key is usually handled inside the keyboard and changes what other keys send rather than sending anything itself.

Try the key in another program too. If it fails everywhere, clean under it or check the switch. If it works elsewhere but not here, a program or system setting may be catching it first.

Stuck keys show up too. A key that stays highlighted after you let go is still being reported as held down. Press it a few times; if it keeps showing as held, the switch may be sticking. Switching to another window clears the held keys on the drawing, and Reset clears the whole test.

If a key lights up but types the wrong character, the keyboard is fine and the layout setting is the cause. Compare the key and code in the readout: the code shows the physical key you pressed, and the key shows what your current layout turns it into.

Code names of keys that differ from their label
KeyCode
`Backquote
-Minus
=Equal
[BracketLeft
]BracketRight
\Backslash
;Semicolon
'Quote
,Comma
.Period
/Slash
MetaMetaLeft
MenuContextMenu
EnterNumpadEnter

How do I test my keyboard for ghosting?

Hold down several keys at the same time and watch the highlighted keys and the "Most held at once" count. If you hold three keys and only two light up, the keyboard is not reporting that combination. That is ghosting or a rollover limit, and it matters most in games where you press several keys together.

Test the combinations you actually use, such as W, A and Shift with Space. A keyboard can handle one set of keys and miss another, because of how its keys are wired. Release all keys between tries so the count starts fresh.

Modifier keys are a special case. Many boards are wired so that Shift, Ctrl and Alt always register with other keys, so test plain letter keys together as well.

To compare two keyboards, try the same combinations on each and note which ones fail. A short list of failing combinations is more useful when you choose a keyboard or report a fault than a single number, because it shows exactly which keys you cannot press together.

What is a double press on a keyboard?

A double press, often called key chatter, is when one press of a key is registered twice. It shows up as doubled letters in your typing. The tester flags a key when it goes down again within the double-press window after you let go of it, without being an automatic repeat from holding it.

To check a suspect key, tap it slowly ten times. A healthy key lights the same way each time and no warning appears. If the key is flagged, tap it again more slowly to be sure the second press was not your own.

The window starts at 50 milliseconds, which is an example setting rather than a standard. Raise it to catch slower repeats, or lower it if fast typing triggers false warnings. A key that chatters often needs cleaning or a new switch.

Nothing you type is sent anywhere: the test runs in your browser. Even so, there is no reason to type a password into any tester.

Use it with

Questions

How can I check if all my keyboard keys are working?

Start the test and press every key once. Keys that work light up; any that stay grey after a firm press are not reaching the computer.

Why is my keyboard typing the wrong characters?

Usually the layout setting, not the keyboard. If the code in the readout matches the key you pressed, the hardware is fine.

How do I test keyboard ghosting?

Hold several keys at once and see how many light up together. If some of the keys you hold do not light up, that combination is not reported.

Can I test a laptop keyboard?

Yes. Keys a laptop does not have, such as the number pad, simply stay grey, and Fn usually sends nothing on its own.

What is the difference between key and code?

The key is the character or name the press produces with your layout. The code is the physical key, such as KeyQ, whatever the layout.

Does the keyboard test work on a phone?

Tap the box for phones and type. Many on-screen keyboards do not report codes, so the page shows the character typed instead.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.