Command generator

Build Minecraft commands visually with Live Tooltips & Component Syntax
Java primary · Bedrock limitedJava 1.21–26.x · Bedrock 26.x basicsScope & sources
Edition
Java primary · Bedrock limited
Version scope
Java 1.21–26.x · Bedrock 26.x basics
Last reviewed
18 Aug 2026

14 command templates. Java item components and selected legacy syntax are supported; Bedrock mode intentionally covers only basic arguments. Always test commands in a disposable world first.

⚡ Quick Presets:
Infinite durability
Stationary mob
Immune to damage
⚔️
Survival
🎨
Creative
🗺️
Adventure
👁️
Spectator
☀️
Clear
🌧️
Rain
⛈️
Thunder
✨ LIVE MINECRAFT PREVIEW JAVA 1.21
Diamond Sword
minecraft:diamond_sword
GENERATED COMMAND COPY-READY
/give @p minecraft:diamond_sword 1
⏱️ RECENT COMMAND HISTORY
No recent commands

How to Use the Minecraft Command Generator

Build command templates for Java Edition 1.21+ (Components), Java Legacy NBT (1.13–1.20), and a limited set of Bedrock Edition commands. Select a command, customize the available fields, then copy it into a test world or command block. Java is the primary mode; Bedrock syntax and advanced fields differ by command.

Verification note: commands can change between game versions, server software, snapshots, and datapacks. Back up important worlds and test generated commands before using them in production.

/give
Custom names, lore, enchants & components
/summon
Spawn mobs with custom names & attributes
/fill
Fill blocks with hollow, outline, or replace mode
/title
Custom colored screen announcement text
/effect
Apply infinite or timed potion status effects
/gamerule
Configure keepInventory, mobGriefing & ticks
✅ Command Copied to Clipboard!