Minecraft Controls

This is a brief synopsis. For more details, see the Controls article.

Keyboard

Keys Function
W Move forward (or up, when navigating inventory)
A Move left
S Move backward (or down, when navigate inventory)
D Move right
Space Jump, double tap to start/stop flying, hold to fly higher
Shift Sneak, hold to fly lower
E Open inventory
Number keys Select inventory slot item to use
Esc Show/hide menu
Tab Release mouse without showing menu
Enter Confirm menu selection

Mouse

Movement Result
Steer Look/turn around
Left button Remove block (hold)
Right button Place block, hit block with sword
Mouse wheel Select inventory slot item to use