MC ToolsUnofficial Minecraft helpers
Give Command Generator

Give Command Generator

Create /give commands for items, names, lore, counts, and unbreakable settings.

How to use

Choose a Minecraft version, enter the required fields, import an existing command if needed, then copy or save the output command.

Related guide

Need examples, common mistakes and search terms for this Minecraft command generator?

Give command guide

Give command not working?

If your /give command shows an unknown or incomplete command error, check item IDs, brackets, quotes, Java/Bedrock syntax and NBT/components differences.

Minecraft /give command examples and common mistakes

This page keeps the generator itself short, but the notes below explain how the generated command works and why some commands fail in chat or command blocks.

Basic /give syntax

The basic Java Edition syntax is:

/give <target> <item> [count]

For example, this gives one diamond sword to the nearest player:

/give @p minecraft:diamond_sword 1

Use @p for the nearest player, @a for all players, and a player name for a specific player.

Java 1.20.5+ item components

Newer Java versions use item components for many custom item features. If an older NBT-style command does not work, check the Minecraft version first.

GoalUseful search / feature
Custom nameminecraft custom_name component, give command custom name
Enchantmentsminecraft enchantments component, enchanted item command
Unbreakable itemminecraft unbreakable component
Why the command may not work
  • The command is for a different Minecraft version.
  • Java Edition and Bedrock Edition use different formats.
  • A bracket, quote, or comma is missing.
  • The item ID is incomplete, for example diamond_sword instead of minecraft:diamond_sword.
  • The command is pasted into chat when it is too long. Try a command block.

For a full checklist, see Minecraft give command not working.