String
Item

String

Namespaced ID
minecraft:string
Legacy numeric ID
287(1.8 & earlier)
Stack size
64
Edition
Java & Bedrock

/give command

Run in chat or a command block. Replace @p with a player name to target someone specific.

Command builder

Set the count, custom name, lore, and enchantments to generate a ready-to-paste /give command for String.

Shown above the item in the inventory.
Italic text shown below the item name. One line per row.
1 compatible with String.

Component syntax for Minecraft 1.21.8.

Obtained from

Blocks and mobs that drop String.

Used to craft

9 items use String as an ingredient. Click any item to see its recipe.

Across versions

Legacy numeric ID
287 (pre-1.13, from 1.8)
Modern ID (1.13+)
minecraft:string (numeric IDs were removed in 1.13 — not usable in commands)
Editions
Java & Bedrock

Browse the full item list for a specific version:

About String

Where do you get String in Minecraft?

String can be obtained by breaking Cobweb and Tripwire, or by killing Spider and Cave Spider.

What is the Minecraft ID for String?

The namespaced ID is minecraft:string, used in the /give command: /give @p minecraft:string 1. In legacy versions before 1.13, String used the numeric ID 287. Numeric item IDs were removed in the 1.13 "Flattening" and no longer work in modern commands.

What can you craft with String in Minecraft?

String is used as an ingredient in 9 recipes, including Bow, Bundle, Candle, and Crossbow. See the Used to craft section above for the complete list.