Free browser tool

Minecraft Tellraw Editor

Build formatted /tellraw messages visually — colors, hex colors, bold, click events, hover tooltips — with an in-game-style preview, a JSON/SNBT output switch, and an importer that pinpoints exactly where a broken command fails.

Java Edition text components · JSON (1.13+) and SNBT (1.21.5+) output

Build Your Tellraw Message

Examples
Each example lists what it demonstrates.
Target

Preview (Minecraft chat style)
Generated command /tellraw @p {"text":"Hello"}
Component only (for books, signs, /title, datapacks) {"text":"Hello"}

How /tellraw Works

The /tellraw command sends a JSON text component to one or more players. Components can be plain text, a live selector (shows the current matching player), a scoreboard value, a keybind name, a translated string, or an NBT value — each with its own colors, formats, click event, and hover event.

Using the Command in Three Places

  • Chat box — paste and press Enter. The chat input accepts about 256 characters; the length meter under the output tells you when a message is too long.
  • Command block — paste into the block's command field for messages up to ~32,500 characters. Power it with a button, pressure plate, or redstone clock.
  • Function file — save the command line in a datapack .mcfunction file for reusable, versionable messages (welcome texts, menus, rules).

Component Type Reference

  • text — plain text with styles. Use the ⏎ button for a line break.
  • selector — displays the name of whatever matches the selector right now.
  • score — displays a scoreboard value, e.g. a player's kill count.
  • keybind — shows the player's own key binding, e.g. key.jump.
  • translate — localized message with optional with arguments.
  • nbt — reads a value from a block, entity, or storage.
  • Hex colors — beyond the 16 named colors, any #rrggbb value works on Java 1.16+.
  • Hover events — show_text (tooltip), show_item (item card, 1.16+), show_entity (entity card, 1.16+).
  • insertion — text inserted when a player shift-clicks the component in chat.

Need exact IDs for items, entities, or score objectives? Browse the Minecraft Item ID List or the entity ID list.

Tellraw Editor FAQ

What is the /tellraw command in Minecraft?

The /tellraw command sends formatted JSON text messages to players. Unlike /say or /msg, it supports colors, bold, italic, click events, hover events, and multiple text segments in one message.

Can I add clickable links to tellraw messages?

Yes. Use a clickEvent with action "open_url" and an http(s) URL. Players see a confirmation prompt, then their browser opens the link.

JSON or SNBT — which output format should I use?

Match your server. JSON with legacy event fields (clickEvent/value/contents) is correct for Java 1.13–1.21.4. Java 1.21.5+ uses SNBT with renamed event fields (click_event/hover_event, url, command, inlined show_item/show_entity) — commands using the old event fields fail on 1.21.5+.

Does tellraw work on Bedrock Edition?

Bedrock Edition supports /tellraw but with a limited rawtext JSON structure. This tool generates Java Edition syntax.

My command from an old guide fails — what now?

Paste it into the import box. The editor reports the exact character where parsing fails, suggests fixes for common mistakes (single quotes, trailing commas, unquoted keys), and can read both JSON and the newer SNBT form.