/dialog Command in Minecraft Java Edition

Show and Clear Player Dialogs in Minecraft

Java EditionChat & TextPermission: Level 2Added in 1.21.6

The /dialog command in Minecraft Java Edition lets you display or remove dialogs on a player's screen. It was added in version 1.21.6 and requires Operator permission level 2 to run.

Mapmakers and server operators use this command to manage conversations, clear active pop-ups, and trigger story text for specific players during custom adventures.

Syntax (Java 26.3, 2 forms)

  1. /dialog clear <targets>
  2. /dialog show <targets> <dialog>

The forms you will use most

/dialog clear <targets>
Removes the current dialog from the selected players.
/dialog show <targets> <dialog>
Displays a specific dialog to the chosen players using a dialog ID or an inline dialog.

Arguments

ArgumentTypeWhat it means
<targets>target selector
players only
Specifies the players to affect using a player name, a UUID, or a target selector that resolves to players.
<dialog>dialogDefines which dialog to show by specifying a dialog ID or an inline dialog.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.21.6 Command added.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have a /dialog command with this name, as this command is exclusive to Java Edition starting in version 1.21.6.

FAQ

When was the /dialog command added to Minecraft?

The /dialog command was added to Minecraft Java Edition in version 1.21.6 and remains available through version 26.3.

What permission level do I need to use /dialog?

You need permission level 2, which means you must be a server operator or have cheats turned on in your single-player world.

Can I use /dialog on mobs or other entities?

No, the <targets> argument only accepts players, so you can only target player names, player UUIDs, or player selectors.

Related commands

/me/msg/say/teammsg/tell/tellraw/title/tm/w