Eliminate Players and Entities Instantly
The /kill command in Minecraft Java Edition allows you to eliminate players or entities in the world. It requires permission level 2, which means you must be an operator on a server or have cheats enabled in single-player.
Players often use this command to reset their own character, remove stuck entities, or clear every entity in the world at once. Starting in version 1.15, the target argument became optional instead of required.
/kill [<targets>]/kill [<targets>]| Argument | Type | What it means |
|---|---|---|
<targets> | target selector | Specifies who to eliminate using a player name, a UUID, or a target selector such as @p, @a, @e, or @s. |
/killRuns the command without any target argument, which has been valid syntax since version 1.15.
/kill @sEliminates the player or entity that is currently running the command.
/kill @pEliminates the nearest player to the location where the command is executed.
/kill @aEliminates every online player in the game at the same time.
/kill @eEliminates all entities currently loaded in the world.
/kill SteveEliminates the specific player named Steve by using their username.
/kill 069a79f4-44e9-4726-a5be-fca90e38aaf5Eliminates a specific target by entering its unique UUID.
Measured from the game files of every Java release from 1.13 to 26.3.
Minecraft Bedrock Edition also includes the /kill command, where it uses the syntax /kill [target: target].
You need permission level 2, which means you must be a server operator or have cheats enabled in a single-player world.
In version 1.15 up to 26.3, the target argument is optional in /kill [<targets>], whereas in earlier versions like 1.13 the syntax /kill <targets> required you to specify a target.
You can enter a player name, a UUID, or a target selector like @p, @a, @e, or @s.
/advancement/attribute/damage/defaultgamemode/effect/experience/gamemode/ride/rotate/spawnpoint/spectate/spreadplayers/summon/swing/teleport/tp