Minecraft Give Command Generator for Custom Items

Choose an item, give it a coloured name and lore, add any enchantment at any level and copy the /give command. The generator writes the right syntax for your version, from the newest item components to the old NBT format.

Free · item components for Java 26.3, older NBT and Bedrock

Item

Name and lore

Enchantments

Extras

Your /give command

How to make a custom item with /give

  1. Type the item ID, for example diamond_sword, netherite_pickaxe or elytra. The list suggests every item in Java 26.3.
  2. Choose your version. The format of custom items changed twice in recent years, so the right version matters.
  3. Give it a name and lore, add enchantments at any level from 1 to 255 and pick extras such as Unbreakable.
  4. Copy the command and run it with cheats on. If it is longer than 256 characters, paste it into a command block instead of chat.

Why old /give commands stopped working

VersionFormatExample
Java 1.21.5 – 26.3Item components, text written as SNBTdiamond_sword[custom_name={text:"Blade",italic:false},enchantments={sharpness:10}]
Java 1.20.5 – 1.21.4Item components, text as JSON stringsdiamond_sword[custom_name='{"text":"Blade"}',enchantments={levels:{sharpness:10}}]
Java 1.14 – 1.20.4NBT tags in curly bracketsdiamond_sword{display:{Name:'{"text":"Blade"}'},Enchantments:[{id:"minecraft:sharpness",lvl:10s}]}
BedrockJSON components, no names or enchantmentsdiamond_sword 1 0 {"minecraft:keep_on_death":{}}

In Java 1.20.5 Mojang replaced item NBT with data components in square brackets. In 1.21.5 text inside components switched from JSON strings to SNBT, the levels wrapper around enchantments was removed, and hiding tooltip lines moved to a single tooltip_display component. A command written for one of these versions will fail in the others.

Popular custom items

  • God sword: netherite sword with Sharpness 255, Looting 10, Fire Aspect 10, Sweeping Edge 10 and Unbreakable.
  • Super pickaxe: netherite pickaxe with Efficiency 255 and Fortune 10. It mines most blocks instantly.
  • Knockback stick: stick with Knockback 10, a favourite for PvP minigames.
  • Unbreakable elytra: elytra with Unbreakable, so you never need Mending again.

Enchantment levels above the normal maximum only exist through commands. Anvils won't combine them, and on servers they can be removed by anti-cheat plugins.

Tips

  • Turn off italics: renamed items are shown in italics. The generator adds italic:false to your name unless you turn it off.
  • Several colours in one name: add another part in the name editor to change colour or style partway through.
  • Attribute bonuses (newest versions only) replace the item's default stats, so a sword with a damage bonus loses its normal attack speed unless you add it back.
  • Need other commands, like effects or game rules? Try the command generator. For a signed book, use the book generator.

Frequently asked questions

How do I give myself a custom item in Minecraft?
Choose the item and options here, copy the /give command and paste it in chat or a command block with cheats on. The item goes straight into your inventory.
Why doesn't my old /give command work any more?
Java 1.20.5 replaced item NBT with data components, and 1.21.5 changed how text inside them is written. A command written for an older version usually fails. Pick your version and the generator uses the right format.
Can I get enchantments above level 5?
Yes. Commands allow enchantment levels up to 255, such as Sharpness 10. Survival enchanting is still limited to the normal maximum.
Can I give custom items on Bedrock?
Only partly. Bedrock's /give can lock items, keep them on death and set where they can be placed or what they can break, but it can't set names, lore or enchantments.