Key Detector

Press any key on the keyboard in the input field to get the Unicode character code and the Unicode key code of the pressed key.

Unicode Character Code -

Unicode Key Code -

Programmatic Usage

• Unicode Character Code: document.onkeypress

• Unicode Key Code: document.onkeydown