Skip to content

KeyCode Finder

Press any key to instantly see its JavaScript event properties: event.key, event.code, keyCode, and Unicode code point

Click here and press any key

Last Key Pressed

No key pressed yet

Key History

Key history will appear here

Property Reference

PropertyDescriptionStatus
event.keyThe key value (e.g. "a", "Enter", "ArrowUp")Recommended
event.codePhysical key location (e.g. "KeyA", "Space", "Numpad1")Recommended
keyCodeLegacy numeric key identifierDeprecated
whichLegacy alias for keyCodeDeprecated
charCodeCharacter code (keypress only)Deprecated
location0=Standard, 1=Left, 2=Right, 3=NumpadStandard

Frequently asked questions

What does KeyCode Finder do?

Press any key to instantly see its JavaScript event properties: event.key, event.code, keyCode, and Unicode code point

What should I check in the result?

Test a small known example and an invalid input. Review generated code or decoded data before using it in a project; inspection alone does not establish correctness or authenticity.