Skip to content
MC Command Generator

/tellraw Generator

Beta

Write a chat message with colours, styles, hover text and click actions, see it in a chat window and copy a /tellraw command for your version.

Describe it — AI writes the command

Type what you want in plain words. The AI fills the form below, so you can see it and change anything. It follows the edition and version you picked.

Checking the AI…

Paste a command— edit it here or move it to another version
<Steve> anyone online?
Welcome to !
Chat window. Click or hover the text to try its click and hover actions.

Your command · Java 26.3

168 characters
/tellraw @a ["",{text:"Welcome to ",color:"gray"},{text:"the server",color:"gold",bold:true,hover_event:{action:"show_text",value:"Have fun!"}},{text:"!",color:"gray"}]

Raw editor

Click or tap any key or value to see its full path here.
Valid NBT In sync
Ctrl+F find · Ctrl+Space suggest · Ctrl+. fix · Shift+Alt+F format

How it works

A /tellraw message is a list of text components: each run of text carries its own colour, styles and actions. The generator starts the list with an empty string (["", …]) so the first part’s colour doesn’t spill into the rest.

Java versions

  • Hex colours like #FF8800 need 1.16 or later; older versions only have the 16 named colours, so the generator leaves a hex colour out and tells you.
  • Before 1.16 hover text used value; 1.16 to 1.21.4 use contents.
  • 1.21.5 switched to SNBT and renamed the actions: clickEvent became click_event with url or command, and hoverEvent became hover_event.

Bedrock

Bedrock uses {"rawtext":[{"text":"…"}]} with § codes for colour, bold (§l), italics (§o) and scrambled text (§k). Underline, strikethrough, hex colours, hover text and click actions don’t exist on Bedrock, so the generator leaves them out and says so.

For big on-screen text instead of chat, use the /title generator.

FAQ

How do I make a clickable link in Minecraft chat?

Add a part, set On click to Open URL and paste the link. Java asks the player to confirm before opening it. Bedrock has no click actions.

Why does my tellraw command not work in 1.21.5?

1.21.5 changed text components to SNBT and renamed clickEvent/hoverEvent to click_event/hover_event, with url or command instead of value. Pick 1.21.5 or later in the generator to get the new format.

What's the difference between /tellraw and /say?

/say prints plain text with your name in front. /tellraw prints exactly what you write, with colours and actions, and you choose who sees it with the target selector.

Can I use colour codes like §c on Java?

Not in /tellraw: Java uses the color field instead. The § codes are what Bedrock uses, and the generator writes them for you when you pick Bedrock.