A rainbow on a Minecraft sign.

Minecraft color codes and format codes

Here's how to change your books, signs, and even your Minecraft server name.

Minecraft allows me to change minor details like symbols and format the text displayed in signs, books, and chat, making it easier to emphasize information and make it clear. Here is a list of all the Minecraft color codes and format codes, with explanations on how to use them.

Recommended Videos

All Minecraft color codes & format codes List

To change Minecraft color and format codes, you must first learn how to format text in Minecraft. To format text, use the Section Symbol (§) before the number or letter associated with the colors and formats. You can type it without copying and pasting using the method below (which applies to most standard keyboards).

How to insert the format symbol (§) in Minecraft

The keyboard buttons to make the § symbol.
  1. Hold Alt (highlighted red)
  2. Press Numpad 2 (highlighted blue)
  3. Press Numpad 1 (highlighted purple)

When you follow the method above, you will type the symbol §. Immediately after this, the code should be the number or letter you wish to use from the list below. The text following the code will have the format or color.

Example: §mHello, world!

Result: Hello, world!

Related: All Candle Colors in Minecraft and How to Get Them

Minecraft color codes

NameCodeEditions
Black§0Java/Bedrock
Dark Blue§1Java/Bedrock
Dark Green§2Java/Bedrock
Dark Aqua§3Java/Bedrock
Dark Red§4Java/Bedrock
Dark Purple§5Java/Bedrock
Gold§6Java/Bedrock
Gray§7Java/Bedrock
Dark Gray§8Java/Bedrock
Blue§9Java/Bedrock
Green§aJava/Bedrock
Aqua§bJava/Bedrock
Red§cJava/Bedrock
Light Purple§dJava/Bedrock
Yellow§eJava/Bedrock
White§fJava/Bedrock
Minecoin Gold§gBedrock edition only
Material Quartz§hBedrock edition only
Material Iron§iBedrock edition only
Material Netherite§jBedrock edition only
Material Redstone§mBedrock edition only
Material Copper§nBedrock edition only
Material Gold§pBedrock edition only
Material Emerald§qBedrock edition only
Material Diamond§sBedrock edition only
Material Lapis§tBedrock edition only
Material Amethyst§uBedrock edition only

Minecraft format codes

NameBedrock CompatibleCodeExample
StrikethroughNo§mHello!
Underline No§nHello!
BoldYes§lHello!
ObfuscatedYes§kH̴͓͓̺̫̹͉͔͇̰͓͝e̵̡̨͚̭͎̺̎̇̆̂͑l̷̛̈́͗̓̑͛̆̿͜ļ̵̧̗̝̹̥̦̹̓o̵͇̪̳̹̼̩̿̓͐̔̄̋ͅͅ
ItalicYes§oHello
Reset to DefaultYes§rHello!

Minecraft MOTD (Message of the day) codes

Once you learn how to host a Minecraft server, you can freshen it up by changing the MOTD color displayed to anyone joining it. To do this, go to your server folder, find the server.properties file, and open it using the notepad. In the file, find ''MOTD='' followed by the message of your choice. You need to input the color codes right after the equal sign to change the color and format.

Example: MOTD=\u00A7cHelloDearReaders

ColorCode
Black\u00A70
Dark Blue\u00A71
Dark Green\u00A72
Dark Aqua\u00A73
Dark Red\u00A74
Dark Purple\u00A75
Gold\u00A76
Gray\u00A77
Dark Gray\u00A78
Blue\u00A79
Green\u00A7a
Aqua\u00A7b
Red\u00A7c
Light Purple\u00A7d
Yellow\u00A7e
White\u00A7f
Minecoin Gold\u00A7g

For more information on Minecraft, check out How to Dye Leather Armor In Minecraft on Pro Game Guides.


Pro Game Guides is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Best 5 Star Monsters for PVP and PVE in Summoners War
Monster rider loading screen in Summoners War.
Read Article How to get Armament Haki in Demon Piece – Roblox
Purchasing Armament Haki from Alphirex NPC in Demon Piece
Read Article How to get Black Leg fighting style in Demon Piece
A player standing in front of the Baratie in Demon Piece
Read Article Halberdier Build Guide – Wartales
A warband with two halberdiers on the battlefield in Wartales
Read Article Does Fallout 4 work on Steam Deck? (Best Settings)
A Steam Deck running Fallout 4
Related Content
Read Article Best 5 Star Monsters for PVP and PVE in Summoners War
Monster rider loading screen in Summoners War.
Read Article How to get Armament Haki in Demon Piece – Roblox
Purchasing Armament Haki from Alphirex NPC in Demon Piece
Read Article How to get Black Leg fighting style in Demon Piece
A player standing in front of the Baratie in Demon Piece
Read Article Halberdier Build Guide – Wartales
A warband with two halberdiers on the battlefield in Wartales
Read Article Does Fallout 4 work on Steam Deck? (Best Settings)
A Steam Deck running Fallout 4
Author
Jovan Krstić
Jovan, a Codes Writer at GAMURS, applies his extensive gaming background and research skills to uncover every available code. His gaming interests span genres such as racing, horror, first-person shooters, and RPGs. Outside of work, he enjoys competitive gaming in Destiny 2, ranking up in EA FC's Ultimate Team, and playing Overcooked 2.
Author
Nebojša Prijić
Nebojša Prijić is a senior staff writer at Pro Game Guides with over 25 years of experience in journalism, screenwriting, and copywriting. He previously worked as Editor-in-Chief of Maxim Serbia magazine and the IGN Adria website. Nebojša is an old-school gamer who loves real-time strategies, shooters, and RPGs, but most of all, he plays Roblox and mobile games with his son. He remembers the first Diablo, PC games on a single floppy disk, and playing Mortal Kombat on the keyboard.

Write A Comment

Minecraft color codes and format codes

Comments are on moderation and will be approved in a timely manner. Please read the following rules before commenting:

  • All comments must be on topic and add something of substance to the post
  • No swearing or inappropriate words
  • No asking or begging for anything free
  • Do not attempt to start a poll in the comments
  • Comments in all CAPS will be removed
  • We reserve the right to remove a comment for any reason
  • Do not impersonate a staff member or influencer

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.