Players
/tellraw
Sends a richly-formatted message to specific players using JSON text components. Supports color, bold/italic/underline, hover events, and click events (open URL, run command, copy to clipboard).
Syntax
Parameters
- targets
- entity selector
- Who receives the message.
- component
- JSON text
- A JSON text component or array of components.
Command builder
Configure the options below to generate a ready-to-paste /tellraw command.
Target selector:
Preview
Hello world!
Segment 1
Color
hexFormatting
Click action
Segment 2
Color
hexFormatting
Click action
/tellraw @p [{"text":"Hello ","color":"gold","bold":true},{"text":"world!","color":"aqua","italic":true}]Examples
Bold gold 'Hello!' to all players.
Message with a clickable link.
Permission level
/tellraw requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.