/tellraw Command in Minecraft Java Edition

Send Formatted Chat Messages to Players

Java EditionChat & TextPermission: Level 2Bedrock version →

The /tellraw command sends a custom chat message to one or more players using a JSON or SNBT text component. Unlike regular chat commands, it transmits the raw text directly without adding your player name at the front.

Map makers and server operators use this command to create colored announcements, custom dialogue, and system alerts. You need permission level 2 (operator status or cheats enabled in single-player) to run it.

Syntax (Java 26.3, 1 form)

  1. /tellraw <targets> <message>

The forms you will use most

/tellraw <targets> <message>
Sends a formatted text component message to the chosen players.

Arguments

ArgumentTypeWhat it means
<targets>target selector
players only
Specifies the players who will see the message using a player name, a UUID, or a target selector like @p, @a, or @s.
<message>text componentDefines the message content using a JSON or SNBT text component, such as {"text":"Hello","color":"gold"}.

Examples

Tellraw GeneratorWrite coloured JSON chat messages with bold, italic and click actions.Open generator →

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.13 Already in the game in 1.13, the oldest Java version we track.

Tips

Common mistakes

Java vs Bedrock

Bedrock Edition also includes the /tellraw command with a similar structure: /tellraw <target: target> <raw json message: json>.

See /tellraw in Bedrock Edition →

FAQ

Who can use the /tellraw command?

Only players with permission level 2 (operators on a server, or players with cheats turned on in single-player) and command blocks can use /tellraw.

Can I send a /tellraw message to mobs?

No, the <targets> argument only accepts players, so targeting mobs or other non-player entities will not work.

How do I change the text color in /tellraw?

Add the color key inside your text component, such as {"text":"Hello","color":"gold"}, to display the text in that color.

Related commands

/dialog/me/msg/say/teammsg/tell/title/tm/w

More on 9Minecraft