Pixel art illustration of a golden sword with a bright golden-yellow blade
Minecraft Java Item ID

Golden Sword ID

Golden Sword deals 4 damage and has low durability. It is crafted from 2 gold ingots and a stick, and is mainly used for trading with piglins.

Partial data
Namespaced item ID minecraft:golden_sword

Golden Sword Item Facts

CategoryCombat
Maximum stackNot yet verified
Historical numerical ID283

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Golden Sword

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:golden_sword 1

Customize this command → Open in Enchantment Builder → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 283 1

Give command syntax by version

Java 1.13+
/give @p minecraft:golden_sword 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 283 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:golden_sword 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Golden Sword

Crafting Recipe

Gold Ingot
Gold Ingot
Stick

Crafting table recipe — makes 1 × Golden Sword.

Prefer commands? Jump back to the give command matrix above to get Golden Sword instantly.

Golden Sword Command Examples

  • Give 1 to nearest player: /give @p minecraft:golden_sword 1
  • Give 1 to yourself: /give @s minecraft:golden_sword 1
  • Give to a specific player: /give PlayerName minecraft:golden_sword 1
  • Clear from inventory: /clear @p minecraft:golden_sword

Compatible Enchantments for Golden Sword

Golden Sword can receive these enchantments from an enchanting table or anvil. Some of them are mutually exclusive; each enchantment page lists its incompatible partners.

Golden Sword FAQ

What is the item ID for Golden Sword?

The item ID for Golden Sword is minecraft:golden_sword. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Golden Sword?

Golden Sword has the historical numerical ID 283, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:golden_sword instead.

How do I give myself Golden Sword in Minecraft?

Open the chat window and run /give @p minecraft:golden_sword 1 to give the nearest player one Golden Sword. Replace @p with a player name to target someone else.

How do you craft Golden Sword?

Golden Sword is crafted on a crafting table with 2 gold ingots and 1 stick, which yields 1 Golden Sword.

Related Combat

Item ID: minecraft:diamond_sword
Item ID: minecraft:netherite_sword
Original pixel art Bow icon
Item ID: minecraft:bow
Item ID: minecraft:crossbow
Item ID: minecraft:shield
Item ID: minecraft:diamond_helmet
Item ID: minecraft:mace
Item ID: minecraft:netherite_helmet