Player Head Generator - From a Username

Build a Java /give command for a custom player head from a username or a texture value. Component and legacy NBT syntax, with a live head preview.

How this page uses the network

The command is built entirely in your browser. To draw a head preview from a username, the page loads an image from the public third-party service mc-heads.net using only the name you type. If you upload a skin PNG, it is cropped on a local canvas here and is never uploaded anywhere.

Command syntax
1 - Choose the head source
Head preview for Notch

The head copies whatever skin this account uses now. The preview is rendered by mc-heads.net from the name only; if it cannot be found, the preview hides but the command still builds.

Preview a head from a skin PNG (optional)

Drop a skin PNG to see the head it would make. This is preview only: a /give for an arbitrary uploaded skin is not possible unless that texture is hosted by Mojang. For a working command, use a username or a texture value/URL above.

Get a link to this design. Sign in to keep it and publish it. Browse player heads
2 - Command options

@p nearest player, @a everyone, @s yourself, @e entities, or type an exact player name.

A count above 1 is appended to the command. A display name renames the head item; leave it blank to keep the default name.

3 - Your command
Generated command
/give @p minecraft:player_head[profile="Notch"]

Component syntax needs Minecraft 1.20.5 or newer. Run it from an opped account or a command block (cheats on).

Java Edition only. Bedrock distributes custom heads through a separate addon system and is out of scope for this generator.

Generate a Custom Player Head Command

A Minecraft player head is the player_head item, and a /give command can hand it out already wearing a chosen face. Pick a username or a texture value, choose your version's syntax, and copy a ready-to-run command. Everything is assembled in your browser; only the optional head preview reaches out to a public skin service.

The fastest path is by username. Type an account name and the command embeds that player's profile, so the head shows whatever skin they wear. The other path is by texture, where you supply a base64 texture value or a textures.minecraft.net hash or URL. When you give a URL or hash, the page encodes the base64 for you, so you can paste either form.

/give requires operator permission, so run it with cheats on, with op on a server, or from a command block. The head item works in Java Edition; Bedrock distributes custom heads through a separate addon system.

Component Syntax vs Legacy NBT

Minecraft changed how item data is written on commands. In 1.20.5 and newer, item data uses square-bracket components, so a head looks like minecraft:player_head[profile="Notch"]. In 1.20.4 and older, item data uses curly-brace NBT, so the same head is minecraft:player_head{SkullOwner:"Notch"}. The toggle at the top of the tool switches between the two so you copy the right one for your version.

For a custom skin, the component form nests the texture under profile={properties:[...]} and the NBT form nests it under SkullOwner:{Properties:...}. Here are a few commands you can copy and adapt:

Notch's head to the nearest player (1.20.5+)
/give @p minecraft:player_head[profile="Notch"]
Same head on 1.20.4 and older (legacy NBT)
/give @p minecraft:player_head{SkullOwner:"Notch"}
64 Steve heads to everyone (1.20.5+)
/give @a minecraft:player_head[profile="MHF_Steve"] 64
A named head from a texture value (1.21.5+)
/give @s minecraft:player_head[profile={properties:[{name:"textures",value:"BASE64_TEXTURE_VALUE"}]},custom_name="Trophy"]

Community custom player heads

See all 24

Open any of these in the Player Head Maker to change it. Save your own with the Save & share button above, then publish it to the custom player heads gallery.

Frequently Asked Questions

How do I give a player head in Minecraft?

Run a /give command targeting minecraft:player_head. The simplest form is /give @p minecraft:player_head, which gives a blank head. To get a specific player's face you attach a profile (1.20.5 and newer) or a SkullOwner tag (1.20.4 and older). This tool builds the full command for you in either syntax.

How do I get a player head from a username?

Switch to the By username mode, type the account name, and copy the command. In 1.20.5 and newer it is /give @p minecraft:player_head[profile="Notch"]; in 1.20.4 and older it is /give @p minecraft:player_head{SkullOwner:"Notch"}. The head shows whatever skin that account currently uses.

How do I use a custom texture instead of a username?

Switch to the By texture mode and paste a base64 texture value, or a textures.minecraft.net hash or URL which the page encodes to base64 for you. The command uses profile={properties:[{name:"textures",value:"..."}]} on 1.20.5 and newer, or a SkullOwner Properties textures tag on older versions. The texture must be one Mojang already hosts.

Does this work in Minecraft Bedrock Edition?

No. This generator is for Java Edition. Bedrock does not have the same player_head item data or /give syntax, and custom heads on Bedrock are distributed through a separate addon system, which is out of scope here.

Why does my head show as Steve instead of the skin?

A username head resolves its skin from Mojang's servers, so it can briefly show the default Steve or Alex face while the texture loads, or stay default if the name is misspelled or has no custom skin. For texture mode, double check the base64 value or texture hash is correct and points to a texture Mojang hosts.

Do I need to be an operator to run the command?

Yes. /give requires operator permission, so you need cheats enabled in a singleplayer world, op on a server, or a command block. Without it the command will not run.

Make a custom totem next, or browse more Minecraft tools: