From Minecraft Wiki
Jump to: navigation, search

Sends a JSON message to players.


  • Java Edition
tellraw <targets> <message>
  • Bedrock Edition
tellraw <target: target> <raw json message: json>


JE<targets>: entity
BE: target: target: CommandSelector<Player>

Must be a player name, a target selector or a UUID[Java Edition only]. And the target selector must be of player type.
Specifies the player(s) to send the message to.

JE<message>: component
BE: raw json message: json: Json::Value

Must be a raw JSON text.
Specifies the message to send.


CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
if <targets> or player: target fails to resolve to one or more online players Failed
On successDisplays message to the targeted player(s).


CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the number of targeted players
Bedrock EditionOn fail0N/AN/A
On success1N/AN/A


  • To send the message "Hello" in chat:
    • /tellraw @a "Hello"
  • To send the message "I am red" colored red in chat:
    • /tellraw @a {"text":"I am red","color":"red"}
  • To send a message containing the text "Red" in red and "Blue" in blue:
    • /tellraw @a [{"text":"Red ","color":"red"},{"text":"Blue","color":"blue"}]
  • To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over:
    • /tellraw @a {"text":"Hover me!","hoverEvent":{"action":"show_text","value":"Hi!"}}
  • To send the magenta message "Hover me again!" in chat, which displays the red text "Red Title" when hovered over:
    • /tellraw @a {"text":"Hover me again!","color":"#ff00ff","hoverEvent":{"action":"show_text","value":{"text":"Red Title","color":"#ff0000"}}}
  • To send the message "Diamond Axe" in chat, colored turqouise, with an unbreakable diamond axe showing when the text is hovered over:
    • /tellraw @a {"text":"Diamond Axe","color":"#00ff88","hoverEvent":{"action":"show_item","contents":{"id":"diamond_axe","count":3,"tag":"{Unbreakable:1}"}}}
  • To send the message "Your Score is: " with the score for the object "object_name" of the player or entity who executed the command.
    • /tellraw @s [{"text":"Your Score Is: "},{"score":{"name":"@s","objective":"object_name"}}]

Bedrock Edition/Pocket Edition[edit]


  • To send the message "Hello" in chat:
    • /tellraw @a {"rawtext":[{"text":"Hello"}]}
Visible text in chat:[edit]
  • To use "(quotation marks) in the chat (as part of the message):

Use '\' to the left of the quotes:

    • /tellraw @a {"rawtext":[{"text":"\"it\" will appear in quotes"}]}
Visible text in chat:[edit]
"it" will appear in quotes
  • Use '\n' to insert a new line:
    • /tellraw @a {"rawtext":[{"text":"Text1\nText2"}]}
Visible text in chat:[edit]
  • Use '§' to change the text color:
    • /tellraw @a {"rawtext":[{"text":"§bColor text"}]}
Visible text in chat:[edit]
Color text (blue)


  • To send the message "Download complete" in chat:
    • /tellraw @a {"rawtext":[{"translate":"accessibility.downloading.complete"}]}
Visible text in chat:[edit]
Download complete

The text will appear translated for each person, according to the language they selected in their Minecraft settings.

It is not any message that can be placed in the 'translate'. Minecraft uses specific texts located in .lang files.


For changes to the raw JSON text used by this command, see Raw JSON text format § History.
Java Edition
1.7.213w37aAdded /tellraw.
Bedrock Edition
1.9.0beta /tellraw.

See also[edit]

  • /say — send a plain text message to all players
  • /tell — send a plain private text message to specific players