tellraw / titleraw Command Generator
Creates chat messages, titles, and action bar commands in color. It also outputs the corresponding Script API code.
Create a Message
Contents
To add colors or decorations, click in the text input field and then use the button below to insert them. If you select some text and then click the button, the decoration will be inserted before that text.
Preview
This is just a visual guide. The actual display may vary slightly depending on the game's font and settings.
Commands
Script API(JavaScript)
How to Use the tellraw / titleraw Command Generator
"tellraw" is a command that displays a message of your choice in the chat window.`titleraw` is a command that displays a large title in the center of the screen or an action bar at the bottom of the screen. Since both commands require content written in JSON in the `rawtext` format, even a single mistake in quotation marks or parentheses will cause them to stop working. This tool constructs the correct command format based on the content you enter.
Procedure
- Select the "Display Type" (Chat, Title, Subtitle, Action Bar).
- In the "To" field, enter the people you want to share this with, such as @a (everyone), @p (the person closest to you), or @a[tag=vip].
- Enter text in the "Content" field, and use the color buttons to insert § codes for color, bold text, and other formatting. You can check how it looks in the preview.
- If you want to include player names or scores on the scoreboard, select a selector or score from the "Add Component" menu.
- Paste the generated command into a command block or the chat. If you're developing an add-on, you can also use the Script API code below as-is.
Important Notes on the Integrated Version
Unlike the Java Edition, the "rawtext" in the Bedrock Edition does not include commands that trigger when clicked or text that changes when you hover over it. Text color and bold formatting are specified using the "§" symbol and code within the text, rather than through JSON settings (§a for green, §l for bold, §r to revert). If you need a screen that responds to clicks,server-ui Form Buildercan be used.
Related Information
You can check the features available in each version of the Script API in the Script API Quick Reference.
Related Tools
- Add-on Studio: Create an add-on in your browser and export it as a .mcaddon file
- lang Generator: Automatically generates ja_JP.lang for item and block names
- permissions.json / allowlist.json Editor: Edit permissions and whitelists with XUID search
Frequently Asked Questions
What is the difference between `tellraw` and `titleraw`?
`tellraw` is a command that displays a message in the chat window. `titleraw` is a command that displays a large title in the center of the screen, a subtitle below it, and text in the action bar at the bottom of the screen. Both commands use JSON in the `rawtext` format to specify the content to be displayed.
How do I add color to text in the integrated version of tellraw?
In the Unified Edition, rawtext does not allow you to specify colors or bold formatting using JSON, as in the Java Edition. Instead, you apply colors and formatting by inserting the § symbol followed by an alphanumeric code (e.g., §a for green, §l for bold, §r to reset) within the text. This tool inserts the § code simply by clicking the color button.
Can you create text that executes a command when clicked?
The integrated version of tellraw does not support click events or tooltips. If you need functionality that responds to clicks, it is common practice to use a form (server-ui) instead of the chat using the Script API. You can create forms using the server-ui Form Builder on this site.
I can't enter "§" into a command block.
Depending on the keyboard, you may not be able to type §. If you check the box labeled “Output § as \u00a7,” the system will output \u00a7 instead of §. The visual result is the same.
What are "score" and "selector" used for?
`selector` inserts the name of the player who matches a selector such as `@p` into the message. `score` inserts the value from the scoreboard (coins, kills, etc.) as plain text. For example, you can use it like this: "You have (score) coins."