Minecraft /tp generator

Commands

Teleport to coordinates or players, or spread outLearn more

Teleport to coordinates with rotation and to another world, to a player or spread all across the map for an event — ready command /tp or /spreadplayers without errors in number order

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

Where

Coordinates x y z — a number, ~ or ^

Where to look

Or view point at x y z

Result

Example
/tp @s 0 100 0

Whole x and z place the block center: 10 becomes 10.5. Need exact angle — add a decimal: 10.0

How to use the result

  1. Your coordinates

    Press F3 in the game: the 'XYZ' line shows your current position, 'Facing' shows which direction you're facing. Note these values.

  2. to chat or block

    With operator permissions. In in a command block @p — the player closest to the block: used for teleportation on button press.

  3. Event spawn distribution

    «Scatter» spreads players to random safe locations — this starts hunger games and UHC.

What to know

  • ~ and ^ — shifts ~ ~10 ~ — 10 blocks up from self ^ ^ ^5 — 5 blocks forward in view direction. ^ cannot be mixed with numbers
  • Rotation: 0 — south, 90 — west, −90 or 270 — east, 180 — north. Pitch −90 — looking up, 90 — looking down.
  • Another world — command inside /execute in. Nether coordinates are eight times smaller: recalculates Nether coordinates calculator.
  • All /tp variations with examples — in the wiki "Commands".

For a more specific target selector, use selector generator, condition chain — /execute builder.

Frequently asked questions

How to teleport to coordinates in Minecraft?

With the /tp command and three numbers: /tp @s 100 64 -200. Your coordinates are shown as XYZ on the F3 screen. The page will generate a command with rotation and teleport to another world.

How to teleport to the Nether or End using a command?

Through /execute in: /execute in minecraft:the_nether run tp @s 0 64 0. Nether coordinates are eight times smaller than in the Overworld

How to spread players across a map?

Command /spreadplayers: center, distance between players, radius, and who to scatter. The radius must be at least 1 greater than the distance.