🚀 Pockit is now on Chrome!

Stop searching on Google. Access tools instantly with 1-click.

Add to Chrome - It's Free

Privacy Guaranteed

All processing happens locally in your browser. Your data never leaves this device.

Keycode Finder

Debug keyboard inputs instantly. Get key codes and event data simply by pressing a key.

Press Any Key

Test all keys on your keyboard

Tip: Useful for web development when handling keyboard events!

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.