Keycode Info
NewPress any key to see its keyCode, key name, code, and event properties.
Keyboard capture
Click the panel or press any key anywhere on the page.
Visual keyboard
Last 10 keypresses
0 itemsFrequently Asked Questions
Why isn't it detecting my keypress?
The listener is attached to the capture panel itself, not the whole window. Click the dashed Keyboard capture box first so it has focus, then press the key again.
What's the difference between key, code, keyCode, which, and charCode here?
The tool shows the raw event fields side by side. key is the produced key value, code is the physical key position, keyCode and which are legacy numeric fields, and charCode is only populated for single-character keys.
How many previous keypresses does it keep?
The history panel keeps the last 10 keypresses. New entries are added to the top and older ones are dropped once the list exceeds 10.
Can it tell left Shift from right Shift or numpad keys from main keys?
Yes. It stores KeyboardEvent.location and renders it as standard, left, right, or numpad, so modifiers and numpad keys are easier to distinguish.
Does the visual keyboard include every possible key?
No. It covers a practical layout of common desktop keys and arrows, then highlights the matching code when one of those keys is pressed.