Press a key after JavaScript loads to inspect keyboard event details.

Home / Encoding tools / Keyboard KeyCode Tester

Keyboard KeyCode Tester

Press any key to inspect key, code, keyCode, modifier state, and copy the latest keyboard event.

How to use this tool

KeyCode Lookup: Paste input, load the sample if needed, choose an action, review the output, and copy the result.

Usage boundaries and result checks

KeyCode Lookup is for this task: Press any key to inspect key, code, keyCode, modifier state, and copy the latest keyboard event. It runs in the browser; start with a short, non-sensitive sample and confirm the behavior before processing more data.

Best use

Use it for a focused KeyCode Lookup task when a quick browser workbench is appropriate.

Input

text, an encoded string, or the data format named by the tool

Output

an encoded, decoded, or compatibility-check result

Before reuse

For KeyCode Lookup: Confirm the character set, byte boundary, and target protocol. Encoding is not encryption. See the test method.