Kova CoreBlog & GuidesPremium

JS Keycode Info

Press any key to see its JavaScript event key, code and keyCode values. Free, no sign-up needed.

Get JavaScript Keyboard Event Info

JS Keycode Info shows the exact event.key, event.code, and legacy keyCode values JavaScript reports for any key you press — useful when building custom keyboard shortcuts or handling key events cross-browser.

How to use

  1. Click into the input area.
  2. Press any key on your keyboard.
  3. Read the reported key, code, and keyCode values instantly.

Common use cases

  • Looking up the exact key name to check for in a keydown handler.
  • Debugging why a keyboard shortcut isn’t triggering correctly.
  • Understanding the difference between event.key and event.code.

More Web Utilities