Minecraft : Enchant Command Generator

Update 2.39, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

Enchant Command Maker Tool

Create commands to enchant items with various enchantments, select target players, and set enchantment levels. For both Minecraft Java and Bedrock. Newer Java edition uses names for enchantments, while Bedrock and Java pre 1.12 edition use ids. This tool will help you select the correct enchantment and level for your item, and generate the appropriate command for your Minecraft version.

See our list of enchantments for compatibility information.

Basic Usage

Run the command while holding an item in your hand. If the item is compatible, it will be enchanted with the specified enchantment and level. The default level is 1.

/enchant @p sharpness 2

/enchant @p 16 2

/enchant @p sharpness 2

It's important to note ids can be different between Java and Bedrock versions, so make sure to select the correct version for your needs.

/enchant @p vanishing_curse

/enchant @p vanishing

Enchantment Compatibility and Limitations

Many items can be enchanted, however only some enchantments can be used on certain items. For example aqua_affinity only works on helmets, and cannot be applied to swords or pickaxes. Additionally, some enchantments are mutually exclusive and cannot be applied together on the same item.

If the enchantment is incompatible, it cannot be applied to an item and the user will see an error simular item "cannot support that enchantment".

  • Once applied, an enchantment cannot be removed from an item with the command.
  • Enchantment levels cannot be changed with the command.
  • Some enchantments are mutually exclusive and cannot be applied together on the same item.
  • Some enchantments are incompatible with certain items and cannot be applied to them.

Disenchanting

Enchantment removal is not possible with commands. To remove enchantments, you can use a grindstone.

Version History

30 Jul 2026
minecraft/command-generator 2.39

addedFull Mob Generator v2 rollout
patchMob spawner command generation

23 Jul 2026
minecraft/command-generator 2.38.7

addedAll mobs with summon pages now use Mob Generator v2
patchUuid minor work in progress changes

15 Jul 2026
minecraft/command-generator 2.38.6

addedSummon cat now uses Mob Generator v2
patchTool components for block tags should not be an array
patchTrade predicate to nbt conversion on items not handling double quotes correctly
patchContainers lock tag now allow user to enter an item predicates in 1.21.2+
patchCatType handling for older version commands

9 Jul 2026
minecraft/command-generator 2.38.5

addedSummon villager, chickens and copper golems now use Mob Generator v2
patchBug in food components

2 Jul 2026
minecraft/command-generator 2.38.5

addedSummon axolotl, and summon cow pages now use Mob Generator v2
patchText editor formatting not grouping like with like

25 Jun 2026
minecraft/command-generator 2.38.4

addedSummon Generators moved to the Mob Generator v2

18 Jun 2026
minecraft/command-generator 2.38.3

addedMinecraft 26.2 content
addedWIP Beta Mob Generator v2

30 May 2026
minecraft/command-generator 2.38.2

patchGive item armor patch item detection

29 May 2026
minecraft/command-generator 2.38.1

addedpre-release 26.2 content

28 May 2026
minecraft/command-generator 2.38

addedWIP Beta Mob Generator v2


Read version history »
(120 More Updates)