Send Colored Chat Text (tellraw)
Broadcast a custom colored message in chat
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Sends a fully styled chat message that no one can reply to or mistake for a normal chat line. On Java the message is a text component in SNBT — set color, bold, italic, underline and more (e.g. {text:"...",color:red,bold:true}). Bedrock uses the {"rawtext":[...]} form and does not support per-component color keys, so use section-sign codes inside the text for color there.
/tellraw @a {text:"Server restarting soon",color:red,bold:true}- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and edit the text and color.
- Press Enter — the message appears in every targeted player's chat.
- Add more parts by turning the value into a list, e.g. [{text:"A "},{text:"B",color:green}].
Related commands
Clickable Chat Text That Runs a Command
Make chat text a clickable button that runs a command
Show a Title on Screen
Display big center-screen text to a player
Add a Subtitle Under the Title
Show a smaller second line under a screen title
Show an Action Bar Message
Display text just above the hotbar
God Mode (Resistance + Regeneration)
Become nearly invincible
Set Gamemode to Creative
Switch yourself into Creative mode