Command Generator

Command Generator

Build Minecraft Java Edition commands from simple forms instead of hand-writing NBT. Pick a preset, fill in names, enchantments, trades, stats, poses, or coordinates, and copy the generated /give or /summon command. Output targets Java 1.21.5+ data components and works in command blocks, datapacks, or chat when short enough.

Pugtools home All tools

Command Generator is being reworked. It still works, but it is rough until the new version is ready. See the other experiments

Visual command builder

Pick a preset, fill in the blanks

Plain-English forms that build valid Java Edition commands, no NBT syntax to memorize. Tweak any field and the command updates live.

Java 1.21.5+

Item

e.g. diamond_sword

Display name

Leave blank for none

Lore

Enchantments

Options

Generated command
/give @p diamond_sword[custom_name={text:"Excalibur",color:"gold",bold:true,italic:false},lore=[{text:"Forged for a hero",color:"gray",italic:false}],enchantments={sharpness:5,unbreaking:3},unbreakable={}] 1

Run it from a command block if it runs past chat's 256-character limit.