ArtemisPvPMinecraft Wiki Artemis PvP Wiki

Updated 25 October 2026. Facts on this page come from minecraft.wiki, minecraft.net and the live Artemis PvP server; sources are listed at the bottom.

The /tag Command in Minecraft: Entity Tags
General Minecraft

The /tag Command in Minecraft: Entity Tags

/tag adds a text label to a player or mob so other commands can find it later: /tag @p add winner, then target it with @a[tag=winner]. /tag remove takes it off and /tag list shows every tag. It works on Java and Bedrock and is one of the most used commands in maps and minigames.

How do you use /tag?

CommandWhat it does
/tag <targets> add <name>Adds a tag
/tag <targets> remove <name>Removes a tag
/tag <targets> listLists the tags on the targets

Tag names are single words. On Java one entity can carry up to 1,024 tags.

How do you use tags in selectors?

  • @a[tag=red] selects every player with the tag red.
  • @e[tag=!boss] selects every entity without the tag boss.
  • @a[tag=] selects players with no tags at all on Java.
  • Full selector guide: target selectors.

What are tags good for?

Marking who is in a game, who has finished a parkour, or which armor stand is a checkpoint. A command block can tag a player as they pass, then /execute runs commands only for tagged players. Summon a mob with a tag already set using the Tags data on Java; see /summon.

Tags or scoreboard?

A tag is yes or no; a scoreboard stores numbers such as kills or laps. Many maps use both: a tag for being in the game and a score for points. Tags are saved with the entity and stay until removed, even across restarts.

Who can use it?

Operators at level 2 on Java, or 1 on Bedrock with cheats on, and command blocks; see command blocks. On Java these are not the same as data pack entity type tags, which commands cannot change.

Frequently asked questions

How do you select tagged players?

Use a selector like @a[tag=name].

Sources

Every fact on this page was checked against these pages; the wording is ours.