Keycode Info
Press any key and see `event.key`, `event.code`, `keyCode`, `which` and `location`. Useful to build shortcuts, games and keyboard-aware forms. Everything in your browser.
Pressione qualquer tecla com este painel em foco.
Find any key's code
Anyone programming keyboard interactions in JavaScript needs to know exactly which values each key fires. The tool shows that right on screen: press any key and the event's fields all appear together, event.key, event.code, keyCode, which and location.
For building shortcuts, games that react to the keyboard, forms with custom navigation or any feature that captures keys, this is fundamental. Rather than checking outdated tables (keyCode, for instance, is already deprecated), you see the real values the browser delivers for that specific key.
It runs entirely in the browser, with nothing to install. It works as a living reference for front-end developers to debug keyboard events precisely.
Related Tools
JavaScript Escape / Unescape
Escape JavaScript strings by adding backslashes before special characters and convert back to the original.
JavaScript Formatter
Format and indent JavaScript code for better readability and debugging.
JavaScript Minifier
Minify JavaScript code by removing whitespace and comments to reduce file size in production.