Tools / Dialog Generator
Start from a template
Your work is saved in this browser as you go. Nothing you type is sent anywhere.
Dialog
Body text and items, top to bottom
Inputs what the player fills in
Buttons
Preview drawn by us, not the game's textures or font
Type in the fields, tick the boxes, cycle the options and drag the sliders. The Test panel shows what each button would do with those values.
Test
Checks
Get your dialog
Import
How to use the dialog generator
- Pick a template, or choose a dialog type and start from there.
- Fill in the title, the body text and items, the inputs and the buttons. Every button gets an action: run a command, open a link, copy text, open another dialog, or send the inputs to a plugin.
- Try it in the preview. Type in the fields and click the buttons; the Test panel shows the command each button would run with your values.
- Read the Checks panel. It points out settings the game rejects and things players may trip over.
- Download the datapack, or copy the /dialog command, the dialog JSON or the zMenu file.
What Minecraft dialogs are
Dialogs are pop-up screens that Java Edition 1.21.6 added. A dialog has a title, a body with text and items, optional inputs (text fields, checkboxes, option buttons and sliders) and buttons. The format has not changed since 1.21.6, so the same file works on 1.21.6 to 26.3.
There are five types. notice has one button. confirmation has a yes and a no button. multi_action shows a grid of buttons. dialog_list shows buttons that open other dialogs. server_links shows the links your server sends to the client, for example from a proxy or a plugin.
A dialog opens through the /dialog command, a button in another dialog, a click on chat text, the pause menu or the Quick Actions key. Bedrock Edition has no dialogs of its own.
Dialog datapack: download and install
The datapack holds the dialog, a function that opens it, and the pause menu or Quick Actions tags if you ticked them.
- Download the zip. Do not unzip it.
- Put it in the
datapacksfolder of your world. On a server that isworld/datapacks, next to the region files. - Run
/reload, or restart the server./datapack listshows whether it loaded. - Open the dialog with
/function lethium:welcomeor/dialog show @s lethium:welcome, using your own id.
Pick the oldest and newest game versions your server runs under Versions. The tool writes pack.mcmeta the way each version reads it: pack_format and supported_formats for 1.21.6 to 1.21.8, min_format and max_format for 1.21.9 and newer, and both when the range covers old and new.
Dialog command generator: /dialog show
The command tab writes the whole dialog into one /dialog show @s {…} command. Chat takes at most 256 characters, so the tool counts them. A longer dialog still works in a command block, which has no such limit, or through the datapack function.
/dialog needs permission level 2, the level of operators, command blocks and functions. Replace @s with a player name or @a to show it to others. /dialog clear @a closes open dialogs.
FancyDialogs dialogs
FancyDialogs is a plugin for Paper and Folia that keeps each dialog in its own JSON file. The tool writes the format of FancyDialogs 1.4.0; its newest builds need Minecraft 1.21.7 or newer. Save the file as plugins/FancyDialogs/data/dialogs/<id>.json, run /fancydialogs storage reload or restart the server, and open it with /dialog open <id>, optionally followed by a player name. The permission is fancydialogs.commands.dialog.open. To show a dialog on a player's first join, set welcome_dialog_id in the plugin's config.yml to its id. FancyDialogs adds its own /dialog command; the vanilla command stays available as /minecraft:dialog.
FancyDialogs reads text as MiniMessage, so the tool turns & codes into MiniMessage tags. Input values go into button actions as {key}. Its button actions are player_command, console_command, message, open_dialog, open_random_dialog and send_to_server, plus copy_to_clipboard when that is a button's only action.
It covers less than vanilla dialogs. It has no sliders, no item bodies, no dialog_list or server_links types, and no suggest command, link or custom actions. A label can only be hidden by leaving it empty, and every dialog closes after a click and never pauses. A confirmation becomes two buttons, a notice button moves out of the footer, and in 1.4.0 the exit button runs no actions except copy to clipboard. Commands written as /server <name> become send_to_server, and links become a clickable chat message. The tool lists everything it could not carry over right under the output. The import keeps FancyDialogs-only actions such as message and the requirements, so they come back out unchanged.
How inputs reach commands
Give each input a key: letters, digits and _ only, and no key twice. A button with Command with input values (dynamic/run_command) uses a template where $(key) is replaced by the value: the text typed (with quotes, backslashes and line breaks escaped), the checkbox's on or off text, the chosen option's id, or the slider number (whole numbers without .0). A key that no input has becomes empty.
report $(target) $(cat) $(info)
dynamic/custom sends all inputs to a plugin or mod as one compound: text and option ids as strings, checkboxes as 1b or 0b, sliders as floats, plus your additions. A vanilla server ignores it.
Permissions and the confirmation screen
A button command runs as if the player typed it, so the player needs permission for it. When the command needs more than the lowest permission level, the game first shows a confirmation screen. /trigger needs none, which is why the rules and daily reward templates use it. For plugin commands, test with a normal player account to see whether the screen appears.
Commands that send chat messages, such as /say, /tell, /msg and /teammsg, cannot be run from a dialog.
Pause menu and Quick Actions key
Tick Add to pause menu and the datapack adds the dialog to the tag minecraft:pause_screen_additions. The pause menu then gets a button for it in place of the Server Links or Report Bugs button. With several dialogs in the tag, the button opens a list of them, labelled with each dialog's external title.
Add to Quick Actions key uses the tag minecraft:quick_actions. Players set that key in their controls; pressing it opens the dialog, or a list when there are several.
The built-in Code of Conduct (1.21.9+)
Since 1.21.9 a server can show a Code of Conduct screen when players connect. They must accept it to play, and can tick a box so it is not shown again until the text changes. Set enable-code-of-conduct=true in server.properties and put the text in codeofconduct/en_us.txt next to server.properties. Files for other languages, such as de_de.txt, are used for players with that language. Formatting codes are removed, so write plain text. With the Rules template loaded, the Code of Conduct tab writes that file for you.
Bedrock and older clients
Bedrock players who join through Geyser see a dialog as a Bedrock form. Item bodies are skipped there. Java players on 1.21.5 or older cannot show dialogs. ViaBackwards 5.6 or newer shows them as a chest menu instead; older versions hide them. zMenu dialogs can name a fallback-inventory for old clients.
Text formatting in this tool
Titles, messages, labels and tooltips take &a to &f colours, &#RRGGBB hex colours, &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated and &r reset. A few MiniMessage tags work too: <#ff5555>, colour names such as <red>, <bold>, <italic>, <u>, <st>, <obf> and their closing tags. The tool turns this into the text components of 1.21.5 and newer. The zMenu file keeps the codes as you typed them.
The preview uses the real colours and the game's layout sizes. The letters are not the game's font, so line breaks can fall in slightly different places.
Questions
How do I make a Minecraft dialog?
Pick a template or a dialog type, fill in the title, text, inputs and buttons, and check the preview. Then download the datapack, put it in your world's datapacks folder, run /reload and open the dialog with /function or /dialog show.
What is the /dialog command?
/dialog show <players> <dialog> opens a dialog screen for players, and /dialog clear <players> closes it. The dialog is either the id of one saved in a datapack or the whole dialog written inline. The command needs permission level 2, so normally only operators, command blocks and functions can use it. It exists in Java Edition 1.21.6 and later.
Can dialogs run commands?
Yes. A button can run a fixed command or a template that puts the values from the inputs into the command. The command runs as the player, so the player needs permission for it. Commands that need more than the lowest permission level show a confirmation screen first, and chat commands such as /say, /tell and /msg cannot be run from a dialog.
Do dialogs work on Bedrock?
Bedrock Edition has no dialogs of its own. Bedrock players who join a Java server through Geyser see a dialog as a Bedrock form, but item bodies are left out.
Do I need a plugin?
No. Dialogs are part of vanilla Java Edition 1.21.6 and later, and a datapack is enough to show them. A plugin helps when you want to open dialogs from menus, use placeholders or read the inputs without commands, and the zMenu and FancyDialogs outputs are for that.
Does it work with FancyDialogs?
Yes. The FancyDialogs tab writes a dialog file for FancyDialogs 1.4.0, and the import reads FancyDialogs files. FancyDialogs has fewer features than vanilla dialogs, for example no sliders, item bodies, dialog lists or link buttons, so the tool lists what it could not carry over under the output.
Can a dialog open when a player joins?
Not by itself. A datapack can do it with a function that runs every tick and shows the dialog to players who do not have a tag yet, then gives them the tag. A plugin can do it too: FancyDialogs shows the dialog set as welcome_dialog_id in its config on a player's first join, and with zMenu you can run /zmenu dialogs open <name> <player> from a join-command plugin.
# tick function (add it to the minecraft:tick function tag) execute as @a[tag=!seen_welcome] run dialog show @s lethium:welcome tag @a[tag=!seen_welcome] add seen_welcome
Item ids come from PrismarineJS minecraft-data (MIT license). Field names and version numbers were checked against the Minecraft Wiki and zMenu's source code in November 2026.