Free Minecraft tool

Minecraft Give Command Generator

Build a copy-ready /give command for the Minecraft edition and version you actually play. Choose an item, target, amount, Java item details, and enchantments without hand-writing component or NBT syntax.

Command builder

Item and version

Current item component syntax. Choose the version you will paste into.

Java item details

Optional

Enchantments

Up to 8

Generated command

287 characters
/give @p minecraft:diamond_sword[custom_name={text:"Explorer's Blade",color:"aqua",italic:false},lore=[{text:"Made for the next adventure",color:"gray",italic:false}],enchantments={"minecraft:sharpness":5,"minecraft:unbreaking":3,"minecraft:mending":1},enchantment_glint_override=true] 1

Commands run locally in your browser. Cheats or operator permission are required in-game.

Quick guide

How to generate a Minecraft give command

  1. Select the edition and version first. This changes the item data syntax and prevents the most common paste error.
  2. Choose an item and target. Use a preset or enter a valid namespaced item ID. @p targets the nearest player and @s targets the command executor.
  3. Add Java item data. Set a name, lore, enchantments, unbreakable state, or glint when using Java Edition.
  4. Copy and paste the command. Run it in chat, a command block, a server console, or a function where you have permission.

Minecraft give command version differences

Java Edition 1.20.5 replaced the old item tag format after the item ID with square-bracket item components. Java 1.21.5 then simplified parts of the enchantment component structure. That is why a command copied from an older tutorial can fail even when the item ID is correct.

ModeUse it forItem data
Java 1.21.5+ and 26.xCurrent Java releasesCurrent item components
Java 1.20.5 to 1.21.4Early component releasesComponents with earlier enchantment shape
Java 1.13 to 1.20.4Older Java worlds and serversLegacy item NBT
Bedrock currentBedrock chat and command blocksBasic item, amount, and data value

Microsoft's current Bedrock /give reference documents its supported arguments. Mojang's Java 1.20.5 release notes describe the move to item components.

Validation and limitations

The generator validates the command structure and common identifiers, but it does not contain every item, mod, data pack, server plugin rule, or command-length limit. Java lets commands create combinations above normal Survival limits. Bedrock deliberately stays basic because Java names, lore, enchantment components, and arbitrary NBT do not transfer to Bedrock syntax.

Frequently asked questions

Which Minecraft versions does this give command generator support?

It has separate output modes for Java 1.21.5 and newer, including Java 26.x, Java 1.20.5 through 1.21.4, Java 1.13 through 1.20.4, and the current Bedrock basic /give syntax.

Why are custom names and enchantments disabled in Bedrock mode?

Bedrock's plain /give command does not accept Java item components or arbitrary item NBT. The generator avoids producing Java-only data that Bedrock would reject.

Can I use a custom or modded item ID?

Yes. Enter a namespaced ID such as modname:item_name. The generator formats it but cannot verify whether that namespace exists in your world or server.

Why does an older Java command fail in 1.20.5 or newer?

Java 1.20.5 replaced the old item NBT syntax used by /give with structured item components. Select the version range that matches the game receiving the command.

Does the command require cheats?

Yes. You need cheats enabled in a local world or appropriate operator permission on a server.

Is command data uploaded?

No. Command creation and copying run locally in your browser.

Independent browser utility

This tool is provided by anas8 and is not affiliated with Mojang Studios or Microsoft. Minecraft is used only to identify the game and the relevant command, build-planning, or calculation task.