NewKit / Reference / Key Code Finder
ES EN

Key Code Finder

Find the JS code for any key. · Processed in your browser.

Click here and press any key…
key
code
keyCode
which
modifiers

What is Key Code Finder?

When programming keyboard shortcuts or web interactions you need to know exactly what values JavaScript reports for each key. This tool shows you the event properties in real time: event.key, event.code, the legacy keyCode and the active modifiers (Ctrl, Shift, Alt, Meta).

Just press a key and see its values instantly, without opening the console. It's the fastest way to find out what to compare in a keydown handler, especially with special keys whose code isn't obvious.

Frequently asked questions

Is it free?

Yes, all NewKit tools are completely free.

Is my data sent to a server?

No. Processing happens 100% in your browser, so it is safe even for sensitive data.