Skip to content
[/craft]

Give an Anvil

Get an anvil for renaming and combining gear

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Gives an anvil, normally a 31-iron-ingot investment. Use it to combine enchantments, repair tools, and rename items (or name tags). Anvils damage over time and can drop on mobs as a weapon — see the falling anvil command for that trick.

/give @p anvil
14 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Place the anvil and right-click to open it.
  4. Combine two enchanted items or rename gear for a few XP levels.

Related commands

Get a diamond sword pre-enchanted with Sharpness V

/give @p diamond_sword[enchantments={sharpness:5}]

Get an enchanted book with Mending

/give @p enchanted_book[stored_enchantments={mending:1}]

Get a netherite sword pre-enchanted with Sharpness V

/give @p netherite_sword[enchantments={sharpness:5}]

Get a netherite pickaxe pre-enchanted with Fortune III

/give @p netherite_pickaxe[enchantments={fortune:3}]

Get a netherite pickaxe with Silk Touch

/give @p netherite_pickaxe[enchantments={silk_touch:1}]

Get a trident that returns to you after being thrown

/give @p trident[enchantments={loyalty:3}]