JsonMind
Sign in

Android KeyCode Lookup

Encoding & Text

Look up Android KeyEvent codes by number, constant name or keyboard purpose.

Android KeyEvent KeyCode

Search common Android key codes by number, constant name or keyboard purpose.

CodeConstantPurpose
3KEYCODE_HOMEHome
4KEYCODE_BACKBack
5KEYCODE_CALLCall
6KEYCODE_ENDCALLEnd call
7KEYCODE_0Digit 0
8KEYCODE_1Digit 1
9KEYCODE_2Digit 2
10KEYCODE_3Digit 3
11KEYCODE_4Digit 4
12KEYCODE_5Digit 5
13KEYCODE_6Digit 6
14KEYCODE_7Digit 7
15KEYCODE_8Digit 8
16KEYCODE_9Digit 9
17KEYCODE_STARStar
18KEYCODE_POUNDPound
19KEYCODE_DPAD_UPD-pad up
20KEYCODE_DPAD_DOWND-pad down
21KEYCODE_DPAD_LEFTD-pad left
22KEYCODE_DPAD_RIGHTD-pad right
23KEYCODE_DPAD_CENTERD-pad center
24KEYCODE_VOLUME_UPVolume up
25KEYCODE_VOLUME_DOWNVolume down
26KEYCODE_POWERPower
27KEYCODE_CAMERACamera
28KEYCODE_CLEARClear
29KEYCODE_ALetter A
30KEYCODE_BLetter B
31KEYCODE_CLetter C
32KEYCODE_DLetter D
33KEYCODE_ELetter E
34KEYCODE_FLetter F
35KEYCODE_GLetter G
36KEYCODE_HLetter H
37KEYCODE_ILetter I
38KEYCODE_JLetter J
39KEYCODE_KLetter K
40KEYCODE_LLetter L
41KEYCODE_MLetter M
42KEYCODE_NLetter N
43KEYCODE_OLetter O
44KEYCODE_PLetter P
45KEYCODE_QLetter Q
46KEYCODE_RLetter R
47KEYCODE_SLetter S
48KEYCODE_TLetter T
49KEYCODE_ULetter U
50KEYCODE_VLetter V
51KEYCODE_WLetter W
52KEYCODE_XLetter X
53KEYCODE_YLetter Y
54KEYCODE_ZLetter Z
55KEYCODE_COMMAComma
56KEYCODE_PERIODPeriod
57KEYCODE_ALT_LEFTLeft Alt
58KEYCODE_ALT_RIGHTRight Alt
59KEYCODE_SHIFT_LEFTLeft Shift
60KEYCODE_SHIFT_RIGHTRight Shift
61KEYCODE_TABTab
62KEYCODE_SPACESpace
66KEYCODE_ENTEREnter
67KEYCODE_DELDelete / Backspace
68KEYCODE_GRAVEGrave
69KEYCODE_MINUSMinus
70KEYCODE_EQUALSEquals
71KEYCODE_LEFT_BRACKETLeft bracket
72KEYCODE_RIGHT_BRACKETRight bracket
73KEYCODE_BACKSLASHBackslash
74KEYCODE_SEMICOLONSemicolon
75KEYCODE_APOSTROPHEApostrophe
76KEYCODE_SLASHSlash
77KEYCODE_ATAt sign
78KEYCODE_NUMNum
79KEYCODE_HEADSETHOOKHeadset hook
80KEYCODE_FOCUSCamera focus
81KEYCODE_PLUSPlus
82KEYCODE_MENUMenu
83KEYCODE_NOTIFICATIONNotification
84KEYCODE_SEARCHSearch
85KEYCODE_MEDIA_PLAY_PAUSEMedia play / pause
86KEYCODE_MEDIA_STOPMedia stop
87KEYCODE_MEDIA_NEXTMedia next
88KEYCODE_MEDIA_PREVIOUSMedia previous
89KEYCODE_MEDIA_REWINDMedia rewind
90KEYCODE_MEDIA_FAST_FORWARDMedia fast forward
91KEYCODE_MUTEMute
92KEYCODE_PAGE_UPPage up
93KEYCODE_PAGE_DOWNPage down
111KEYCODE_ESCAPEEscape
112KEYCODE_FORWARD_DELForward delete
115KEYCODE_CAPS_LOCKCaps lock
116KEYCODE_SCROLL_LOCKScroll lock
117KEYCODE_META_LEFTLeft Meta
118KEYCODE_META_RIGHTRight Meta
120KEYCODE_SYSRQPrint screen
122KEYCODE_MOVE_HOMEMove home
123KEYCODE_MOVE_ENDMove end
143KEYCODE_NUM_LOCKNum lock
187KEYCODE_APP_SWITCHApp switch
223KEYCODE_SLEEPSleep
224KEYCODE_WAKEUPWake up

Use cases

When to use Android KeyCode Lookup

Look up Android KeyEvent codes by number, constant name or keyboard purpose.

1Prepare android keycode lookup output for an API or documentation workflow
2Check a sample before applying it to production
3Use a reproducible result while debugging with a teammate
4Compare the text encoding observed by a proxy, gateway, and application service
5Generate or restore an encoding format required by a legacy system
6Diagnose garbled multilingual content, emoji, and cross-region request data
7Compare byte representations found in logs, message queues, and databases
8Convert between URLs, Base encodings, Hex, HTML entities, and Unicode escapes
9Prepare compatibility samples for compressed transport and legacy protocols
10Generate stable IDs, timestamps, regular expressions or text comparisons
11Normalize documentation, logs, field names and developer configuration

Guidance

Get reliable results

  1. 1Use representative but non-sensitive test data
  2. 2Review the generated result against the target platform
  3. 3Keep a copy of the source before replacing production data
Platform-specific rules and production policies still require review.

Related tools

All Encoding & Text