Keyboard Event Tester
See the JavaScript keyboard event for any key: key, code, keyCode, which, location and modifier keys – for developers.
Click here and press any key to see its JavaScript event details.
Log
What is the Keyboard Event Tester used for?
Use it to see JavaScript key codes for any key press.
When to use it
- Web development
- Debugging shortcuts
- Accessibility
How to use the Keyboard Event Tester
- Use the controls above to set up the keyboard event tester the way you want.
- Try the example or enter your own details.
- The result appears instantly in the tool area.
- Copy, download, print or save it as you need – nothing is sent to our servers.
About this tool
See the JavaScript keyboard event for any key: key, code, keyCode, which, location and modifier keys – for developers. Everything runs inside your browser, so it is fast, works on phones and computers, and nothing you do here is uploaded to a server.
Any permissions the tool needs – such as your microphone or camera – are only used while the page is open, and you can revoke them at any time from your browser’s address bar.
Frequently asked questions
Do I need to install anything?
No. It works in any modern browser on Windows, Mac, Linux, Android and iPhone – just open the page.
Is my data uploaded?
No. The tool runs locally in your browser. Recordings, files and settings stay on your device.
Is it free?
Yes – completely free, with no sign-up and no limits.
Report an issue
Something wrong with the Keyboard Event Tester? Tell us and we’ll fix it.