JAVA 1.21.5 – 26.x · 1.20.5 · OLDER · BEDROCK
Minecraft Give Command Generator
Build a custom item and this Minecraft give command generator writes the /give command for you: enchantments, custom name and color, lore, unbreakable, and the right syntax for your version. Pick Java 1.21.5 to 26.x, Java 1.20.5 to 1.21.4, Java 1.14 to 1.20.4, or Bedrock, then copy the command into chat or a command block.
Runs in your browser. Nothing to download, and no seed needed.
More Minecraft finders
Village Finder
Find the closest villages to spawn for an easy first night.
Biome Finder
Find cherry groves, mushroom fields and the deep dark.
Slime Chunk Finder
Spot slime chunks below Y=40 for farms, Java and Bedrock.
Stronghold Finder
See every stronghold ring, so you need fewer Eyes of Ender.
Ancient City Finder
Locate deep dark cities and plan a quiet route in.
Nether & End
Fortresses, bastions, end cities and end gateways.
Seed Finder
Search for seeds with a village and a rare biome near spawn.
3D Seed Viewer
Rotate mountains and valleys around any spot on your seed.
About the Give Command Generator
The /give command changed twice in recent years. In 1.20.5, Java replaced item NBT tags with item components, and in 1.21.5 the way names, lore and enchantments are written changed again. That’s why a command from an old video often fails with an error today. This generator writes the correct format for the version you choose.
What you get on this page:
- Every version: Java 1.21.5 to 26.x, 1.20.5 to 1.21.4, 1.14 to 1.20.4, and Bedrock
- Any target: @p, @s, @a or @r
- Enchantments: only the ones the item accepts, at normal or overpowered levels up to 255
- Custom name: with a color and bold, without the default italics
- Lore: as many lines as you like
- Unbreakable: one click
- Length check: a warning when the command is too long for chat
How to Use the Give Command Generator
Step 1: Choose Your Version
Pick the version your world or server runs. This matters more than anything else, because each version uses different syntax.
Step 2: Pick the Item and Count
Choose an item, like a Netherite Sword or Diamond Chestplate, and how many you want. Tools, weapons and armor stack to 1.
Step 3: Add Name, Lore and Enchantments
Type a custom name, pick a color, add lore lines, and tick the enchantments. Turn on Allow levels above max for things like Sharpness 10.
Step 4: Copy the Command
Press Copy and paste it into chat with cheats on, or into a command block. From the server console, leave out the first slash.
/give Command Syntax
| Version | Syntax |
|---|---|
| Java 1.21.5 – 26.x | /give @p item[component=value] count |
| Java 1.20.5 – 1.21.4 | /give @p item[component=value] count |
| Java 1.14 – 1.20.4 | /give @p item{NBT tags} count |
| Bedrock | /give @p item count data components |
The target comes first, then the item ID, then the components or tags, then the count.
What Changed in 1.20.5 and 1.21.5
| Part | 1.14 – 1.20.4 | 1.20.5 – 1.21.4 | 1.21.5 – 26.x |
|---|---|---|---|
| Enchantments | {Enchantments:[{id:”sharpness”,lvl:5s}]} | [enchantments={levels:{sharpness:5}}] | [enchantments={sharpness:5}] |
| Name | display:{Name:'{“text”:”Name”}’} | custom_name='{“text”:”Name”}’ | custom_name={text:”Name”} |
| Lore | display:{Lore:[‘{“text”:”Line”}’]} | lore=[‘{“text”:”Line”}’] | lore=[{text:”Line”}] |
| Unbreakable | Unbreakable:1b | unbreakable={} | unbreakable={} |
Give Command Examples
| Item | Command (Java 1.21.5 – 26.x) |
|---|---|
| Max sword | /give @p netherite_sword[enchantments={sharpness:5,unbreaking:3,mending:1,looting:3}] 1 |
| Unbreakable pickaxe | /give @p diamond_pickaxe[unbreakable={},enchantments={efficiency:5,fortune:3}] 1 |
| Named bow | /give @p bow[custom_name={text:”Sky Piercer”,color:”aqua”,italic:false}] 1 |
| Mending book | /give @p enchanted_book[stored_enchantments={mending:1}] 1 |
| Stack of diamonds | /give @p diamond 64 |
Overpowered Enchantments
Commands ignore the normal anvil limits, so you can give Sharpness 255 or put Sharpness and Smite on the same sword. Turn on Allow levels above max to raise the level cap. Very high levels can break game balance, so they’re best for Creative maps and fun servers.
Give Commands on Bedrock
Bedrock /give can’t add enchantments, names or lore. It only supports the components can_place_on, can_destroy, item_lock and keep_on_death. To enchant on Bedrock, give the item, hold it, then run /enchant for each enchantment, like /enchant @p sharpness 5. Bedrock caps /enchant at the normal maximum level, and to rename an item you use an anvil.
Common Errors and Fixes
- Unknown item or expected whitespace: you’re using old syntax on a new version, or new syntax on an old one. Pick the right version.
- Command too long: chat allows 256 characters. Paste long commands into a command block.
- Name is italic: custom names are italic by default. The generator adds italic:false to remove it.
- Nothing happens: /give needs cheats or operator permission (level 2).
- Too many items: one /give can hand out at most 100 stacks.
Related Minecraft Tools
These tools pair well with this one:
- Minecraft Seed Map: the full map with every biome and structure
- Enchantment Calculator: Cheapest anvil order for your books
- XP Calculator: Levels, XP points and bottles
- Circle Generator: Block circles and ovals in any size
- Sphere Generator: Spheres and domes layer by layer
- Pixel Art Generator: Turn any image into blocks
Frequently Asked Questions
What is the syntax of /give?
/give then the target, the item ID with its components, and the count, like /give @p diamond_sword[unbreakable={}] 1.
Why doesn’t my old give command work?
Java changed item syntax in 1.20.5 and again in 1.21.5. Commands with {Enchantments:[…]} or display:{Name:…} only work in 1.20.4 and older.
Can I give items with levels above the maximum?
Yes, on Java. Commands accept enchantment levels up to 255, even though anvils and enchanting tables stop at the normal maximum.
Does /give need cheats?
Yes. You need cheats turned on in single player, or operator permission on a server.
Can Bedrock give enchanted items?
Not with /give alone. Give the item, then use /enchant while holding it.
Final Thoughts
A give command generator saves you from syntax errors and outdated commands. Pick your version, build the item with enchantments, a name and lore, and copy a command that works the first time. Use it for map making, server rewards, or just to test the best gear in Creative.
