Minecraft color codes, MOTD and text editor
Write colored Minecraft text with a live preview and export § codes, & codes, MOTD, tellraw JSON or MiniMessage.
Unofficial site. Not approved by or associated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.
Use & before a code; type && for a literal ampersand. Each new line is a new line in game.
Gradient (Java 1.16+)
Select part of the text first, or the whole text is used. Existing codes in it are replaced.
Preview
Output
Hex colors are written in the § format Java plugins use (§x§r§r§g§g§b§b); vanilla files and Bedrock will not show them.
Runs entirely in your browser. Your files never leave your device.
About this tool
Colored server names, signs, chat messages and book titles all rely on the same formatting codes, which are easy to forget. Click a color or a style to insert its code, type your text, and the preview shows the result instantly, including the scrambled “obfuscated” effect.
One input gives every format you might need: § codes for Bedrock and vanilla files, & codes for server plugins, the escaped MOTD line for server.properties, a JSON text component for /tellraw, /title, signs and books in Java, and MiniMessage tags for Paper. Java servers also accept hex colors, and the gradient tool spreads two colors across your text. A line counter warns when a MOTD gets too long for the server list.
How it works
- Type your text; click a color or a style to insert its code at the cursor.
- Optionally select a word and apply a hex gradient.
- Check the preview and the line lengths.
- Choose the output that matches where you paste it, then copy it.
Codes are written with “&” in the editor: &0 to &f are the 16 colors, &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated and &r reset. A color code resets the styles that come before it, exactly as in the game, so put styles after the color.
Worked example
For a server list entry, type &6&lSKY&e&lBLOCK &7| &aSeason 3 is open. The preview shows SKY in bold gold and BLOCK in bold yellow, then a grey bar and green text. The MOTD output writes the same line with \u00A7 instead of &, ready to paste after motd= in server.properties.
The JSON output turns the same line into text components such as {"text":"SKY","color":"gold","bold":true}, which you can use with /tellraw @a or on a sign through a command. The MiniMessage output gives the equivalent tags for Paper plugins.
Good to know
- Add &r (reset) before plain text that follows a styled word, otherwise bold or italic carries on to the end of the line.
- In Java Edition the anvil and the sign editor strip the § character, so coloured item names and signs need a command with the JSON output.
- In Bedrock Edition you can paste the § version into an anvil, a sign or a book and the colours show up.
- Keep &k (obfuscated) for one or two characters: a whole scrambled line is unreadable and tiring to look at.