xgaming.tools

Minecraft Give Command Generator

Build any /give command in seconds. Pick items, set amount, add custom name and lore, stack multiple enchantments, toggle unbreakable and glow. Supports 1.21+ data components and legacy 1.13-1.20.4 NBT syntax.

Generated Command

/give @p minecraft:netherite_sword 1

Open the in-game chat or admin console, paste this command, press Enter. Requires op permission.

1.20.5+ switched from NBT tags to data components.

@p = nearest player · @a = all · @s = self · @r = random

Item

Or pick below. Custom IDs supported — anything from the item registry works.

Combat

Armor

Tools

Special

Blocks

Food

Potions

Amount

1-64 fits in one stack. Up to 6400 supported (100 stacks, enforced by client).

Custom Name & Lore

Appears as the item name. Use § color codes in 1.20.4 and below.

No lore yet. Lore appears as small text under the name.

Enchantments

9 valid for this item

Add enchantment

Modifiers

Generate Any Minecraft /give Command

The /give command is the fastest way for server operators and singleplayer cheat users to hand out items. This generator builds the full command for any item — vanilla or custom ID — with enchantments, custom names, multi-line lore, unbreakable flag, and enchantment glow, all without writing a single line of NBT or component syntax.

Minecraft 1.20.5 replaced NBT tags with data components, and commands written for one format don't work in the other. Our generator supports both: pick 1.21+ for the new `custom_name="..." enchantments={levels:{...}}` component syntax, or 1.13–1.20.4 for the classic `{display:{Name:...},Enchantments:[...]}` NBT.

Every valid enchantment is filtered by item type — you can't accidentally add Smite to a pickaxe or Power to a sword. Select levels I–V per enchantment, or click once to apply at max. Custom names and lore escape automatically so quotes and special characters don't break the command.

Paste the resulting command into your Minecraft chat (T key) or admin console. Requires op permission (level 2+) on a server, or cheats enabled in singleplayer.

Minecraft Give Command Generator — FAQ

How do I use /give in Minecraft?

Open the in-game chat (T key) or admin console, paste the generated command, press Enter. You must have OP permission (level 2+) on the server, or cheats enabled in singleplayer. The target selector (@p for nearest, @a for all, @s for yourself, @r for random) determines who gets the item.

Why does my /give command break between versions?

Minecraft 1.20.5 replaced the legacy NBT syntax with 'data components'. Commands written for 1.20.4 and earlier use {NbtTag:value} format; 1.20.5+ uses [component_name=value]. Our generator has both — pick the version matching your server.

What's the max stack size for /give?

For stackable items: 64 per /give is the in-game stack limit, but the command accepts up to 6400 (the client will split it into 100 stacks). For non-stackable items (swords, armor) the maximum per slot is 1, so extra items drop on the ground.

Can I combine multiple enchantments?

Yes. Add as many as you like — even ones that normally conflict (e.g. Sharpness + Smite) work via /give because the game skips conflict checks for commands. The calculator flags valid ones for each item type.

Why does my custom name show with quotes or backslashes?

Minecraft's command parser requires escaped strings. The generator handles this automatically. If you hand-edit, remember: quotes inside custom_name= need to be escaped as \"Name\" in 1.21 component syntax.

You might also need

Built-In Tool

Config Tool Built Into XGamingServer

Get managed Minecraft hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.

Built-In Config ToolInstant Server SetupDDoS ProtectionExpert 24/7 Support
Get 40% OFFNo setup fees · Cancel anytime