Minecraft wiki entry for Damage, associated text: Damage to tools and armor can be viewed in the item's tooltip by pressing the debug key combination F3 + H in Java Edition. If the player is playing on a Mac, they have to press fn + F3 + H.