All commands
โ˜ ๏ธ
UtilityJava โœ“Bedrock โœ“

/kill

Instantly remove mobs, items, or players from the world.

Overview

What is the /kill command?

The /kill command instantly removes entities โ€” players, mobs, dropped items, projectiles, almost anything. With target selectors you can wipe a single mob type, clear lag-causing item drops, or reset an arena in one line.

Used on yourself it acts as a quick respawn; used with @e[type=...] it's the cleanest way to mass-remove specific entities.

When to use it: Use /kill to clear mobs or dropped items, reset an arena, or respawn yourself quickly.

At a glance

Syntax

Syntax
/kill [target]
commandtargetcoordsvaluerequiredoptional

See it

What it does

The target is removed

Anatomy

Every part, explained

  1. 1
    /killCommandRequired

    Deals fatal damage to its target.

  2. 2
    [target]TargetOptional

    Who or what to remove. Defaults to YOU.

Your turn

Try it yourself

Playground
2 tokens ยท press Enter to run

Copy & paste

Examples

/kill @e[type=zombie]

Wipe out every zombie.

/kill @e[type=item]

Clean up dropped items on the floor.

/kill @e[type=!player]

Remove everything except players.

Avoid these

Common mistakes

โœ•/kill
โœ“/kill @e[type=item]

With no target it kills YOU - always aim it.

โœ•/kill zombie
โœ“/kill @e[type=zombie]

Targets use selectors like @e, not bare names.

Good to know

Frequently asked questions

How do you kill all mobs with a command?
Run /kill @e[type=!player] to remove every entity except players, or target one type with /kill @e[type=zombie].
How do you clear dropped items?
Use /kill @e[type=item] to remove all items lying on the ground โ€” useful for clearing lag.
What does /kill do with no target?
Running /kill on its own kills you, sending you to the respawn screen โ€” a fast way to get back to spawn.

Keep going

Related commands