MC CommanderUnofficial Minecraft command tools
All generators syntax-auditedOutputs are checked against official formats with regression tests and code validation. Only commands actually executed in Minecraft are labelled “tested in game.”
Published by
MC Commander operator
Page updated
15 July 2026
Review scope
HTML, JavaScript, PHP and internal links checked. Output not tested in Minecraft is not guaranteed in every environment. Editorial policy
Give Command Generator

Minecraft Give Command Generator

Create copy-ready /give commands for Java and Bedrock. Choose an item, add optional components and copy the result.

How to use

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

Basic fallback generator

The full generator is loading. If it cannot load, this basic form still creates a usable command.

Output

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.

Related pages

Minecraft Give Command for Custom Items