Minecraft Target Selector Generator
Build @a, @e, @p, @r and @s selectors with distance, score, tag, type and NBT arguments — and copy the command-ready selector string instantly.
Generated selector
@e[type=minecraft:zombie,distance=..10]Quick starts
Entity & name
Type
Name
Position & distance
Distance
..
Position (x y z)
Volume (dx dy dz)Box size from the position
Rotation
Vertical look (x_rotation)
..
Horizontal look (y_rotation)
..
Scoreboard & state
Experience level
..
Game mode
Team
Tags
Scores
Advanced
NBT
Predicate
Limit
Sort
About target selectors
Target selectors (@a, @e, @p, @r, @s) decide which players or entities a Minecraft command affects. Arguments inside the square brackets narrow the result; for example @e[type=zombie,distance=..10] selects every zombie within 10 blocks of where the command runs. This tool runs entirely in your browser and produces Java Edition 1.13+ syntax.