Preview
/tellraw @a [{"text":"Welcome to ","color":"Yellow"},{"text":"the server!","color":"Green","bold":true}]/title @a title [{"text":"Welcome to ","color":"Yellow"},{"text":"the server!","color":"Green","bold":true}][
{
"text": "Welcome to ",
"color": "Yellow"
},
{
"text": "the server!",
"color": "Green",
"bold": true
}
]What is a JSON text component?
Since Minecraft 1.7, chat, titles, books, signs and entity names all use a structured JSON text component instead of plain strings. Each component can carry a text value plus properties like color, bold, italic, clickEvent and hoverEvent. Combining several components in an array lets one message mix many colors and styles.
Because the syntax is strict, one misplaced quote breaks the whole command. This generator always emits valid JSON so your /tellraw runs the first time.
How to use the /tellraw command
- Choose a target selector — @a (everyone), @p (nearest), @s (self) or a player name.
- Add one text segment per color or style change and type your message.
- Copy the /tellraw output and paste it into a command block or operator chat.
- For an on-screen banner, use the
/titleoutput instead — it shows the same styled text large and centered.
Command blocks strip the leading slash automatically, so you can paste with or without it. In a datapack .mcfunction file, remove the slash.
Colors, formats and version notes
- Named colors (like
goldorgreen) work on every version from 1.7 onward and are the safest choice. This tool maps your picker to the nearest named color automatically. - Hex colors in components require 1.16+. If you need a smooth multi-color effect, generate it in the gradient text tool.
strikethrough,underlined,boldanditaliccan be combined freely on any segment.
Frequently Asked Questions
Why does my /tellraw command fail to parse?
What is the difference between @a, @p and @s?
Can I add clickable or hover text?
Does /tellraw work in Bedrock Edition?
How do I use this in a datapack function?
Related Minecraft Tools
Color Code Generator
Build formatted chat, names & lore with § color and style codes.
Gradient Text Generator
Create smooth RGB hex gradients for names, MOTDs and messages.
MOTD Generator
Design your multiplayer server list message with a live preview.