Keycode Info

Find the keycode, code, and key values for any keyboard key.

Press any key on your keyboard

Press any key to see its information

Key Properties Reference

Key vs Code

  • key - Character produced (layout-dependent)
  • code - Physical key (layout-independent)
  • keyCode - Numeric code (deprecated)

Location Values

  • 0 - Standard key
  • 1 - Left modifier (Shift, Ctrl, Alt)
  • 2 - Right modifier
  • 3 - Numpad