Keyboard Test

Check that every key on your keyboard registers correctly.

  • Runs in your browser
  • Free, no sign-up
0 keys tested

Click here, then press any key

Last key

  • key-
  • code-
  • keyCode-
  • Location-
  • Held for-

Keys held now

None

Hold several keys at once to check for ghosting. Cheaper keyboards cannot register some combinations.

About the Keyboard Test

The Keyboard Test shows a full-size keyboard on screen and lights up each key as you press it. Keys you have tested stay marked, so you can work through the whole board and spot a key that does nothing, one that sticks, or one that types the wrong thing.

Use it after spilling a drink, when buying or selling a used laptop, when a new mechanical keyboard arrives, or when a game seems to miss key presses. It also shows how many keys your keyboard can register at once, which matters for gaming and fast typing, and gives developers the exact key, code, keyCode and location values the browser reports.

The on-screen layout is a standard US keyboard with 104 keys, or 87 without the number pad. Keys outside that layout, such as the extra key next to the left Shift on many European keyboards, are still detected and listed. Everything happens in your browser.

How to use it

  1. Click the test areaClick the keyboard picture. The status changes to "Testing" and the site's own shortcuts are switched off inside it.
  2. Press every keyEach key lights up while held and stays marked once tested. The counter shows how many of the keys on screen you have covered.
  3. Check the detailsLast key shows the key value, the physical code, the old keyCode, whether it is the left or right copy, and how long you held it.
  4. Test combinationsHold several keys at once and read the Keys held now line to see which ones the keyboard actually reports.
  5. Reset or finishReset clears the marks. Click outside the area to stop testing and use the page normally again.

Key features

Full keyboard map

Function row, main keys, navigation block, arrows and number pad. Hide the number pad for laptops and tenkeyless keyboards.

Progress counter

Shows "12 of 104 keys tested" and adds any keys that are not on the map, such as IntlBackslash.

Left and right keys

Shift, Ctrl, Alt and the Windows or Command key report their side, and number pad keys are labeled as such.

Ghosting check

The held-keys list shows exactly which keys the keyboard reports at the same moment.

Key event details

key, code, keyCode and location values for debugging keyboard shortcuts and games, plus how long each key was held.

Private by design

Key presses are only shown on screen. Nothing is recorded, saved or sent.

Examples

What the details mean

You press                    key     code        keyCode  Location
A                            a       KeyA        65       Standard
Right Shift                  Shift   ShiftRight  16       Right
Space bar                    Space   Space       32       Standard
Number pad 5, Num Lock off   Clear   Numpad5     12       Number pad

key is what the key means right now, so it changes with Shift, Num Lock and your language layout. code is the physical position, which stays the same: KeyA is the key in the A position even on a French AZERTY keyboard, where it types Q. keyCode is an older number that is still widely used but deprecated.

Testing combinations

Hold Left Ctrl, Left Shift and K together and the held-keys line reads Ctrl + Shift + K. Try the keys you use together in games, such as W, A and Shift plus Space. If one of them does not appear while the others are held, the keyboard cannot report that combination. This is called ghosting or blocking, and it is common on budget and laptop keyboards.

Keys that are not on the map

Many keyboards outside the US have an extra key between the left Shift and Z. Pressing it adds it to the counter line, for example "7 of 104 keys tested · plus IntlBackslash". Media keys and some vendor keys work the same way.

Tips

  • Go row by row, left to right, so you do not miss a key. Then watch the counter reach the full number.
  • For a sticky or chattering key, press it once and look at Held for. A normal tap is well under 200 ms; a key that keeps repeating shows "repeating…".
  • Uncheck Show number pad on laptops and compact keyboards, so the counter matches the keys you actually have.
  • Test with the keyboard connected the way you normally use it. A problem that appears only over Bluetooth or a USB hub points to the connection, not the keys.
  • Once every key works, measure your speed with the Typing Speed Test.

Common mistakes and limits

  • Expecting the Fn key to light upFn is handled inside the keyboard itself and never reaches the computer. Test it by pressing Fn with another key, such as a volume or brightness key.
  • Pressing shortcuts the system keeps for itselfAlt+Tab, Ctrl+Alt+Delete, the Windows key on its own, Cmd+Tab and browser shortcuts like Ctrl+W can be caught by the operating system or browser before the page sees them. Avoid them, or you may close the tab.
  • Reading a missing Print Screen as a faultSome systems take Print Screen for a screenshot and only send the release to the browser, or nothing at all. That is normal.
  • Blaming the keyboard for the wrong characterIf a key lights up in the right place but types the wrong symbol, the keyboard is fine. The language or layout setting in your operating system is different.
  • Testing while a different window has focusKeys only register while the test area is active. If nothing lights up, click the keyboard picture first.

Frequently asked questions

How do I test my keyboard online?
Click the keyboard picture on this page and press every key. Each working key lights up and stays marked, and the counter shows how many you have tested.
What is keyboard ghosting?
When you press several keys at once and one of them is not registered. Cheaper keyboards share wiring between keys, so some combinations block each other.
What is n-key rollover?
The ability to register any number of keys pressed together. Keyboards with n-key rollover show every held key in the list; others stop at a fixed number or at certain combinations.
Why does a key not light up?
It may be faulty, it may be a key the system keeps for itself, or the test area may not be active. If no other app sees the key either, the key or keyboard needs attention.
Does it work with Mac keyboards?
Yes. Command shows on the key labeled Win, Option on Alt, and the keyboard map follows the standard positions.
Can I test a laptop keyboard?
Yes. Turn off Show number pad if your laptop has none. Keys with Fn functions report the function they send, such as volume up.
What is the difference between key and code?
key is the character or action the press produces, which depends on your layout and modifier keys. code is the physical key position, which never changes.
Are my key presses recorded?
No. They are only displayed in your browser while you test, and nothing is stored or sent.