Give Command Generator for Minecraft Java 1.8-26.2 & Bedrock

Create a free /give command for Minecraft Java 1.8-26.2 & Bedrock 1.20-1.21. Choose an item and enchantments, then copy the commands for your selected version.

Try a preset
/give (26.2 (latest))
/give @p minecraft:netherite_sword[enchantments={"minecraft:sharpness":5}] 1
Minecraft version
Fully supported
Item
Item
Count
Enchantments
Add enchantment
Sharpness
Customize
Custom name
Lore (one line per row)
Unbreakable

About Minecraft Give Command Generator

Use this free Minecraft give command generator to create enchanted swords, pickaxes and other items. Choose Java or Bedrock and a supported version, pick an item, then copy the output. Java supports custom names, lore and unbreakable items; Bedrock uses a give command followed by separate enchant commands.

Java command syntax changes between versions. The version picker selects item components for newer releases, NBT tags for older releases, or legacy enchantment IDs for 1.8 and 1.12.2. Legacy support is best effort. Switching items or versions removes enchantments that this tool cannot apply to the new selection.

Try a sword, pickaxe or building-block command

Use the example buttons above to load an enchanted diamond sword, a Silk Touch pickaxe or a stack of stone. Each example replaces the item settings while keeping your selected version and edition. Edit the result before copying it.

Run your command in Minecraft

Select the same edition and version as your world, load an example and copy the generated command. Open chat in a world where you have permission to use commands, then paste and run it. For a Bedrock enchanted-item example, run the give command first, hold the new item, then run each enchant command.

If Minecraft rejects the command

Check your edition and version first, then check whether you have permission to use commands in that world or server. Copy the complete output. On Bedrock, keep the item in your hand when running the separate enchant commands. Read any warnings shown by the generator before trying again.

Give an enchanted item with a command

Select a sword, tool or piece of armor, then add any compatible enchantment and set its level (the generator only offers enchantments that fit the item). On Java the enchantments go straight into the /give command. On Bedrock, where /give cannot enchant, you get the give command plus the matching /enchant lines to run while holding the item.

Bedrock give and enchant commands

On Bedrock, run the give command, select the new item in your hotbar, then run each enchant command separately. The tool limits enchantments to compatible combinations and vanilla levels. Sweeping Edge is Java-only. Bedrock commands here cannot add custom names, lore or the unbreakable property.

Custom name and lore

Type a custom name and as many lines of lore as you like. On Java these are written into the command as text components. Bedrock cannot set names or lore from a command, so the generator tells you to use an anvil instead rather than producing a command that silently fails.

Which versions are supported?

Choose from the Java and Bedrock versions in the picker. The Java options cover legacy, NBT and component syntax, with additional choices around the 1.21 component changes. Use the version closest to your world and check the support badge; old versions are best effort and Bedrock has fewer customization options.

Frequently asked questions

How do I give an enchanted item in Minecraft?
Pick the item, add enchantments and levels, then copy the /give command. On Java the enchantments are built into the command; on Bedrock you also run the /enchant lines it generates while holding the item.
Why does the command look different on 1.20.5 and 1.21?
Minecraft 1.20.5 replaced the item NBT tag with item components, so the syntax uses square brackets like [enchantments=...] instead of curly braces. The generator switches automatically based on your version.
Can I set a custom name and lore?
Yes on Java. Bedrock cannot set names or lore from a command, so rename the item on an anvil. The generator flags this for you.
Does it work for old versions like 1.8?
Yes. On 1.8 and 1.12.2 it uses the legacy format with numeric enchantment IDs and the old ench tag, and skips any enchantment that did not exist in that version.
Can I make a Sharpness 1000 sword?
This tool offers vanilla enchantment levels, such as Sharpness V. It does not generate level-1000 or other overpowered enchantments. Bedrock enchant commands also require compatible items and enchantments.
Is the command generator free?
Yes, it runs entirely in your browser with no sign-up.

Related tools