Minecraft Give Command Generator (Java & Bedrock)
Pick any of the 1,657 items or 90 mobs, add enchantments, a name, lore, armour or effects, and copy a /give or /summon command written for your exact Minecraft version, from Java 1.8 to 26.3, or Bedrock.
Runs on your device · nothing uploaded
This tool is code that runs inside your browser. Your files, text and pictures are read here and never sent to a server, so it even works offline once loaded. Signed in? Only what you save to your account (My Kit, wardrobe) or publish is uploaded.
Enchantments
Your command
/give @p diamond_sword[enchantments={"minecraft:sharpness":5,"minecraft:unbreaking":3}]Over 256 characters? Paste it into a command block instead of chat.
.
What changed between versions
| Version | How the item data is written |
|---|---|
| Java 1.21.5 – 26.x | item[enchantments={…},custom_name={text:…}] |
| Java 1.20.5 – 1.21.4 | item[enchantments={levels:{…}},custom_name='{…}'] |
| Java 1.13 – 1.20.4 | item{Enchantments:[…],display:{Name:'…'}} |
| Java 1.8 – 1.12 | item 1 0 {ench:[{id:16,lvl:5}]} |
| Bedrock | give, then /enchant while holding it |
Item list from Minecraft 26.3 (2026-11-09). Refresh it with npm run data:items.
How to use it
- Choose /give or /summon and your game version.
- Search for an item or pick a mob.
- Add enchantments (only ones that fit the item are shown), a name, lore or equipment.
- Copy the command. Long commands go in a command block.
- Paste any old command into Explain a command to read it or convert it to your version.
How it works
Minecraft has changed how commands store item data three times. Java 1.13 renamed items and used NBT tags; Java 1.20.5 replaced item NBT with item components; Java 1.21.5 changed text and enchantments inside those components again and merged mob equipment into one map. The generator keeps one recipe for your item and writes it in the syntax your version expects, using item IDs, stack sizes and enchantment rules read from the game's own data files.
Questions
Why does my /give command say it's invalid?
Most often it was written for a different version. Commands with {Enchantments:…} stopped working in Java 1.20.5, and {levels:…} stopped in 1.21.5. Paste it into Explain a command and pick your version to convert it.
How do I give an item with enchantments above the normal maximum?
On Java, pick a level marked (cheat): /give accepts levels up to 255. On Bedrock, /enchant refuses levels above the maximum, so this isn't possible with commands.
Can I use these commands on Bedrock?
Bedrock's /give can't add enchantments, names or lore. The tool gives you the /give command and /enchant commands to run while you hold the item; rename it in an anvil.
Why is my command too long for chat?
Chat allows 256 characters. Put the command in a command block (get one with /give @p command_block), which accepts much longer commands.
How do I make a mob that doesn't move or despawn?
In /summon, turn on No AI and Never despawns. The mob stays where you summoned it, which is good for shops and statues. Bedrock can't turn off AI with commands.
Related tools
By PickaxeKit Editorial Team. Updated 2026-11-09.