Heads-up display

The heads-up display or HUD appears on screen while the player is in the game. It is superimposed on his or her view of the game world.

The HUD consists of the user's health bar, hunger bar, experience bar, and hotbar, as well as a cross-hair that pinpoints where he or she is looking. The armor condition bar appears above the health bar if the player is wearing armor. The oxygen bar will display above the hunger bar if the player is underwater. The HUD also contains, if applicable, the unlicensed copy note.

Players can remove the HUD by pressing the key on their keyboards (and pressing  again to show it).

You cannot remove the HUD in pocket edition.