Skip to main content
Minecraft Items

Name tag in Minecraft: how to get, rename, and use it

By July 13, 2026No Comments

What a name tag is

A name tag is an item that lets you give a mob a custom name. Use one on a cow, a wolf, a villager, or almost any other creature, and its name floats above its head like a label. The name sticks around until the mob dies.

There is one more reason players hunt for name tags, and it matters more than the label itself: a named mob will not despawn. Wandering animals and many other mobs can vanish if you walk too far away or leave them alone too long. Give one a name and it stays put for good. That makes name tags the standard way to keep a favorite pet, a hauled-home villager, or a captured mob from disappearing.

You cannot craft a name tag. The only way to get one is to find it, fish it up, or buy it from a villager. Once you have one, you also have to rename it on an anvil before it does anything. A blank name tag is useless on its own.

How to get a name tag

There is no crafting recipe, so every name tag comes from one of three sources.

Fishing

Name tags are part of the treasure pool when you fish. Cast a line into open water and, on a lucky catch, you can reel one in alongside enchanted books, bows, and saddles. The odds are low, but a fishing rod with Luck of the Sea raises your chance of pulling treasure instead of junk or plain fish. If you have a working AFK fishing spot, name tags will trickle in over time.

Chest loot

Name tags show up in generated structure chests. Dungeons, abandoned mineshafts, woodland mansions, and ancient cities all have a chance to hold one. None of these guarantee a name tag, so think of it as a nice bonus when you are already raiding a structure for other loot rather than a place to farm them reliably.

Trading with a librarian

The most dependable source is a villager. A master-level librarian sells name tags for around 20 emeralds each. If you have a librarian trading hall, or you are willing to level one up with bookshelves and lecterns, this turns name tags from a rare drop into something you can buy on demand. For most players who want several name tags, the librarian is the way to go.

How to use a name tag

Using a name tag is a two-step process, and the first step trips up a lot of new players.

First, you have to rename the name tag itself. Place it in an anvil, type the name you want into the text field, and pay the experience cost to confirm. The name tag now carries that text. You cannot type a name directly onto a mob, and you cannot rename a name tag at a crafting table or grindstone. It has to be the anvil.

Second, hold the renamed name tag and use it on the mob you want to name. On Java, right-click the mob; on Bedrock, tap and hold or press the use button while aiming at it. The name appears above the mob and the name tag is consumed in the process, so one name tag names exactly one mob.

If you try to use a name tag that still says nothing, it will not work. Rename it first, every time.

What naming a mob does

The headline effect is that named mobs stop despawning. A wandering trader, a horse you tamed in the wild, or a villager you ferried across the map will normally risk disappearing under the right conditions. A name removes that risk. This is why people name pets and any mob they put real effort into collecting.

The visible name also stays on screen only when you look near the mob, so a named farm of animals will not clutter your whole view. The label fades when you look away and reappears when you aim at the mob again.

A few limits are worth knowing. A name does not make a mob invincible, so a named wolf can still die in a fight and a named villager can still be killed by a zombie. Naming also will not save hostile mobs if you switch the world to Peaceful difficulty, since Peaceful clears those mobs out regardless of their name. And you cannot name the ender dragon or other players.

Which mobs are worth naming

Name tags are a limited resource, so it helps to spend them where the anti-despawn effect actually earns its keep.

Tamed pets are the obvious pick. Wolves, cats, and parrots already stay loyal once tamed, but a name makes them safe to leave at a base or take on long trips without worrying they slip away. Horses, donkeys, and mules are good candidates too, since a strong horse takes real effort to find and breed.

Villagers are the other big one. If you move a villager to a new trading hall or rescue one from a raid, a name tag locks it in place so it cannot wander off or vanish. The same goes for any captured hostile mob you want to keep for a farm or a display, like a charged creeper or a specific variant you spent time hunting.

What is usually not worth a tag is a common farm animal you can breed back in seconds. Cows, pigs, and chickens in a fenced pen are already safe from despawning because breeding keeps the population fresh, so save your tags for the mobs you cannot easily replace.

Secret names and Easter eggs

Mojang hid several jokes behind specific names. Type one of these into the anvil before you apply the tag and you get a special effect.

  • Dinnerbone or Grumm flips the mob upside down. It still behaves normally, just rendered inverted.
  • jeb_ on a sheep makes its wool cycle smoothly through every dye color. Shear it and you still get wool in its original color, so the rainbow is visual only.
  • Toast on a rabbit gives it a unique black-and-white skin, added as a memorial to a player’s lost pet rabbit.
  • Johnny on a vindicator turns it aggressive toward almost every other mob, not just you. A Johnny vindicator will hunt down animals and villagers on sight.

These names are case-sensitive, and the underscore in jeb_ is part of the name. Get the capitalization wrong and you just get a normally named mob.

Tips and common mistakes

Stock up from a librarian if you plan to name a lot of mobs. Relying on fishing or chests for more than one or two name tags gets slow fast.

Rename the tag before you go looking for the mob, not after. It is easy to corner a mob, go to apply the tag, and realize it is still blank.

Remember the anvil costs experience. Renaming is cheap, but if you are also repairing or enchanting gear on the same anvil, the prior-work penalty can stack and make later uses pricier. Use a fresh anvil for naming if costs climb.

Name tags are not the same as renaming a mob through other means. You cannot rename a mob a second time by hand once it is named; you would need another name tag with the new text.

Java and Bedrock differences

The core behavior is the same on both versions: find or buy a name tag, rename it on an anvil, use it on a mob to name it and stop it from despawning. The Easter egg names work on both as well.

The main practical difference is the input. Java uses right-click to apply the tag, while Bedrock uses the use button or a tap-and-hold on touch controls. Trade prices and loot odds can also vary slightly between versions and editions, so treat the 20-emerald librarian price as a close guide rather than an exact figure on every platform.

Frequently asked questions

Can you craft a name tag in Minecraft?

No. There is no crafting recipe. You can only get name tags from fishing, chest loot, or trading with a master-level librarian villager.

Why isn’t my name tag working?

The most common reason is that you never renamed it. A name tag does nothing until you rename it on an anvil. If it still has no text, using it on a mob has no effect.

Does a name tag stop a mob from despawning?

Yes. Naming a mob keeps it from despawning. The exception is Peaceful difficulty, which still removes hostile mobs whether or not they are named.

Can you name any mob?

Almost. You can name nearly every mob in the game, including villagers and most hostile mobs. You cannot name the ender dragon or another player.

What does naming a sheep jeb_ do?

A sheep named jeb_ cycles its wool through all the dye colors as an animation. If you shear it, the wool you collect is still its original color.

Can you reuse a name tag?

No. The name tag is consumed when you apply it to a mob. To name another mob, you need another name tag.

The bottom line

If you only ever grab one name tag, save it for a pet or a villager you would hate to lose, since the anti-despawn effect is worth more than the label. And if you want to name a whole zoo, get a librarian to master level and buy them in bulk rather than fishing for hours.