Keyboard tester
Press any key on your keyboard. Each key lights up as you press it and keeps a check mark once it works. Nothing to install.
This test needs a physical keyboard. On a phone or tablet, connect one by USB or Bluetooth first.
Press each key once: it lights up while held and gets a check mark once it works. Hold Esc for 2 seconds to stop testing, so Tab and the arrow keys work on the page again.
The last key, as the browser sees it
Press a key to see its details.
Ghosting check
Hold A, S, D, F, J, K and L together, then W, A, S, D and Space. Each key you hold should light up. Most held at once: 0
Event log
Each key press and release shows here, newest first.
How to test your keyboard
- Pick the keyboard that looks like yours: full size, compact (no number pad) or Mac, and its layout. A key that only some keyboards have, such as the one between the left Shift and Z, switches the drawing by itself.
- Press every key once. Each one lights up while you hold it, and keeps a check mark after it has worked.
- Turn on “Mark keys not tested yet” to see the keys you have missed.
- If a key never lights up, press it a few more times, then try the fixes below.
The test runs in your browser. What you press is not sent anywhere or saved, and Reset clears it. It works for laptop keyboards, desktop keyboards, mechanical keyboards and wireless ones alike.
What the keys on the drawing mean
- Not tested yet
- A plain key. With “Mark keys not tested yet” on, it also gets a dashed outline.
- Pressed now
- Filled in and pushed down, for as long as you hold it.
- Tested
- Tinted, with a check mark: the browser received that key, so it works.
- Possible chatter
- Striped and ringed in orange, with a count: the key registered twice faster than a finger can press it.
- Dashed key (Fn)
- Browsers never see Fn, because the keyboard handles it itself, so it is drawn but not counted.
Under the keyboard, the counts show how many keys have worked, how many you are holding now and the most held at once. Further down, the tester shows what the browser received for the last key, and a log of the last 12 presses and releases.
A key not working? What to try
A key that does not light up
First check that it is not a key browsers cannot see (Fn, or a shortcut the system keeps, below). Then try another USB port or pair a Bluetooth keyboard again, unplug any other keyboard, and blow out crumbs from under the key with compressed air. If one key never registers while the rest do, the switch or the keyboard itself is likely at fault.
On a laptop, plug in an external keyboard and press the same key there. If it works on the external one, the laptop keyboard needs a repair, not your settings.
A key that stays lit
A key that lights up on its own, or stays lit after you let go, may be stuck. Press it a few times, look for something under it, and check whether it repeats in other apps too. Switching windows while holding a key can leave it lit here; the tester lets go of every key when the window loses focus.
A key that types twice (chatter)
Mechanical keyboards can register one press as two when a switch is worn or dirty, which shows here as possible chatter. Press the key slowly ten times. If the count goes up, clean or replace the switch, or raise the debounce time if your keyboard has software for it. The threshold, 50 ms unless you change it, is under the keyboard.
Keys that type the wrong character
If keys light up in the right places but type other characters, the keyboard is fine: the computer is set to another layout. On Windows, check the keyboards under Settings, Time & language, Language & region. On a Mac, check System Settings, Keyboard, Input Sources.
Laptop keys: Fn, F1 to F12 and media keys
Fn never reaches the browser: the keyboard uses it to change what other keys send. On many laptops and on Macs, F1 to F12 control brightness and volume unless you hold Fn, so hold it to test them as function keys. Volume and media keys show in the list under the keyboard when the browser receives them; some laptops handle them without telling the browser.
Wireless keyboards
If keys miss or lag on a Bluetooth or wireless keyboard, charge it or change its batteries, move the receiver closer (a USB extension cable helps) and pair it again. Keys that work over a cable but miss without one point to the connection, not the keys.
Keys the system keeps for itself
Some shortcuts go to the system or the browser before the page sees them: Windows key shortcuts, Alt+Tab, Ctrl+Alt+Delete, and Ctrl+W, Ctrl+T and Ctrl+N (Command on a Mac), which close or open tabs and windows. Test those keys on their own. On Windows, Print Screen often sends only its release, which still counts as working here.
Ghosting and rollover: how many keys at once
Rollover is how many keys a keyboard can report at the same time. Many office keyboards handle a few keys together in some combinations but drop or block a key in others. That is ghosting, or key blocking, and it shows up in games and fast typing as keys that never arrive.
A keyboard with 6-key rollover (6KRO) reports any six keys at once, plus Shift, Ctrl, Alt and the Windows key. N-key rollover (NKRO) means every key, however many. Gaming and mechanical keyboards usually say which they have.
To check yours, hold A, S, D, F, J, K and L together, then W, A, S and D with Space and Shift, as a game would. Every key you hold should light up, and “most at once” counts them. If a key you are holding stays dark, the keyboard cannot report that combination.
Some keyboards switch to 6-key rollover over Bluetooth or on some computers, so a lower count is not always the keyboard alone.
What the browser reports for each key
Under the keyboard, the tester shows what the browser received for the last key. “Key” is the character or action it produced. “Code” is the physical key, the same on every layout: the key right of Tab is KeyQ even on a French AZERTY keyboard, where it types A. “Location” tells the left Shift, Ctrl and Alt from the right ones and the number pad from the rest, and keyCode is the older number many scripts still use.
The event log lists the last 12 presses and releases, newest first, with how long each key was held. A held key repeats, and the tester marks that as auto-repeat rather than as new presses.
Frequently asked questions
How do I test my keyboard online?
Open this page and press each key. It lights up as you press it and keeps a check mark once it has worked. There is nothing to install, and nothing you press leaves your browser.
How can I tell if a key is broken?
Press it here a few times. If it never lights up while other keys do, and it is not Fn or a shortcut the system keeps, the key is not reaching the computer. Trying another port or another keyboard tells a broken key from a connection or settings problem.
Why does a key type the wrong letter or symbol?
Usually the computer is set to another keyboard layout than the one printed on the keys. If the right key lights up here, the keyboard works; change the layout in your system settings.
Can it test a laptop or Mac keyboard?
Yes. Pick Compact for most laptops, or Mac for a MacBook or an Apple keyboard. No browser can test Fn, and on a Mac the F-keys need Fn held unless they are set to work as standard function keys.
What is key chatter?
A key that registers twice for one press, usually because a mechanical switch is worn or dirty. The tester flags a second press of the same key that comes within 50 ms of the first, faster than a finger can press a key twice.
What is keyboard ghosting?
Keys pressed together that do not all register. Keyboards with 6-key or n-key rollover avoid it; many office keyboards block some combinations. Hold several keys here and see whether each one lights up.
Is it free?
Yes, free with no signup and no ads. When your keyboard checks out, the typing test shows how fast you type on it.