← All tools
EDTOOLKITS GUIDES

JavaScript Key Code Finder in your browser

By Team Edtoolkits · Developer

Press any key to see its event.key, event.code, keyCode and which values, with modifiers and a ready-to-use snippet. An on-screen keyboard works on phones.

Use the guide alongside the working tool.

Open JavaScript Key Code Finder →

Get started

Click the box and press a key, or tap a key on the on-screen keyboard.

Adjust and explore

Read key, code, keyCode, which and the modifiers.

Save and share

Copy the snippet into your code.

Privacy and limits

Values on the on-screen keyboard follow a standard US layout; a real keyboard reports what your layout and browser send. Phone keyboards often report keyCode 229. The page cannot see keys the system keeps, such as Alt+Tab. Your keystrokes stay on your device.

Ready to apply this workflow?

Try JavaScript Key Code Finder →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE