Building a game or a hotkey-driven app? Use this tool to find the exact JavaScript event values for any key on your keyboard.
Keycode Intelligence
Deep analysis of keyboard event data and JavaScript key mappings
About JavaScript KeyCode Tester
Press Key
Tap any key on your keyboard.
View Info
See the Key, Code, and ID.
Save Your Output
Click the download or copy button to export your results to your device or clipboard.
Key Features
Live Testing
Press any key to see values instantly.
Gamepad Support
Detects connected game controllers (beta).
Copy Code
Click to copy the key code.
Frequently Asked Questions
Many legacy tools still rely on keyCode. We show it for maintenance purposes, but recommend event.code for new projects.
Yes, completely free. No account, subscription, or hidden fees — ever.
Yes. All processing runs directly in your browser — nothing is ever uploaded to a server.
Related Tools
View allJSON Formatter
Beautify and minify JSON.
Base64 Converter
Encode and decode Base64 strings (Standard).
Hash Generator
Create SHA/MD5 hashes.
JWT Debugger
Decode and inspect JSON Web Tokens locally.
SQL Formatter
Format and beautify SQL.
HTML to JSX
Convert HTML attributes to JSX props.
Last updated on