Keyboard Tester

Test Your Keyboard Online - Free Key Tester Tool

Press any key on your keyboard to test it instantly. Every keypress is detected in real time and displayed on the virtual keyboard. The event log captures detailed information about each key event including key codes, modifiers, and timestamps.

Press any key
Key-
Code-
KeyCode-
Time-

0/74

Keys Tested

0

Total Presses

Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
~`
!1
@2
#3
$4
%5
^6
&7
*8
(9
)0
_-
+=
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
{[
}]
|\
Caps
A
S
D
F
G
H
J
K
L
:;
"'
Enter
Shift
Z
X
C
V
B
N
M
<,
>.
?/
Shift
Ctrl
Win
Alt
Alt
Win
Menu
Ctrl
Not tested
Tested
Active

Event Log

0/100
TimestampTypeKeyCodeKeyCodeModifiersRepeat
Press any key to start testing...

What Is a Keyboard Tester?

A keyboard tester is an online tool that detects and displays information about every key you press on your keyboard. It helps you verify that all keys are functioning correctly by showing real-time feedback on a virtual keyboard layout. Our keyboard tester captures key values, key codes, event types, modifier states, and precise timestamps for every keypress and key release.

How to Use the Keyboard Tester

  1. Click anywhere on this page to make sure the browser is focused and ready to capture key events
  2. Press any key on your keyboard - it will immediately highlight on the virtual keyboard above
  3. Check the key details panel to see the key value, code, keyCode, location, and timestamp
  4. Review the event log below to see a complete history of all your key events (up to 100 entries)
  5. Keys you have already tested will remain highlighted with a different color so you can track your progress
  6. Use the export buttons to copy, download, or print your test results

Why Test Your Keyboard?

Testing your keyboard is useful in many situations. Whether you just bought a new mechanical keyboard, suspect a key might be malfunctioning, or want to check for key ghosting in games, this tool gives you the detailed feedback you need.

  • Diagnose broken or stuck keys - verify that every key registers when pressed
  • Test new keyboards - confirm all keys work before committing to a purchase
  • Check key ghosting - press multiple keys simultaneously to see if all register
  • Verify key rollover (NKRO) - test how many simultaneous keys your keyboard supports
  • Debug key bindings - find exact key codes for programming or game configuration
  • Check modifier keys - ensure Shift, Ctrl, Alt, and Meta keys work correctly

Understanding Key Codes

When you press a key, the browser generates several pieces of information about that keypress. Understanding these values is helpful for developers, gamers, and anyone diagnosing keyboard issues.

key

The character or name of the key pressed. For printable characters it shows the character (e.g., "a", "1"). For special keys it shows the name (e.g., "Enter", "Shift").

code

The physical position of the key on the keyboard. This stays the same regardless of layout or language (e.g., "KeyA" is always the same physical key).

keyCode

A numeric identifier for the key. While deprecated in modern web standards, it is still widely used and supported by all browsers.

Modifiers

Shows which modifier keys (Ctrl, Shift, Alt, Meta) were held down at the time of the keypress. Useful for testing keyboard shortcuts.

Compatible Keyboards

This keyboard tester works with all standard keyboards including mechanical keyboards (Cherry MX, Gateron, Kailh switches), membrane keyboards, scissor-switch laptop keyboards, wireless Bluetooth keyboards, and USB wired keyboards. It is compatible with all major browsers including Chrome, Firefox, Safari, and Edge on Windows, macOS, Linux, and ChromeOS.

Frequently Asked Questions