Key Inspector

Key Inspector

Displays the key code, key value, modifier flags, and physical location for every keyboard event you trigger; essential for debugging custom keyboard shortcuts.

?

Press any key to inspect it

Key Inspector

Displays the key code, key value, modifier flags, and physical location for every keyboard event you trigger; essential for debugging custom keyboard shortcuts.

Common uses

  • Find the keyCode for the Escape key
  • Debug why a keyboard shortcut isn't firing

Frequently asked questions

Can I use Key Inspector to find the keyCode for the Escape key?

Yes. Key Inspector can find the keyCode for the Escape key, directly in your browser.

Can I use Key Inspector to debug why a keyboard shortcut isn't firing?

Yes. Key Inspector can debug why a keyboard shortcut isn't firing, directly in your browser.

Is my data uploaded to a server?

No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.