What is Keyboard Tester?
Press any key and this page shows what your browser actually receives: the key value, physical code, legacy keyCode and modifier state (Shift/Ctrl/Alt/Meta/CapsLock). A rolling log keeps the last presses so you can spot stuck or dead keys.
When a key seems dead or types the wrong character, it helps to see exactly what the browser receives. This tool shows the key value, physical code and modifier state for every key, so you can tell a hardware fault from a layout or software issue.
Frequently asked questions
Why do some keycodes look strange?
Legacy keyCode values are kept for compatibility; the modern standard is event.code (physical key) and event.key (character). Both are shown here.
Why does one key show two codes?
The key value follows your keyboard layout, while the physical code identifies the position of the key, so the two can differ on non-US layouts.
Does the test record my typing?
The log lives only in this page and is cleared when you reload. Nothing is sent to a server.