Keyboard Tester
Check that every key on your keyboard works, for a new or second-hand keyboard, after a spill, or when one key acts up. Press keys and they light up on the on-screen keyboard, stay marked once tested, and show exactly what the browser received.
PRESS ANY KEY · 0 OF 104 TESTED
The arrows, navigation keys and number pad are hidden on this screen width; they still count when you press them.
LAST KEY
Press a key and its details show up here. Keys light up while you hold them and stay marked once tested.
What this tool shows
- Every key: a full-size keyboard with function keys, navigation keys, arrows and number pad, in ANSI or ISO, with PC or Mac labels.
- Tested keys: each key stays marked once it has worked, with a count of how many you've tested.
- Each press: the key and code the browser received, how often it repeated while held, and which modifier keys were down.
ANSI or ISO?
ANSI keyboards, common in the US, have a wide one-row Enter key and a long left Shift. ISO keyboards, used in the UK and most of Europe, have a tall Enter key, a short left Shift and an extra key between it and Z. Look at your Enter key to tell which one you have.
Smaller keyboards
On a laptop or a compact keyboard, the number pad and some navigation keys simply aren't there; ignore them on the on-screen keyboard. On narrow screens, the tester hides those sections, but presses still count.
How to test your keyboard
- 1
Pick your keyboard
Choose ANSI for the US layout with a wide Enter key, or ISO for the UK and European layout with a tall Enter and an extra key next to left Shift. Switch to Mac for Command and Option keys.
- 2
Press every key
Click the keyboard, then press each key once. A key lights up while you hold it and stays marked once it works. Keys that stay unmarked didn't reach the browser.
- 3
Check repeats and stuck keys
Hold a key to see the repeat count rise, and watch for keys that stay lit after you let go. Press Reset to start over, or Escape twice to leave the tester.
Frequently asked questions
Why doesn't a key light up?
Either the key doesn't work, or the operating system or browser keeps it for itself. Some keys never reach a web page, so they can't be tested here. A key that does nothing in any app is most likely faulty; one that works elsewhere but not here is probably one of the reserved keys below.
Which keys can't a browser test?
The Fn key never reaches a browser, and media, brightness and volume keys usually don't either. Shortcuts the system or browser keeps for itself also don't arrive: Command+Q, Command+W, Command+Tab and Command+Space on a Mac, Alt+Tab, Alt+F4, Ctrl+Alt+Delete and the Windows key on its own on Windows, and Ctrl+W, Ctrl+T and Ctrl+N in most browsers. Print Screen often only arrives when you let go of it. Test those keys one at a time, without a modifier.
What's the difference between event.key and event.code?
event.code is the physical key, such as KeyQ, whatever the language setting; that's what lights up the on-screen keyboard. event.key is the character or name the key produces, such as q, Q or a on a French AZERTY keyboard.
How do I find a stuck or chattering key?
A stuck key stays lit after you let go. A chattering key, one that types twice, shows a repeat count or flickers when you press it once. Clean under the keycap or, on a mechanical keyboard, try another switch.
Is what I type saved?
No. The tester only listens while it has focus, shows the last key, and keeps nothing; nothing is sent to a server. Even so, don't type passwords into any testing tool.