Keyboard Tester
Test your keyboard online for free. See live key codes, a visual layout that lights up as you type, and a coverage counter for every key — no download needed.
Press any key — events are captured on this page.
0 / 84 layout keys testedAbout Keyboard Tester
Press any key and see its key, code, location and modifiers live — the layout lights up pressed keys and keeps count of how many you've tested.
Useful for checking a new keyboard, finding dead keys, or learning JavaScript key codes while developing. Everything runs locally in your browser.
How to use Keyboard Tester
- Click the page and start typing — every key you press lights up on the layout and stays marked as tested.
- The event card shows key, code, location and modifiers for the last keypress; the log lists the last 12 events.
- Aim for 100% coverage to verify every switch on the keyboard works.
Frequently asked questions
How do I test if all my keyboard keys work?
Press each key on the layout — it lights up and stays marked. The counter shows how many of the listed keys you've covered.
What is the difference between key and code?
key is the character the press produces (layout-dependent, e.g. 'a'), while code is the physical key position (e.g. 'KeyA') — code stays the same across keyboard layouts.
Does this work with non-US layouts?
The drawn layout is US-ANSI, but every press still registers — keys outside the layout appear in the event card and the history log.