Most of these need operator permission — run them from an op's chat, a command block, or the server console.

How to Use the Teleport Command Generator

  1. Pick a mode: To Coordinates for an exact X Y Z position, or To Entity to jump straight to wherever another entity currently is.
  2. Set the Target – the entity being moved. The default @s means the command’s own executor; swap in a player name or a selector like @e[type=minecraft:cow] to move something else.
  3. In coordinate mode, fill in X/Y/Z (each accepts ~ relative notation, e.g. ~ ~10 ~), then optionally choose a facing mode – none, facing a fixed point, or facing another entity – or set yaw/pitch directly.
  4. Copy the generated /tp command into a command block, the console, or an operator’s chat.

Command Syntax Reference

/tp <target> <x> <y> <z> [facing <fx> <fy> <fz> | facing entity <facingTarget>]
/tp <target> <x> <y> <z> [<yaw> <pitch>]
/tp <target> <destination>

/tp is the modern alias of the old /teleport command – both work identically in current Java Edition. There are two independent forms: teleport to a literal position (with an optional facing override), or teleport directly to wherever another entity is standing. Facing and explicit yaw/pitch are mutually exclusive – the generator applies whichever one is selected. Coordinates accept the usual ~ (relative to command origin) and ^ (local/directional) notation as well as absolute numbers.

Frequently Asked Questions

What’s the difference between /tp and /teleport?

None functionally – /teleport is the original command name and /tp is a shorter alias added later. Both accept the exact same arguments and produce identical behavior in Java Edition.

Can I teleport a player to another player instead of coordinates?

Yes – that’s the To Entity mode. /tp @s @e[type=cow,limit=1] moves the executor to the nearest cow’s exact position, and the same pattern works with a player name or any single-entity selector as the destination.

Why does teleporting sometimes ignore my yaw and pitch?

Yaw and pitch only apply when you’re teleporting to fixed coordinates without a facing override. If a facing clause is present, the game calculates the look direction toward that point or entity instead, and any yaw/pitch you entered is not used.

Does /tp work across dimensions?

Not directly with a plain /tp to coordinates – that command operates within the executor’s current dimension. To move a player between the Overworld, Nether, and End, use /execute in <dimension> run tp @s <x> <y> <z>.

Related Tools