Keyboard Tester
Test every key on your keyboard and see the key, code and keyCode each one sends.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the keyboard tester
- Click the page so it has keyboard focus.
- Press each key in turn and watch it light up.
- Any key that never lights up did not reach the browser.
About this tool
Keys light up as you press them and stay marked once seen, so you can work across the whole keyboard and spot the ones that never registered. That is the fastest way to find a dead key, and holding a key shows whether it repeats cleanly or stutters.
Three values are reported for each press because they mean different things. `key` is the character produced, which changes with Shift and with your layout. `code` is the physical key's position and does not change — KeyA is the key where A sits on a US keyboard, whatever your layout prints on it. `keyCode` is the deprecated legacy number, still shown because plenty of older code depends on it.
Some keys will never appear here, and that is not a fault: the operating system intercepts screenshot keys, media and volume keys, and combinations like Ctrl+Alt+Delete before any web page can see them.
Common uses
- Finding a dead or intermittent key before buying a replacement.
- Checking a second-hand or repaired keyboard.
- Looking up the code or keyCode a key sends, for writing a shortcut.
Frequently asked questions
- Why doesn't my Print Screen or Fn key register?
- The operating system handles those before the browser sees them. Media keys, volume keys and combinations like Ctrl+Alt+Delete are the same. It does not mean the key is broken.
- What is the difference between key and code?
- key is the character produced and changes with Shift and your layout. code is the physical key position and stays the same whatever layout you use.
- Is what I type recorded?
- No. Key events are handled in the page and nothing is stored or sent anywhere. Reloading clears everything.
Related tools
Mouse Tester
Test mouse buttons, scrolling and movement, and check for a double-click fault.
Touchscreen Tester
Test a touchscreen for dead zones and check how many fingers it tracks at once.
Browser & Device Info
See your screen size, user agent, device pixel ratio, time zone and browser capabilities.
Clipboard Tester
Check whether copying and pasting work in your browser, and see why when they do not.