Ender pearl

Minecraft Teleport Command Generator

Teleport commands go wrong when relative and local coordinates get mixed up: ~ is relative to the entity, ^ is relative to the way it is facing. Build the destination visually, add rotation or a facing target, and copy a command that lands where you meant it to.

  • Absolute, relative (~) and local (^) coordinates
  • Teleport to an entity or to a position
  • Rotation, and facing an entity or a block

Example commands

To exact coordinates

/tp @p 100 64 -200

Absolute X Y Z. Swap any axis for ~ to keep the current value.

With rotation

/tp @p 100 64 -200 90 0

Yaw 90 faces west, pitch 0 is level -- land the player looking the right way.

To another entity

/tp @p @e[type=armor_stand,limit=1,sort=nearest]

Entity mode teleports to whatever the selector matches -- here the nearest armor stand.

FAQ

What is the difference between ~ and ^ in a teleport?

~ (tilde) is relative to the entity position along the world axes, so ~ ~5 ~ moves five blocks up. ^ (caret) is relative to the direction the entity faces, so ^ ^ ^5 moves five blocks forward. Mixing the two is the most common /tp mistake.

How do I teleport a player to face a specific point?

Use the facing argument: /tp @p <x> <y> <z> facing <x2> <y2> <z2> lands the player and turns them to look at the target. You can also face an entity with facing entity <selector>.

What is the difference between /tp and /teleport?

They are the same command — /tp is an alias for /teleport. Both accept coordinates, a destination entity, rotation and facing arguments.

How do I teleport a player to another dimension?

Wrap the teleport in /execute in <dimension> run tp ..., for example /execute in the_nether run tp @p 0 64 0. A bare /tp cannot change dimension on its own.