Wiki ArticleDeprecated featuresPages using calculatorArticles to be expandedInformation needed

Formatting codes

Formatting codes (also known as color codes) add color and modifications to text in-game.

Text in Minecraft can be formatted with the section sign (§). In Bedrock Edition, the section sign can be used in signs, book and quills, anvils and cartography tables (to rename items and maps), the chat input field (including in commands such as /say and /title), and text in resource packs displayed in-game. In Java Edition, section signs may be used in server.properties, pack.mcmeta, splashes.txt, language files, world titles, commands (such as /tellraw and /title) in data packs, and server names. External programs can be used to insert it in other locations.

Text can be formatted using the section sign (§) followed by a character. A § symbol followed by a hex digit in the message tells the client to switch colors while displaying text. In Bedrock Edition, the § symbol can be used in any text input and resource pack texts, while in Java Edition, it may be used in server.properties, pack.mcmeta, splashes.txt, language files, world titles, commands (such as /tellraw and /title) in datapacks, and server names.

Complete article available

This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.