Minecraft
Minecraft Teleport Command
Minecraft has three separate coordinate notations and they cannot be mixed inside one position. That is the single thing that makes /tp fail, and it is not obvious from the syntax line the wiki prints.
Pick what you want to do below and the builder writes the command with the right notation for it.
Caret notation is Java Edition only. A caret command pasted into Bedrock fails, and that is a limitation of the edition rather than a mistake in the command.
Teleport Command Builder
Pick what you want to do, fill in the coordinates or target, and copy the finished command. The reference below covers every form of /tp.
Absolute coordinates. The same three numbers always take you to the same place, wherever you started.
Your command
/tp @s 100 64 -200Y is height. Sea level is 62, and going below 0 is only valid in worlds from 1.18 onwards.
Teleport command reference
Every notation and selector, searchable. Each line copies with a tap.
Showing 16 of 16
Absolute coordinates
Three plain numbers: X, Y (height) and Z.
Coordinates
Relative offset
Tilde notation moves you from where you already are.
Coordinates
A bare tilde means no change on that axis.
Local, facing-relative
Caret notation: left, up, forward from your view direction.
Coordinates
Java Edition only. Bedrock does not accept caret coordinates.
Straight up
Raise yourself without changing X or Z.
Coordinates
To another player
Moves you to wherever the named player is.
Targets
Nearest player to you
Pulls whoever is closest to your position.
Targets
Everyone to you
Brings every player on the server to your position.
Targets
A random player
Picks one player at random.
Targets
Every entity
Moves all entities, mobs included. Use with care.
Targets
This includes every loaded mob. On a busy world it is not reversible.
Nearest cow
A filtered entity selector: type plus a count limit.
Targets
Face a player on arrival
Teleport and look at someone.
Rotation
Set yaw and pitch
Two angles in degrees after the coordinates.
Rotation
Yaw runs -180 to 180; pitch runs -90 (straight up) to 90 (straight down).
Face a fixed point
Look at a coordinate rather than an entity.
Rotation
Long form
The full command name. /tp is a shorthand for it.
Syntax
Teleport to spawn
Common shorthand for returning to world spawn.
Syntax
Only correct if your world spawn is at the origin. Check with F3 first.
Cross-dimension
Move to the same coordinates in another dimension.
Syntax
Java Edition. /tp on its own cannot change dimension.
The Three Coordinate Notations
Absolute coordinates are plain numbers and point at a fixed spot. /tp @s 100 64 -200 puts you at that exact place regardless of where you were standing when you typed it. Y is height: sea level is 62, and negative values are only valid in worlds generated from 1.18 onwards.
Relative coordinates use a tilde and are measured from wherever you already are. /tp @s ~10 ~ ~-5 moves you ten blocks east and five blocks north without changing your height. A bare tilde with no number means no change on that axis, which is why ~ ~50 ~ is the standard way to go straight up.
Local coordinates use a caret and are measured from the direction you are looking, in the order left, up, forward. /tp @s ^ ^ ^10 moves you ten blocks forward from wherever you are facing, which is the only one of the three that follows your view. It is Java Edition only.
The rule that breaks commands is that all three values in one position must use the same notation. You cannot write 100 ~5 -200, and the command is rejected rather than partially applied.
Target Selectors and Facing
The target argument decides who moves. @s is yourself, @p is the nearest player, @a is everyone, @r is a random player and @e is every entity. @e is worth treating carefully — it includes every loaded mob, and teleporting all of them into one place is not something you can undo.
Selectors take filters in square brackets, so @e[type=cow,limit=1] is the nearest cow and nothing else. The limit is what stops a filter matching more than you intended.
You can also teleport one target to another rather than to coordinates. /tp @a @s brings every player on the server to you, and /tp @s Steve sends you to a named player.
The facing argument sets which way you are looking when you arrive, and takes either an entity or a coordinate. The alternative is a pair of rotation angles after the coordinates: yaw runs from -180 to 180 and pitch from -90 for straight up to 90 for straight down.
One thing /tp cannot do on its own is change dimension. In Java Edition that needs /execute in with the dimension named, then the teleport run inside it.
Cheats, Permissions and Achievements
Commands need cheats enabled in the world. In single player that is a checkbox when you create the world, or the Open to LAN screen if the world already exists — opening to LAN with cheats on is the standard way to enable them in a world that started without.
On a server, /tp needs operator permission level 2. Without it the command is refused rather than silently ignored, so the failure at least tells you what is wrong.
Enabling cheats disables advancements for that world in Java Edition, which is the trade to be aware of before turning them on in a world you care about the progress in.
Frequently Asked Questions
What is the teleport command in Minecraft?
/tp followed by a target and a destination, for example /tp @s 100 64 -200. /teleport is the full name and works identically.
What is the difference between ~ and ^ in Minecraft coordinates?
A tilde is relative to your position — ~10 means ten blocks along that axis from where you are. A caret is relative to the direction you are facing, in the order left, up, forward. Caret notation is Java Edition only.
Why is my teleport command not working?
Most often because the three coordinates mix notations. All three values in one position must be the same type — you cannot combine plain numbers with tildes. The other causes are cheats being switched off, or not having permission level 2 on a server.
How do I teleport straight up in Minecraft?
/tp @s ~ ~50 ~ raises you fifty blocks without changing your horizontal position. The bare tildes mean no change on those axes.
Can I teleport to another dimension with /tp?
Not with /tp alone. In Java Edition you need /execute in minecraft:the_nether run tp @s 100 64 -200, naming the dimension you want.
Does using commands disable achievements?
Enabling cheats in a Java Edition world disables advancements for that world. The commands themselves are not the trigger — switching cheats on is.