Free browser tool

Minecraft Kill Command Generator

Build a Java Edition /kill command: remove yourself, every entity, a specific mob type from all 157 entities, or everything within a radius.

Entity data: Java Edition 26.2 · 157 entities

Build Your /kill Command

Generated command /kill @s

How the /kill Command Works

The syntax is simply /kill <target> — the target selector decides what dies. /kill @e removes every entity in the world (players excluded in singleplayer only if no players match), @e[type=minecraft:zombie] removes one mob type, and @e[distance=..10] removes everything near the executor.

Examples

/kill @e[type=minecraft:zombie]

Remove every zombie in the world.

/kill @e[type=minecraft:item,distance=..20]

Clean up dropped items within 20 blocks.

/kill @e[distance=..10]

Remove all entities within 10 blocks of the executor.

Minecraft Kill Command Generator FAQ

How do I remove only dropped items?

Use /kill @e[type=minecraft:item]. Add a distance limit like @e[type=minecraft:item,distance=..50] to protect distant storage systems.

Does /kill @e remove players too?

Yes — @e includes players. Use @e[type=!minecraft:player] to remove every non-player entity, or a specific type selector.

Can I undo a /kill?

No. Entities removed by /kill are gone permanently. On important maps, test the selector first with /execute if entity <selector> run say matched.

Related Tools