Loading...
Loading...
Free online keyboard keycode information reference tool. Display key codes, which, and location values for keyboard key press events in browsers.
Press any key to see its keycode information
Displays detailed keyboard event information when you press any key. Shows a large visual key display along with the key value, keyCode, code, which, and the state of modifier keys (shift, ctrl, alt, meta). Updates in real-time as keys are pressed.
Web developers building keyboard shortcuts, hotkeys, or interactive keyboard UIs need to know exact keyCode and code values. Looking these up in documentation is slow compared to just pressing the key.
Frontend developers implementing keyboard navigation, game developers mapping key controls, accessibility developers building keyboard interactions, and anyone debugging keyboard event handling.
Press any key on your keyboard
The large display shows which key was pressed
All keyboard event properties are listed in the table below
Modifier key states (shift, ctrl, alt, meta) update in real-time
Pressing 'A' → key: a, keyCode: 65, code: KeyAPressing Shift → key: Shift, keyCode: 16, code: ShiftLeftPressing Space → key: (space), keyCode: 32, code: SpacekeyCode is deprecated and some events may not provide it reliably.
No, this tool works with physical keyboard events only.
key is the character produced (layout-dependent), code is the physical key position (layout-independent).
Free online word counter and text analyzer tool. Count words, characters, sentences, and analyze readability with Flesch reading ease scores.
Free online regex tester and debugger with real-time matching, capture groups, and extended flag support. Test and debug regular expressions easily.
Free online Markdown preview editor with live syntax highlighting. Write and preview Markdown documents in real-time with formatted output.
Free online IP address calculator and subnet tool. Calculate subnet masks, CIDR notation, host ranges, and network addresses for IPv4.
Free online JSON formatter and validator with syntax highlighting. Beautify, validate, and minify JSON data instantly with real-time error detection.
Free online Base64 encoder and decoder tool for developers. Instantly convert text and files to Base64 format and decode Base64 strings back to readable text.
Free online JWT decoder and analyzer for developers. Inspect JSON Web Token headers, payloads, and signatures with detailed breakdown and validation.
Dive deeper with our comprehensive guides and tutorials.