Click the capture box and press keys. Each keydown shows event.key (the character or named key produced), event.code (the physical key position, independent of layout), the legacy keyCode and which values, location (left/right modifier or numpad), active modifiers including Caps Lock, repeat for held keys and isComposing for IME input. The history table keeps the last 30 events, and you can include keyup events too.

With Block browser default on, shortcuts like Ctrl+S, Tab or the space bar are captured instead of triggering browser actions, so you can inspect them. Some combinations are reserved by the operating system or browser (Cmd+Q, Ctrl+W, Alt+Tab and similar) and never reach the page.

For new code, compare against event.key for characters and event.code for game-style or shortcut bindings that should follow key position on any layout. keyCode and which are deprecated and inconsistent across layouts, but they are shown because older code still uses them. Everything happens locally in this page.