PlayersJavaBedrock

/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).

What is /tellraw used for?

What /tellraw is for

Sends richly formatted JSON text to players' chat — colors, bold/italic, hover tooltips, and clickable actions like running a command or opening a URL.

When to use /tellraw

Build clickable menus, styled announcements, and interactive prompts in maps and datapacks. It's the upgrade from plain /say when you need formatting or interactivity.

Tips for /tellraw

Combine clickEvent run_command with /trigger objectives to make safe, player-clickable buttons. Selectors inside the JSON expand to player names, and scores can be embedded live.

Syntax

Parameters

targets
entity selector
Who receives the message.
component
JSON text
A JSON text component or array of components.

/tellraw command generator

Configure the options below to generate a ready-to-paste /tellraw command.

Target selector:
Preview
Hello world!
Segment 1
Color
hex
Formatting
Click action
Segment 2
Color
hex
Formatting
Click action

Examples

  • Bold gold 'Hello!' to all players.

  • Message with a clickable link.

Common questions

How do I make clickable text in Minecraft chat?

Add a clickEvent to the /tellraw JSON with action run_command and a value like /spawn — clicking the text then runs that command for the player.

How do I add color to /tellraw text?

Set a color field on the text object (red, gold, aqua, or a #hex value). You can toggle bold, italic, and underlined the same way.

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.