Commands/tellraw

Sends a JSON message to players.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * Specifies the player(s) to send the message to.


 * Specifies the message to send.

Examples

 * To send the message "Hello" in chat:
 * ‌[Java Edition only]
 * ‌[Bedrock Edition only]
 * To send the message "I am blue" colored blue in chat:
 * ‌[Java Edition only]
 * ‌[Bedrock Edition only]
 * If you want to use a hex code:
 * ‌[Java Edition only]
 * To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over:
 * ‌[Java Edition only]
 * Use '\n' to insert a new line:
 * ‌[Java Edition only]
 * ‌[Bedrock Edition only]
 * Using values in translations
 * ‌ Localization: chat.type.announcement=[%s] %s

‌[Bedrock Edition only]

History
For changes to the raw JSON text used by this command, see Raw JSON text format § History.