/fetchprofile Command in Minecraft Java Edition

Fetch Profiles by Name, UUID, or Entity

Java EditionServer AdminPermission: Level 2Added in 1.21.9

The /fetchprofile command in Minecraft Java Edition lets operators fetch profile data using three different methods. You can look up a profile by typing a specific name, entering a hyphenated UUID, or selecting an existing target in the world.

Server operators and map makers use this command when they need to check profile details using commands. Because it requires permission level 2, you must be an operator on a multiplayer server or have cheats enabled in your single-player world to run it.

Syntax (Java 26.3, 3 forms)

  1. /fetchprofile entity <entity>
  2. /fetchprofile id <id>
  3. /fetchprofile name <name>

The forms you will use most

/fetchprofile entity <entity>
Fetches the profile of a single target chosen with a player name, UUID, or target selector.
/fetchprofile id <id>
Fetches a profile using a specific entity UUID written in hyphenated form.
/fetchprofile name <name>
Fetches a profile that matches the text or name typed at the end of the command.

Arguments

ArgumentTypeWhat it means
<entity>target selector
one target
A target selector that picks one target, which can be a player name, a UUID, or a selector like @p, @a, @e, or @s.
<id>UUIDAn entity UUID that must be written in standard hyphenated form.
<name>text
rest of the line
A word or piece of text taking up the rest of the line to specify the profile name.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 26.1 Syntax changed.
    + /fetchprofile entity <entity>
  2. 1.21.9 Command added.

Tips

Common mistakes

Java vs Bedrock

The /fetchprofile command is only available in Minecraft Java Edition. Bedrock Edition does not have a command with this name.

FAQ

When was the /fetchprofile command added to Minecraft?

The /fetchprofile command was first added in Minecraft Java Edition 1.21.9, and the /fetchprofile entity form was added later in version 26.1.

What permission level do I need to use /fetchprofile?

You need permission level 2 to use this command, which means you must be a server operator or have cheats turned on in a single-player world.

Can I use /fetchprofile in Minecraft Bedrock Edition?

No, Minecraft Bedrock Edition does not have the /fetchprofile command.

Related commands

/ban/ban-ip/banlist/datapack/deop/kick/list/op/pardon/pardon-ip/publish/reload/save-all/save-off/save-on/setidletimeout