Minecraft Enchant Command Generator

The /enchant command validates its input: it refuses levels above the vanilla maximum, enchantments the held item cannot take, and pairs that conflict. That makes it the safe choice for survival-legal gear, and the wrong tool for Sharpness 1000 — which is written with /give instead.

  • Target selector, enchantment id and level
  • Applies only to the item the target is holding
  • Clear guidance on when to switch to the Give generator for over-max levels

Read the matching guide