Minecraft Kill Command Generator (Java & Bedrock)
Use this Kill Command Generator to quickly create the /kill command in Minecraft Java and Bedrock Edition 1.21+ and 26+. Select the target (@a, @p, @e, @s, @n, @r) and customize it with filters such as distance, gamemode, tag, entity type, and, in Bedrock, family and hasitem. Ideal for maps, servers, and datapacks.
Select your Minecraft edition:
Automatically Generated Kill Command
kill @pCustomize Command Target (Optional)
Want cheap and lag-free Minecraft hosting?
I recommend Sparked Host: affordable plans, great performance, easy panel and fast support.
🚀 Start your Minecraft ServerHow to Use the Kill Command in Minecraft
The Kill command allows you to instantly remove players, mobs, dropped items, and other entities in Minecraft. It is widely used to clean up the world, reset players, or remove unwanted entities in maps and servers.
In Java Edition, the basic format is:
/kill @e[type=item]
This command removes all dropped items on the ground in the world.
Kill Command Examples (Java)
Kill yourself
/kill @s
Kill all hostile entities
/kill @e[type=!player]
Kill the nearest player
/kill @p
Kill entities within an area
/kill @e[x=0,y=64,z=0,dx=10,dy=10,dz=10]
Kill Command Examples (Bedrock)
Kill entities by family
/kill @e[family=monster]
Kill entities holding an item
/kill @e[hasitem={item=diamond}]
Frequently Asked Questions
How do I kill all entities in Minecraft?
Use the command: /kill @e
How do I kill all players?
Use the command /kill @a, but be careful, as this affects everyone on the server.
How do I remove dropped items on the ground?
Use /kill @e[type=item] to remove all dropped items in the world.
Does the kill command work in Bedrock Edition?
Yes, but there are syntax differences between Java and Bedrock, such as the use of family and hasitem.
Does the kill command drop items from the killed entity?
No. When you kill an entity with /kill, it has no time to drop items, as it is removed instantly.