Effect Command Generator

Give or clear a status effect on a player or target selector

Leave this empty when using "Clear effects" to clear all effects

How to use the Effect command generator

  1. Choose the edition and version that match your game
  2. Choose the target and action (apply or clear an effect)
  3. When applying an effect, set the duration, amplifier, and hide particles as needed
  4. Copy the command and run it in Minecraft

Bedrock uses effect names without the minecraft: prefix, has no give subcommand, and places clear after the target — this tool automatically adjusts the syntax to match the edition you choose

Worked examples

The examples below come out of the same generator as the form above, so the commands and explanations always match what the tool produces. Copy one and adjust it from there

1. Grant Speed for one minute

The amplifier starts at 0, not 1 — entering 1 gives you what the game shows as level II

/effect give @a minecraft:speed 60 1 false

What it does Will give the effect "Speed" level 2 to all players for 60 second(s).

2. An effect without the particle haze

Hide the particles when an effect runs for a long time, so coloured motes do not sit over the screen the whole match

/effect give @a minecraft:night_vision 600 0 true

What it does Will give the effect "Night Vision" level 1 to all players for 600 second(s), with particles hidden.

3. Clear an effect that is already active

Switch the mode to clear to strip an effect off again — the usual partner to give at the end of a round

/effect clear @a minecraft:speed

What it does Will clear the effect "Speed" from all players.

How this command differs by edition and version

This is the first example above, run through every edition and version this tool supports. Versions that produce the same result share a row

Java Edition 1.21.5 and up Java Edition 1.20.5 - 1.21.4 Java Edition 1.13 - 1.20.4 (legacy NBT)
/effect give @a minecraft:speed 60 1 false
Bedrock Edition (stable)
/effect @a speed 60 1 false

Before you use these