Keyboard Test
Check every key responds.
0 of 104 keys tested
On a phone or tablet, connect a Bluetooth or USB keyboard first. The on-screen keyboard does not report real key presses.
Last key
—
Waiting for a key
- event.code
- —
- event.key
- —
- keyCode
- —
- Location
- —
- Held now
- 0
- Most held at once
- 0
Recent keys
Press a few keys and they will be listed here.
Online keyboard test
Press any key and watch it light up on a full on-screen keyboard. Check that every key works, find sticky or double-typing keys and see how many keys your keyboard can read at once. It runs in your browser, with nothing to install and nothing to click.
- Just start typing. There is nothing to click or switch on. Open the page, press any key and it lights up on the keyboard straight away.
- A full 104-key layout. Function row, letters, numbers, arrows, the Insert and Delete block and the number pad are all there. Switch to No numpad or Main keys if your keyboard is smaller.
- Safe to press anything. Keys only light up here. Shortcuts like Ctrl+O, Ctrl+P, Tab and F5 will not open a file, print the page or reload it while you test.
- Tested keys stay marked. A key is tinted while you hold it and stays marked once it has worked, so a quick glance shows which ones you have not tried yet. A counter keeps the total.
- See what each key sends. The last key you pressed is shown with its event.code, event.key, key code and side (left or right). That is handy when you are mapping keys or writing your own shortcuts.
- Ghosting and rollover check. See how many keys you are holding right now and the most you have held at once. Press a handful together to find out where your keyboard stops registering them.
- Modifiers and lock keys. Shift, Ctrl, Alt and Win or Cmd show when they are down, and Caps Lock, Num Lock and Scroll Lock show their current state.
- Extra keys are not ignored. Media, language and other keys that are not part of the standard layout appear under Other keys detected, so nothing you press goes missing.
- Private and free. Everything runs in your browser. Nothing you type is sent, saved or logged anywhere.
Keyboard test troubleshooting
If something looks off, these are the most common causes and what to try.
- A key never lights up. Press it a few times, firmly and slowly. If it still does nothing, it is probably dirty or worn. Try cleaning around it with compressed air, and test it in another program to be sure it is not just this page.
- Nothing lights up at all. Make sure this browser tab is the active one and not something else on your screen. Then check the cable or Bluetooth connection, replace the batteries if it is wireless, and try a different USB port.
- A key lights up twice. That is usually a chattering switch, common on older laptops and worn mechanical keyboards. If it happens a lot, the key may need cleaning or replacing.
- The Fn key does not show. This is normal. On most keyboards Fn is handled inside the keyboard itself and never reaches the browser, so no website can see it. Keys that need Fn, such as brightness or volume, may show up under Other keys detected instead.
- Esc or Ctrl+W still closes things. Some browser shortcuts are protected and cannot be blocked by a page. Use the Full screen button, which lets supported browsers pass those keys to the test instead.
- PrintScreen or the Windows key acts strangely. Your system grabs these before the browser does, so they may only register when you let go of the key. They are still counted as tested.
- Some keys do not show at once. If several keys stop registering when pressed together, that is the keyboard limit, not a fault in the page. Many budget keyboards only handle a few keys at a time, and gaming keyboards with n-key rollover handle many more.
- Wrong key shown for a letter. The test marks the key by its physical position, so on a French or German layout a key can sit where you did not expect. Check the event.key value to see what your layout actually types.
When a keyboard test helps
- Check a new keyboard. Run through every key before the return window closes, instead of finding a dead one weeks later.
- Buy a used laptop with confidence. Test the whole keyboard in under a minute before you hand over the money.
- Find a sticky or double-typing key. Press the suspect key slowly and watch whether it lights up once, twice or not at all.
- After a spill or cleaning. Make sure every key still works after you have wiped it down or taken the caps off.
- Gaming and fast typing. Hold several keys at once to see how many your keyboard can handle before it drops one.
- Look up key names for developers. Press a key to read its exact code and name for use in a shortcut, a game or a web app.
Keyboard test questions
How do I test my keyboard online?
Open this page and press the keys one by one. Each key lights up when it works and stays marked so you can see which ones are left. The counter shows how many keys you have tested.
Do I need to click on the keyboard first?
No. Just start pressing keys. The page listens as soon as it opens.
Will shortcuts like Ctrl+P or F5 do anything while I test?
No. They are blocked on this page, so pressing them will not print, reload or open a file. A few protected shortcuts, such as Ctrl+W, cannot be blocked by any website. Use Full screen to catch those.
How do I know if a key is broken?
If a key does not light up after a few firm presses, or lights up more than once for a single press, it is likely faulty or dirty. Test it in another app too, to rule out a software problem.
Can I test a laptop keyboard?
Yes. It works the same for built-in laptop keyboards and for USB or Bluetooth ones. Use the No numpad layout if your laptop has no number pad.
What does the number of keys held at once mean?
It tells you how many keys your keyboard can register together. If you press five keys and it only shows three, the keyboard is dropping some, which is called ghosting.
Why is there no Fn key?
Browsers cannot see the Fn key on most keyboards. It is handled by the keyboard itself, so it is left out of the layout.
Does it work on Mac?
Yes. The modifier keys are labelled Cmd and Option on a Mac and Win and Alt elsewhere.
Does it work on a phone or tablet?
The page fits any screen and the keyboard scrolls sideways on a small one, but you need a real keyboard to test. Connect a Bluetooth or USB keyboard first. The on-screen keyboard on a phone cannot be tested here.
Is anything I type saved or sent?
No. Key presses are read in your browser and never leave your device.