JavaScript Keycode Finder
A tool for web developers to find the JavaScript event keycodes for any key press. Displays event.key, event.code, and the deprecated event.keyCode.
1When to use this tool?
💡Handling key inputs in web game development
💡Implementing keyboard shortcuts
💡Forgetting the exact code value of a specific key
2Features
- Displays all key event properties
- Key press history log
- Warns about deprecated properties
- Visual card layout
3How to Use
- Press any key on your keyboard.
- View the key information cards.
- Check the history for previous key presses.
FAQ
Q. Why is keyCode crossed out?
A. The keyCode property is deprecated in modern web standards. It's recommended to use event.key or event.code instead.