Free Online Keyboard Tester
A keyboard tester listens for keydown and keyup events and reports event.key (logical), event.code (physical), event.keyCode (deprecated numeric) and event.location (left/right modifier) for each press.
Your data is processed entirely in your browser and never sent to any server.
Press any key to see it highlight below. Event values are shown in the panel.
How to Use This Tool
- Click anywhere on the page, then press any key.
- Watch the visual layout — pressed keys highlight.
- Read the live event.key, event.code, event.keyCode and location values.
- Use Reset to clear the highlights between tests.
What Is a Keyboard Tester?
Keyboard testers are useful for two things: spotting a dead or sticky key on a physical keyboard, and figuring out the exact event values your code will receive when a user presses a key. JavaScript exposes three (and a half) different identifiers — key is the logical character, code is the physical position, keyCode is the deprecated numeric value, and location distinguishes left versus right modifier keys.
IT support uses it to confirm a hardware fault before approving a replacement. Software developers verify how their keydown handler will see modifier combinations across operating systems. Mechanical-keyboard hobbyists test newly built boards before declaring them ready. The tool maps every keydown to its KeyboardEvent.code and lights up the corresponding cell in a US-layout grid. Hold a key to see auto-repeat in action; press modifier keys to see left/right location values change.
Nothing is logged or sent anywhere. Reset clears highlights between tests.
Frequently Asked Questions
What does it test?
Does it work for all keys?
Good for mechanical keyboards?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Miscellaneous
Test your typing speed and accuracy. WPM, CPM, and error rate. Improve with practice.
Test mouse buttons, scroll wheel and tracking. Shows left, right, middle clicks, position and clicks-per-second.
Test how fast you can click. 5, 10, 30 or 60-second tests with live CPS and total click count.