Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Calculators/tellraw generator

Switch game

23 Wikis · pick your game
Tellraw Generator

Calculator

Tellraw Generator

Write a chat message with colours, styles, click and hover actions and get the /tellraw command, with a preview of the chat.

Who
Distance to entity

Tags, separated by commas; ! in front means without it.

More options
Experience level
Entity's x rotation
Entity's y rotation
Entities with scores

Message

Part 1
Colour
Part 2
Colour

In the game

Hello, Steve

In the chat: names and scores show what the game finds when the command runs.

Command

/tellraw @a ["",{text:"Hello, ",color:"gold"},{selector:"@p",bold:true}]

72 characters

For Java Edition 26.3. Every form this tool writes was run through the game's own command parser.

Text colours

black#000000
dark_blue#0000AA
dark_green#00AA00
dark_aqua#00AAAA
dark_red#AA0000
dark_purple#AA00AA
gold#FFAA00
gray#AAAAAA
dark_gray#555555
blue#5555FF
green#55FF55
aqua#55FFFF
red#FF5555
light_purple#FF55FF
yellow#FFFF55
white#FFFFFF

Click actions

run_commandcommandRuns the command as the player who clicks
suggest_commandcommandPuts the command in the player's chat box
open_urlurlOpens a web page (http or https) after the player agrees
copy_to_clipboardvalueCopies the text
change_pagepageTurns to that page, in a book

How the game works it out

Text formSince 1.21.5 a text is written like an item component: {text:"Hi",color:"gold"} with click_event and hover_event
Several partsA list's first part passes its style to the others, so the generator starts the list with an empty part
Who gets itOnly players: @e and @n need type=player, a game mode or a level
ColoursOne of 16 names or any #rrggbb
Names and scoresselector and score parts are filled in by the game when the command runs
Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)