Keyboard Tester
Press any key on your keyboard to test if it works. We show the technical key codes and light up the virtual keyboard below. Green keys are working perfectly!
Event Log
How to Use the Online Keyboard Tester
- Press Keys: Simply start typing on your physical keyboard. The virtual keyboard above will light up.
- Check Color Codes:
- Amber: Key is currently pressed (Active).
- Green: Key has been successfully registered and released (Working).
- White/Gray: Key has not been pressed yet.
- Verify Special Keys: Test Shift, Ctrl, Alt, and Function (F1-F12) keys individually to ensure they register correctly.
- Identify Issues: If a key doesn't light up or requires multiple hard presses, you may have a faulty switch or dust debris.
What is Keyboard Ghosting?
Keyboard Ghosting occurs when you press multiple keys simultaneously, and one or more of them fail to register. This is common in cheaper keyboards during gaming or fast typing.
Our tool helps you detect ghosting by allowing you to hold down multiple keys at once. Watch the "Active" (Amber) keys to see how many your keyboard can handle simultaneously (known as N-Key Rollover).
Understanding JavaScript Key Events
For developers, we display real-time event data found in modern web browsers:
- event.key: The value of the key pressed (e.g., "a", "Enter"). Considers the Shift state (shows "A" instead of "a").
- event.code: The physical key location. For example, both left and right Shift keys return distinct codes (`ShiftLeft` vs `ShiftRight`).
- event.which: A legacy numeric code representing the key. Still used in older systems but deprecated in modern web standards.
Frequently Asked Questions
Why isn't my 'Fn' key working?
The 'Fn' (Function) key is internal to your keyboard's hardware controller and often does not send a signal to the computer's operating system directly. Therefore, browser-based testers cannot detect it.
Can I test N-Key Rollover here?
Yes! Hold down as many keys as possible. If some stop registering while others are held, you've found your keyboard's rollover limit (e.g., 6-key rollover).
Is this tool safe?
100% Safe. We do not record, store, or transmit your keystrokes to any server. All testing happens locally in your browser (Client-Side).