Keycode Tester

Press any key on your keyboard and instantly see its key, code, keyCode and location. A handy reference for web developers.

Press any key…

Frequently Asked Questions

What is the difference between key and code?+
key is the character produced (e.g. "a" or "A"), while code is the physical key location (e.g. "KeyA"), independent of layout.
Do I need to install anything?+
No. Everything runs in your browser and no data is sent anywhere.

Related Tools

Keycode Tester — free online keycode, key code tester, event key, javascript keycode, keyboard event, key press test. No signup required. Works in your browser.