Skip to content

How to find the key code for a specific key

What’s the easiest way to find the keycode for a specific key press?

Are there any good online tools that just capture any key event and show the code?

I want to try and find the key codes for special keys on a mobile device with a web browser, so an online tool would be great.


    $(function () {
      $(document).keyup(function (e) {
<script src=""></script>

Here’s your online tool.