Keycode Info

Keycode Info Overview

Visualize keyboard events

Keycode Info is an interactive developer utility for visualizing keyboard events. When you press any key, the tool instantly captures and displays the JavaScript Event data, including `event.key`, `event.code`, `event.which` (deprecated but still used), and `event.location`. It is invaluable for game developers, UI engineers building keyboard shortcuts, or anyone debugging input handling. It distinguishes between left/right modifier keys (Shift, Ctrl, Alt) and provides the precise code needed to listen for that specific keystroke in your application logic.

How to Use Keycode Info

Frequently Asked Questions

Why are key and code different?
Key represents the character generated, whilst Code represents the physical key position.

Related Dev Tools