
On-screen text commands allow you to display dramatic announcements, warnings, and status updates directly in a player's view. Using the tool on text.9minecraft.net, you can design your text with a live preview on a game-like screen and generate the exact commands in the required order.
Minecraft provides three distinct screen locations for displaying custom text to players. Understanding how each layer behaves is essential before running your commands:
With the generator on text.9minecraft.net, you can compose all three elements simultaneously, apply colors and formatting, and check the title, subtitle, and action bar preview on a game-like screen before copying the output into your world.
Displaying a complete title screen with custom timing and a subtitle requires running multiple commands in a specific sequence. If you run the main title command first, any subtitle or timing command run afterward will not apply to the text already on screen. Because of this mechanic, the generator outputs the commands in order with JSON text so you can paste them into chat or sequential command blocks without error.
Here is a complete, ordered example for Java Edition targeting all players (@a):
/title @a times 10 70 20
/title @a subtitle {"text":"Defend the village!","color":"yellow"}
/title @a title {"text":"Next Wave Starting","color":"red","bold":true}
/title @a actionbar {"text":"Get ready for battle","color":"gold"}If you only want a subtitle to appear without large text above it, you must still trigger a main title using an empty text string:
/title @a subtitle {"text":"You entered a safe zone","color":"green"}
/title @a title {"text":""}You can control how fast your screen text appears and how long it stays visible using the times sub-command. The syntax is:
/title <targets> times <fadeIn> <stay> <fadeOut>All three numbers are measured in game ticks, where 20 ticks = 1 second. Here is what each parameter controls and its default value:
Here is an example of setting the timings to the standard default values:
/title @a times 10 70 20Once you change a player's title times, those custom timings remain active for all future titles shown to that player until they log out or you reset their settings.
When building complex maps or server events, you may need to remove text early or restore standard timings. Minecraft includes two utility forms of the command for this purpose:
/title <targets> clear to immediately remove any title and subtitle currently showing on the target's screen. This does not erase your custom fade and stay timings./title <targets> reset to clear the screen, remove any queued subtitle, and restore the timing values back to the defaults of 10, 70, and 20 ticks.Copyable examples for clearing and resetting:
/title @a clear
/title @p resetWhile the visual behavior of titles, subtitles, and the action bar is the same across platforms, the command syntax differs between Java Edition and Bedrock Edition.
Java Edition always uses the /title command paired with strict JSON text formatting:
/title @p title {"text":"Dungeon Cleared","color":"aqua"}Bedrock Edition splits this functionality into two distinct commands depending on whether you need plain text or JSON:
/title): Bedrock uses /title directly with plain text strings, requiring no quotation marks or brackets./titleraw): For JSON formatting in Bedrock, you must use the /titleraw command with a rawtext array structure.Here is how to run a plain text title sequence in Bedrock Edition:
/title @a times 10 70 20
/title @a subtitle Prepare for battle
/title @a title Arena Unlocked
/title @a actionbar Match begins soonAnd here is the Bedrock /titleraw equivalent using rawtext JSON:
/titleraw @a subtitle {"rawtext":[{"text":"Prepare for battle"}]}
/titleraw @a title {"rawtext":[{"text":"Arena Unlocked"}]}
/titleraw @a actionbar {"rawtext":[{"text":"Match begins soon"}]}Because standard chat has a character limit and only allows you to send one command at a time, using command blocks is the best way to run multi-step title sequences.
times command inside.subtitle command inside.title command inside.When you power the Impulse block with a button or redstone signal, all commands in the chain will execute in the exact required order. Make sure to select the proper target selector—such as @p for the nearest player, @a for everyone on the server, or @s for the entity executing the command—before finalizing your generator output.
A subtitle never displays by itself; it only shows when a main title is shown. You must run the subtitle command first to queue the text, and then immediately run a /title
The defaults are 10 ticks for fadeIn, 70 ticks for stay, and 20 ticks for fadeOut, where 20 game ticks equal 1 second.
Run the command /title
In Bedrock Edition, /title displays plain text directly without JSON syntax, while /titleraw is required whenever you want to display text formatted with rawtext JSON.