Pixel art illustration of a loose strand of white string
Minecraft Java Item ID

String ID

String is a crafting material obtained from spiders and cobwebs. It is used for bows, fishing rods, wool, and scaffolding.

Partial data
Namespaced item ID minecraft:string

String Item Facts

CategoryMaterials
Maximum stackNot yet verified
Historical numerical ID287

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

Give Command for String

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

/give @p minecraft:string 1

Customize this command →

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 287 1

Give command syntax by version

Java 1.13+
/give @p minecraft:string 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 287 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:string 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 String

Finding String

  • Dropped when mining Cobweb.
  • Dropped when mining Tripwire.
  • Dropped when a Cat is killed.
  • Dropped when a Cave Spider is killed.
  • Dropped when a Spider is killed.
  • Dropped when a Strider is killed.

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

What Can You Craft With String?

String is a crafting ingredient in 9 reviewed recipes:

String Command Examples

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

String FAQ

What is the item ID for String?

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

What is the numerical ID for String?

String has the historical numerical ID 287, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:string instead.

How do I give myself String in Minecraft?

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

What can you craft with String?

String is used to craft White Wool, Scaffolding, Bow, Bundle, and 5 more recipes.

Related Materials

Item ID: minecraft:diamond
Item ID: minecraft:netherite_ingot
Item ID: minecraft:blaze_rod
Item ID: minecraft:heart_of_the_sea
Item ID: minecraft:magma_cream
Item ID: minecraft:nether_star
Item ID: minecraft:netherite_scrap
Item ID: minecraft:shulker_shell