⌨️ Keyboard Tester

Press any key to view key information and key codes

?
Press any key...
Click this area and press the keyboard key
Ctrl
Alt
Shift
Meta/Win
key
-
code
-
keyCode (obsolete)
-
which (obsolete)
-
location
-
repeat
-
Key history
The history will be displayed here after pressing the button
Description

key: Character value generated by key press, such as "a", "Enter", "Shift"

code: Physical key identifier, such as "KeyA", "Enter", "ShiftLeft"

keyCode/which: Obsolete numeric key code, for reference only

location: 0=standard, 1=left, 2=right, 3=numeric keypad

repeat: Whether it is triggered repeatedly by long press

Tip: Some system shortcut keys (such as Ctrl+W) may be blocked by the browser