JavaScript Key Code Finder

Runs in your browser — nothing is uploaded
Click here, then press a key

About this tool

Press any key to see the exact values your browser's KeyboardEvent reports for it — useful when writing keyboard shortcuts or handling input events.

Frequently asked questions

What is JavaScript Key Code Finder?

Press a key to see its KeyboardEvent key/code/keyCode values live. It is one of the Browser & Device tools on MyCodeTips.

How do I use JavaScript Key Code Finder?

Open the tool, enter or paste your input, and the result appears right away. Use the Copy button to copy it.

Is JavaScript Key Code Finder free to use?

Yes. It is free to use and does not need an account.

Is my data safe with JavaScript Key Code Finder?

Yes. It runs entirely in your browser, so what you enter is never uploaded to our servers.

Can I share my result?

Yes. Use the share buttons below the tool to post a link or copy a link to the tool page.

Share this tool Link copied