Keyboard tester
Display received key, code, legacy keyCode, and highlighted keys on a standard keyboard layout.
Loading the tool… JavaScript is required for processing on your device. The instructions and examples below are available without JavaScript.
How to use it
Press each key. It lights up while held and stays marked once it has worked. The last key’s details are shown below.
Good to know
Some keys (Fn, and shortcuts like Cmd+Tab or Win+L) are handled by your operating system and never reach the browser.
Check the keys your browser exposes
Press a key and read the reported key, code, and keyCode values. Keys represented in the on-screen layout light while held and remain marked after release. Hold a few keys together if you want to observe which keydown events arrive at the same time.
Use Reset to clear the marks before another keyboard or layout. The tested total counts only codes represented in the displayed layout.
Do not treat an unmarked key as a diagnosis
The drawing is a fixed, mostly standard desktop layout, so a key absent from it can still be working. Fn and many system-level shortcuts never reach a web page, and the page deliberately leaves several Meta shortcuts available. This tool reports browser events; it does not measure key force, identify a matrix fault, or guarantee rollover behavior outside this browser.
Frequently asked questions
How do I check if all my keyboard keys work?
Press every key once. An unmarked key was not observed by this page. Some system keys and shortcuts do not reach the browser.
Can I test a laptop keyboard?
Yes. Laptop keyboards use the same key codes; keys missing from your layout simply stay unmarked.
Can it detect ghosting?
Hold several keys at once—every held key lights up. A missing event can involve keyboard rollover, shortcuts, or browser handling; this observation alone does not identify the cause.