How to Use Bold, Italic, Underline & Strikethrough Text in Minecraft

Formatting text with bold, italic, underline, and strikethrough styles makes your Minecraft signs, books, item names, and chat messages stand out. This guide covers the exact formatting codes, ordering rules, and JSON command syntax for both Java and Bedrock Editions.

Color Code Text Editor

Minecraft Text Formatting Codes

Minecraft uses the section sign (§) followed by a single letter to apply text styles. You can combine multiple styles together or pair them with color codes.

On Windows, you can type the § symbol by holding Alt and typing 0167 on the number pad.

The Golden Rule: Color Before Formatting

When combining colors and text formats in Java Edition, you must always write the color code first and the formatting code second. In Java Edition, applying a color code automatically resets any active formatting styles back to plain text.

Here are standard Java color codes you can pair with formats:

Note that text drop shadows automatically take the text color and divide each RGB channel by 4.

Correct Order Examples:

Incorrect Order Example:

How to Format Text in Bedrock Edition

In Bedrock Edition, players can directly type the § symbol on signs, inside Book and Quill pages, in chat, and when renaming items in an anvil.

  1. Open a sign, book, chat window, or anvil interface.
  2. Type § (using Alt+0167 on Windows or holding down the & or S key on mobile keyboards).
  3. Enter your color code first, followed by §l for bold or §o for italic.
  4. Type your text. The § code disappears once you type the code letter, showing a live preview.

Important Bedrock Limitation: Underline (§n) and Strikethrough (§m) do not exist in Bedrock Edition. Instead, Bedrock assigns those letters to material colors. Specifically, Bedrock includes extra color codes: §g (minecoin_gold), §h (material_quartz), §i (material_iron), §j (material_netherite), §m (material_redstone), §n (material_copper), §p (material_gold), §q (material_emerald), §s (material_diamond), §t (material_lapis), §u (material_amethyst), and §v (material_resin). Typing §m or §n in Bedrock simply turns your text redstone-red or copper-orange.

Formatting Text in Java Edition Using JSON Commands

Java Edition does not allow you to type the § character in chat, on signs, or in anvils. To use bold, italic, underline, and strikethrough in vanilla Java Edition, use JSON text components inside commands like /tellraw or /title.

In JSON text, each style is a boolean property (true or false) paired with a "color" name:

/tellraw @a {"text":"Server Rules","color":"gold","bold":true,"underlined":true}

To combine multiple styles in a single sentence, use an array of text objects:

/tellraw @a [{"text":"Quest: ","color":"yellow","bold":true},{"text":"Failed","color":"red","strikethrough":true},{"text":" Completed!","color":"green","italic":true,"strikethrough":false}]

Always set a format to false in subsequent array segments if you do not want the parent text object's formatting to carry over.

Removing Default Italics on Renamed Items in Java

Whenever you rename an item in an anvil in Java Edition, the game automatically displays the custom name in italics. When creating custom items with commands, you can override this default behavior by explicitly setting "italic":false in the JSON text component.

Compare a standard italic name with a clean, bold, non-italic custom name:

Adding "italic":false is essential for map makers and server administrators who want custom gear to look like natural game items.

Using the Ampersand (&) on Multiplayer Servers

Because Java Edition blocks the § symbol in chat and on signs, multiplayer servers running chat or sign plugins accept the ampersand (&) as a substitute. The plugin automatically converts & into § behind the scenes.

If your server supports chat formatting plugins, use these copyable patterns:

Remember to keep the color code before the formatting codes, or the color will reset your styles.

Questions

Why doesn't underline or strikethrough work in Minecraft Bedrock Edition?

Bedrock Edition uses §m for material_redstone color and §n for material_copper color. Because those two letters are assigned to colors, strikethrough and underline formatting do not exist in Bedrock.

Why does my bold or italic text disappear when I add a color code?

In Java Edition, every color code resets all previous formatting codes. Always place the color code first and the formatting code second, such as §c§l instead of §l§c.

Why can't I type the § symbol in Minecraft Java chat?

Java Edition blocks the § character in the chat box, anvils, and signs. You must use JSON text commands (like /tellraw) in vanilla Java, or type & on servers that use formatting plugins.

How do I stop renamed items from being italic in Java Edition?

Items renamed in an anvil are always italic in vanilla Java. To create non-italic item names, generate or modify the item using commands and include "italic":false inside the item name's JSON text.

Related guides

See all →