Skip to content
ShapeCraft

Title & Actionbar Generator

Java & BedrockNew

Write a chat message, a big on-screen title or an action bar line with & colour codes, then select any words to make them clickable — open a website, run or suggest a command, copy your server IP — and give them a hover tooltip. The chat preview wraps at the real 320-pixel chat width with live tooltips; the title preview plays your fade-in, stay and fade-out ticks over a game-like screen. Copy the /tellraw or /title commands for Java 1.21.5–26.x (SNBT with the new click_event and hover_event keys), Java 1.16–1.21.4 or 1.13–1.15 (JSON), or Bedrock (rawtext and titleraw), with warnings for anything that won't fit in chat or a command block.

Templates

Message

1 chat line at 320 px

Select some text above, then make it clickable or give it a hover tooltip.

Must start with http:// or https://. The game asks the player to confirm.

Shown when the mouse is over the text. & codes work; \n for a new line.

Links here (2)

Target & version

A selector or a player name. Selectors can filter: @a[tag=red], @a[distance=..20], @p[team=blue].

Java 1.21.5 – 26.x (SNBT text, click_event / hover_event)

Preview

Hover the tinted words for their tooltip (the tint and dots are preview-only).

Command

Java 1.21.5 – 26.x (SNBT text, click_event / hover_event)
/tellraw @a ["",{text:"Welcome to ",color:"gray"},{text:"BlockCraft",color:"gold",bold:true},{text:"! Join our ",color:"gray"},{text:"Discord",color:"blue",underlined:true,click_event:{action:"open_url",url:"https://discord.gg/example"},hover_event:{action:"show_text",value:{text:"Click to open our Discord",color:"aqua"}}},{text:" or type ",color:"gray"},{text:"/help",color:"yellow",click_event:{action:"suggest_command",command:"/help"},hover_event:{action:"show_text",value:{text:"Puts /help in your chat",color:"gray"}}},{text:".",color:"gray"}]
Command
1
one line
Length
551chars
command block only
Longer than 256 characters, so chat won't accept it — paste it into a command block or a .mcfunction file.
Want the raw syntax? See the /tellraw command syntax on mccommand.net, which also covers /execute, scoreboards and NBT.

How it works

Type text with & codes: &0–&9 and &a–&f for the 16 colours, &#RRGGBB for any hex colour (Java 1.16+), &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated and &r to reset. Use \n or a real line break for a new chat line. The tool turns it into a text component — one object, or a list starting with "" so styles don't leak from one part into the next.

To add a link, select the words and use the click & hover box: Open URL (https links, the game asks before opening), Run command (runs as the player who clicks), Suggest command (types it into their chat box), or Copy to clipboard (Java 1.15+), plus an optional tooltip with its own colours. The link is stored as a small tag like <click:open_url:'https://…'>…</click> — the same tags work in the Written Book Generator.

Minecraft 1.21.5 rewrote text components as SNBT and renamed their events: clickEvent became click_event with url, command, page or value instead of value, and hoverEvent became hover_event with the text in value. Commands written for 1.21.4 or older silently lose their links in 1.21.5+, and the other way round, so pick your version and the right keys are written for you. 1.13–1.15 also snaps hex colours to the nearest classic colour; Bedrock uses rawtext with § codes and has no click or hover events.

Titles are drawn 4× and subtitles 2× the GUI scale, so only about 120 GUI pixels — roughly 20 characters — fit across a 1080p screen at the Auto GUI scale. The tool measures the text with Minecraft-width glyphs and warns before it's cut off. /title commands go in order: times (fade in / stay / fade out in ticks, 20 per second), then the subtitle, then the title, which shows the screen.

Under the hood

1.21.5+ tellraw
tellraw @a ["",{text:"Join our ",color:"gray"},{text:"Discord",color:"blue",click_event:{action:"open_url",url:"https://discord.gg/x"},hover_event:{action:"show_text",value:"Click!"}}]
1.16–1.21.4
tellraw @a {"text":"Discord","clickEvent":{"action":"open_url","value":"https://discord.gg/x"},"hoverEvent":{"action":"show_text","contents":"Click!"}}
Click keys
open_url → url · run_command / suggest_command → command · copy_to_clipboard → value · change_page → page (int) (1.21.5+; older: value for all)
Title
title @a times 10 70 20 → title @a subtitle {…} → title @a title {…} (ticks: 20 = 1 s)
Bedrock
tellraw @a {"rawtext":[{"text":"§6Hello"}]} · titleraw @a title {"rawtext":[{"text":"§6Hi"}]}
Limits
command ≤ 256 chars in chat, ≤ 32,500 in a command block · chat wraps at 320 px · title ≈ 120 px at GUI scale 4 on 1080p

FAQ

How do I make clickable text in Minecraft chat?

Use /tellraw with a click event. Here, select the words, choose Open URL, Run command, Suggest command or Copy to clipboard, add a tooltip if you like and copy the command. In 1.21.5+ it looks like tellraw @a {text:"Discord",click_event:{action:"open_url",url:"https://…"}}; in 1.21.4 and older the key is clickEvent with value.

Why did my tellraw click or hover stop working in 1.21.5?

1.21.5 switched text components to SNBT and renamed the events: clickEvent → click_event and hoverEvent → hover_event. Each click action got its own field (url for open_url, command for run/suggest_command, page as a number for change_page) and show_text now uses value instead of contents. Old commands still run but the links are dropped. Choose 1.21.5+ above and the tool writes the new format.

How long does a title stay on screen?

Set by /title <targets> times <fadeIn> <stay> <fadeOut> in game ticks (20 ticks = 1 second). The default is 10, 70, 20 — half a second in, 3.5 seconds on screen, one second out. The times are remembered per player until /title <targets> reset, so the tool always writes the times line before the title.

Why doesn't my subtitle show?

A subtitle is only stored when you run /title … subtitle; it appears the next time a title is shown. Run the subtitle line first and the title line after it — the tool lists them in that order. If you want only a subtitle, show a title with a single space.

How do I show text above the hotbar?

Use the action bar mode: /title @a actionbar {text:"…"} (titleraw on Bedrock). It stays about 3 seconds and fades out, so put it in a repeating command block or a ticking function to keep it on screen.

Does tellraw work on Bedrock?

Yes, with rawtext: tellraw @a {"rawtext":[{"text":"§6Hello"}]} and titleraw for titles and the action bar. Bedrock has no click or hover events, no hex colours and no underline or strikethrough, so the Bedrock output keeps the text and the nearest § colours.

All tools →