Hotkeys and shortcuts for Minecraft Java Edition

(Total 44)

Mouse wheel up and down
Non-configurable hotkeys
Scroll through quick-bar and the chat when opened
Esc
Non-configurable hotkeys
Exit the chat / command window
F1
Non-configurable hotkeys
Toggle heads up display (HUD)
F2
Gameplay
Take screenshot
↑   Shift + Mouse left click
Non-configurable hotkeys
In the survival inventory tab of the creative inventory, Shift + clicking the X clears the whole inventory. In any other tab, Shift + clicking an item puts a stack into the hotbar
↑   Shift + ↑  ↓
Non-configurable hotkeys
In the Multiplayer server selection menu, Shift + up and Shift + down moves a server name to a specific position. You can also hold shift while a server name is selected left click another server name and they will swap
F3
Debug screen
Toggle showing extra debug information
1 - 9
Gameplay
Hotbar slot
0
Debug screen
Display less detailed graph
↑   Shift + F3
Debug screen
Display Profiler graph
F3 + Q
Debug screen
Display Help menu that lists all F3 shortcuts
F3 + A
Debug screen
Reload all chunks
F3 + T
Debug screen
Reload all textures, sounds and web-loaded client resources. This is useful for resource pack makers
F3 + P
Debug screen
Toggle the auto-pause when the window is out of focus
F3 + H
Debug screen
Toggle detailed item descriptions
F3 + C
Debug screen
Hold these keys at least for 6 seconds to trigger a manuel debug crash on purpose, after the keys are released
F3 + B
Debug screen
Toggle showing hitbox around entities
F3 + D
Debug screen
Clear chat history, including previous commands
F3 + N
Debug screen
Cycle the player's game mode between Creative and Spectator
F3 + G
Debug screen
Show the chunk boundaries immediately surrounding the player
Space
Configurable hotkeys
Jump
Space then Space
Configurable hotkeys
(double tap) Toggle Fly Mode in Creative mode
↑   Left Shift
Configurable hotkeys
Sneak
Left Control
Configurable hotkeys
Sprint
A
Configurable hotkeys
Strafe left
D
Configurable hotkeys
Strafe right
S
Configurable hotkeys
Walk backward
W
Configurable hotkeys
Walk forward
Mouse left click
Gameplay
Attack / destroy
Mouse middle click
Gameplay
Pick block
Mouse right click
Gameplay
Use item / place block
Q
Gameplay
Drop item
Ctrl + Q
Gameplay
Drop whole stack of items. On Mac, use shortcut below, because this shortcut will quit game
Control + ⌘ Cmd + Q
Gameplay
(Mac) Drop whole stack of items
E
Gameplay
Open Inventory. Close any open GUI
F
Gameplay
Swap items in hands
X + 1 - 9
Gameplay
Load toolbar activator
C + 1 - 9
Gameplay
Save toolbar activator
⭾ Tab
Gameplay
(in chat window) Cycle through possible commands or arguments and also complete player names
T
Gameplay
Open chat
/
Gameplay
Open command (open the chat window with "/" character already typed")
L
Gameplay
Advancements
F11
Gameplay
Toggle full screen
F5
Gameplay
Toggle Perspective