How to use the Minecraft Tellraw and Title Generator
- Pick the command and version. Choose /tellraw for a chat message or one of the /title types for big text on screen. Then pick the version closest to your server, because the click and hover keys changed in 1.21.5.
- Write your pieces. Each piece is a stretch of text with its own color and style. Add another piece when you want a different color or a clickable part in the middle of a sentence.
- Add clicks and hovers. A piece can open a link, run a command, suggest a command in the chat box or copy text. A hover shows a short tooltip.
- Copy and run it. Paste the command into a command block or the server console. Use the Send to box for @a, @p, or a player name.
Why the JSON changes between versions
Java 1.21.5 renamed the click and hover keys. Newer versions use click_event and hover_event, with a field named for what the click does: url for links, command for commands and value for clipboard text. Versions from 1.16 to 1.21.4 use clickEvent and hoverEvent with a contents field for the hover. Java 1.13 to 1.15 use value for the hover too, and cannot show hex colors.
The version menu on this page switches between those three formats. If a message shows up as plain text or the command is rejected, the version is the first thing to check.
How several pieces are joined
When a message has more than one piece, the tool wraps them in an empty text component with an extra list. That keeps the style of one piece from carrying over to the next, which is the most common surprise with hand-written tellraw JSON.
Titles, subtitles and the action bar
/title has four text types: the title itself, a subtitle that sits under it, and the action bar above the hotbar. Fade in, stay and fade out are set with /title <targets> times and are measured in ticks, 20 to a second. The defaults are 10, 70 and 20. The times command is shown first when you tick the box, and it applies to the titles you send after it.
Frequently asked questions
Does this work on Bedrock?
No. Bedrock uses a different command called /titleraw with its own format. This tool writes Java Edition commands.
Why does my clickable link not work?
Links have to start with http:// or https://. The game ignores anything else, and players are asked to confirm before a link opens.
How do I make text appear for everyone?
Send it to @a. Use @p for the nearest player, or type a player name.
Can I use hex colors?
On Java 1.16 and newer, yes. Type the color as #ff8800. On 1.13 to 1.15 the tool uses the named color instead.
Do I need operator rights?
Yes. You need permission to run commands, or run it from a command block or the server console.
Why is my command too long for chat?
The chat box stops at 256 characters. Long commands are fine in a command block or the console.