What is Keycode Info?
Keycode Info — A Keycode Info Tool is a free tool that displays the JavaScript keyCode, key, code, and event properties for any key you press on your keyboard.
Loading your tools...
Press any key to instantly see its JavaScript event properties — keyCode, key, code, which, location, and modifier states (Shift, Ctrl, Alt, Meta). Essential for building keyboard shortcuts and debugging keydown/keyup events.
Keycode Info: Press any key on your keyboard to instantly see its keyCode, event.key, event.code, and modifier state (Shift, Ctrl, Alt, Meta). Useful for building keyboard shortcuts and handling key events in JavaScript.
Press the key on your keyboard you want to get info about this key
Press any key to see javascript keycode, code, location and modifiers
Keycode Info — A Keycode Info Tool is a free tool that displays the JavaScript keyCode, key, code, and event properties for any key you press on your keyboard.
Focus the capture area in the tool.
Press any key or key combination.
Review key, code, keyCode, location, and modifiers.
Copy values into your event-handling logic.
Keyboard shortcut implementation
Form interaction debugging
Cross-browser input checks
Accessibility and hotkey QA
Key event tooling works best when it clearly separates character output from physical key position. This page focuses on that distinction with quick, readable event values.
It is useful when migrating from legacy keyCode checks to modern key/code handling while keeping backward compatibility.