CRAFTUTILS

Tellraw Generator

Turn colour-coded text into a /tellraw command with proper JSON.

Preview

[Server] Welcome to the realm!

Command

/tellraw @a ["",{"text":"[","color":"gold"},{"text":"Server","color":"yellow"},{"text":"] ","color":"gold"},{"text":"Welcome to the realm!","color":"green"}]
Copied!
How it works — examples & FAQ

What /tellraw does

/tellrawsends a chat message built from Minecraft’s raw JSON text format, so you get precise colours and formatting without the section sign. It’s the standard way to show polished messages from command blocks, datapacks and functions.

How to use the command

  • Type your message with familiar & colour codes above.
  • Pick a target selector — @a, @p, @s or @r.
  • Copy the generated command into a command block or chat.

The tool converts each colour code into a proper JSON component (for example &a becomes {"text":"…","color":"green"}), which is what the game expects.

FAQ

What do the selectors mean?

@a targets all players, @p the nearest, @s the command’s executor, and @r a random player.

Why is there an empty string at the start?

The leading ""stops the first component’s formatting from bleeding into the rest — it’s a common, well-behaved pattern for tellraw arrays.