Skip to content
Minecraft

Minecraft Give Command Generator

Create a Minecraft /give command for Java or Bedrock Edition. Set the target, item ID, count, and edition components, then copy the validated command.

Last updated:

Add to My Tools

Local browser processing • no upload required

Generated command

Java command using current item-component or entity-NBT syntax.

/give @p minecraft:diamond_sword 1
READY — processing stays in this browser

HOW IT WORKS

How to use this tool

  1. 1Select Java or Bedrock Edition, choose the target selector, and enter the item’s lowercase resource ID.
  2. 2Set the count and use the edition-specific controls: Java names, lore and enchantments, or Bedrock inventory components.
  3. 3Copy the validated /give command and run it in chat, a command block, or a server console with the leading slash removed.

Quick answer

What is the Minecraft /give command syntax?

The shared form is /give <target> <item> <count>. Java adds item data components after the item ID; Bedrock can add a data value and its limited JSON command components.

Key specifications

Processing
In your browser
Tool files
Processed on your device
Access
Free; no account required
Result
Copied Minecraft command

FAQ

FAQ

What is the Minecraft /give command syntax?

The shared form is /give <target> <item> <count>. Java adds item data components after the item ID; Bedrock can add a data value and its limited JSON command components.

What do @p, @a, @s, and @r mean?

@p targets the nearest player, @a all players, @s the command executor, and @r a random player.

Can I make named or enchanted items?

Yes in Java Edition. Enter a custom name, up to eight lore lines, an enchantment resource ID, and a level from 1 to 255.

Why are custom names unavailable in Bedrock mode?

Bedrock’s /give components do not expose Java’s custom_name, lore, enchantments, or unbreakable data components. The generator shows only Bedrock-supported controls.

What item ID format should I use?

Use a lowercase resource ID such as minecraft:diamond_sword. If you enter diamond_sword, the generator adds the minecraft namespace after validating the ID.