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
- Click into the input area.
- Press any key on your keyboard.
- 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
- IP Locator — Find geographic details of an IP or domain.
- HTTP Status Codes — Quick dictionary for HTTP status codes.
- Regex Tester — Test regular expressions directly in the browser.