Keyboard Event Viewer - Free Online Tool | PivaBox
Inspect keyboard events — key, code, keyCode, modifiers in real-time
How to Use Keyboard Event Viewer
- Click the large display area to give it focus — you will see "Click here and press any key" placeholder
- Press any key on your keyboard. The display updates in real-time with key details: key, code, keyCode, location, and all modifier flags (Alt, Ctrl, Shift, Meta, Repeat)
- Review the history log (last 20 key presses) for a scrollable timeline of events. Use Clear History to reset the log.
Frequently Asked Questions
Is Keyboard Event Viewer free?
Yes, PivaBox Keyboard Event Viewer is completely free to use.
Are my keystrokes uploaded anywhere?
No. All keyboard event capture is handled entirely in your browser using the standard DOM <code>keydown</code> event listener. No data leaves your device.
What is the difference between key and code?
<strong>key</strong> returns the character typed (e.g. "a", "Enter", "F5"), reflecting the keyboard layout. <strong>code</strong> returns the physical key position (e.g. "KeyA", "Enter", "F5"), independent of keyboard layout. Use <code>key</code> for text input and <code>code</code> for game controls or shortcuts.