Minecraft command generator
Pick a command, fill in the boxes and copy a line that works.
Move a player to coordinates, or to another player. ~ means relative to where they stand.
/tp @s 0 100 0 Commands without the guesswork
Pick a command, fill in the boxes and copy the line. The generator writes the namespace (minecraft:) and the argument order for you, so a typo in a block id or a swapped coordinate does not cost you a test run.
To run them you need operator rights. On a Saryno server open the Console tab, or press T in the game if you are an operator. If you need item commands with names, lore and enchantments in one go, use the give command generator.
Questions
Do I type the slash?
In the game chat, yes. In the server console or a command block, leave the slash off (command blocks accept it too, the console does not).
What do @p, @a, @s and @r mean?
@p is the nearest player, @a is every player, @s is whoever runs the command and @r is a random player. @e targets every entity, so use it with care.
Why does a command say "Unknown or incomplete command"?
A value is missing or in the wrong place, the version is older than the command, or you are not an operator. The red text points at where it stopped understanding.
What does ~ mean in coordinates?
~ is the position of whoever runs the command. ~5 is five blocks along that axis, ~-5 five blocks the other way. ^ is relative to where the player looks.
Are these commands for Java or Bedrock?
They are Java Edition commands for current versions. Bedrock uses similar names but some arguments differ, so check on a Bedrock world before relying on one.
Related guides
More free tools
Ready to run it?
3 GB is free forever, with no card and no ads. Add memory when you need it.