All commands
💬
Fun

/tellraw

Send colorful, formatted text to players using JSON.

Try in Simulator

At a glance

Syntax

Syntax
/tellraw <target> <json>
commandtargetcoordsvaluerequiredoptional

See it

What it does

<Alex> gg<Bot> joined the game
★ Welcome, hero ★
A message hits the chat

Anatomy

Every part, explained

  1. 1
    /tellrawCommandRequired

    Sends raw JSON text to players.

  2. 2
    <target>TargetRequired

    Who sees it. Use @a for everyone.

  3. 3
    <json>JSON textRequired

    The message and its styling as JSON.

Your turn

Try it yourself

Playground
3 tokens · press Enter to run

Copy & paste

Examples

/tellraw @a {"text":"Hello","color":"gold"}

Golden greeting for everyone.

/tellraw @s {"text":"Bold!","bold":true}

Show yourself bold text.

/tellraw @a {"text":"Click me","color":"aqua"}

Aqua message to all players.

Avoid these

Common mistakes

/tellraw @a Hello
/tellraw @a {"text":"Hello"}

The message must be JSON, not plain text.

/tellraw {"text":"Hi"}
/tellraw @a {"text":"Hi"}

You must name a target before the JSON.

Keep going

Related commands