PHICHMC Tools
Command Block texture
Minecraft Command & JSON ToolsSupported: Both Editions

Minecraft Command Generator

Generate syntax-accurate /give, /summon, /effect, /tp, /fill, /enchant, and /gamerule commands tailored to Java Edition or Bedrock Edition.

Dynamically switches command arguments, item component/data syntax, and target selectors between Java and Bedrock.

/give @p minecraft:diamond_sword[custom_name='{"text":"Excalibur","italic":false,"color":"aqua"}'] 1
Your files are processed locally in your browser whenever supported. PHICHMC Tools does not require an account to use its tools.

How to Use Minecraft Command Generator

  1. 01.Select your target edition (Java Edition or Bedrock Edition) and command type (/give, /summon, /effect, /tp, /fill, /gamerule).
  2. 02.Fill in the target selector (@p, @a, @s, @e), item/entity ID, count, and optional modifiers.
  3. 03.Copy the generated command and paste it into your Minecraft chat or Command Block.

How It Works

Builds edition-specific command strings accounting for Java 1.20.5+ item component syntax vs Bedrock data integer and JSON component differences.

Supported Formats & Outputs

  • • Minecraft Slash Commands (Java & Bedrock)

Common Questions about Minecraft Command Generator

Why do /give commands differ between Java and Bedrock?

Java Edition places count at the end and uses item components/NBT, whereas Bedrock places amount and data value after the item ID followed by optional JSON components.