Give Diamond Sword Sharpness 5
Get a diamond sword pre-enchanted with Sharpness V
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Uses 1.20.5+ data-component syntax to spawn a diamond sword pre-enchanted with Sharpness V for massive melee damage. This is the cleanest way to get an enchanted weapon on Java. Bedrock players must use the two-command workaround in the note.
/give @p diamond_sword[enchantments={sharpness:5}]50 characters
- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Java: open chat (T) and paste the command.
- Press Enter — the enchanted sword lands in your inventory.
- Bedrock: /give @p diamond_sword, then hold it and run /enchant @s sharpness 5.
Related commands
Get a netherite sword pre-enchanted with Sharpness V
/give @p netherite_sword[enchantments={sharpness:5}]Get a trident that returns to you after being thrown
/give @p trident[enchantments={loyalty:3}]Get a fully enchanted bow that never runs out of arrows
/give @p bow[enchantments={power:5,infinity:1,unbreaking:3}]Get a netherite chestplate with maximum protection
/give @p netherite_chestplate[enchantments={protection:4,unbreaking:3,mending:1}]Get the strongest boot armor
/give @p netherite_bootsGet an enchanted book with Mending
/give @p enchanted_book[stored_enchantments={mending:1}]