
Obfuscated text—commonly known by players as magic, glitch, or corrupted text—rapidly swaps characters to create a scrambling effect first seen in the End Poem. This guide covers how to generate and stop obfuscated text on signs, items, chat, and command blocks across both Java and Bedrock Editions.
Obfuscated text is a built-in Minecraft formatting style activated by the code §k or the JSON tag "obfuscated":true. When applied, the game constantly swaps each character with random characters of the exact same pixel width. For example, a narrow letter like i will only cycle through other narrow characters, while a wide letter like M cycles through wide ones.
Players and server owners use this effect for:
Like all Minecraft text, obfuscated characters render with a drop shadow. The shadow color is calculated automatically by taking the text color and dividing each RGB channel by 4.
In Bedrock Edition, you can type the section symbol (§) directly into signs, books, chat, and anvil item names without needing commands or mods.
§. On Windows, hold Alt and type 0167 on the number pad. On mobile or console, hold down the & or S key on your on-screen keyboard to find §.k after the symbol (§k), followed by the letters you want to scramble.§r (reset) or enter any color code.Copyable Bedrock examples:
§kSecretArtifact§kII§r Legendary Sword §kIIYou can color your obfuscated text or make it bold and italic. In Java Edition, typing a color code resets all active formats, so you must always write the color code first and the format code second.
Standard color codes (work in Java and Bedrock):
§0 black (#000000), §1 dark_blue (#0000AA), §2 dark_green (#00AA00), §3 dark_aqua (#00AAAA)§4 dark_red (#AA0000), §5 dark_purple (#AA00AA), §6 gold (#FFAA00), §7 gray (#AAAAAA)§8 dark_gray (#555555), §9 blue (#5555FF), §a green (#55FF55), §b aqua (#55FFFF)§c red (#FF5555), §d light_purple (#FF55FF), §e yellow (#FFFF55), §f white (#FFFFFF)Bedrock Edition also includes extra material colors:
§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, §v material_resinFormatting codes:
§k obfuscated, §l bold, §o italic, §r reset§m strikethrough, §n underline (on Bedrock, m and n are material colors, so strikethrough and underline do not exist there).Correct ordering examples:
§c§kRed Glitch Text
§5§l§kBold Purple Magic
§b§k!!!§r §eGolden Blade §b§k!!!Java Edition does not let you type the § symbol into chat, signs, or anvils. To create obfuscated text in vanilla Java Edition, you must use commands formatted with JSON text components, setting "obfuscated":true.
1. Chat Messages with /tellraw
Send a glitched chat message to all players:
/tellraw @a {"text":"Corrupted Transmission","color":"red","obfuscated":true}2. Mixing Normal and Obfuscated Text
To surround normal text with spinning symbols, use a JSON array and set "obfuscated":false on the readable middle section:
/tellraw @a ["",{"text":"***","color":"aqua","obfuscated":true},{"text":" Secret Discovered! ","color":"yellow","obfuscated":false},{"text":"***","color":"aqua","obfuscated":true}]3. Screen Titles with /title
Display a dramatic magic subtitle or main title:
/title @a title ["",{"text":"AA","color":"dark_purple","obfuscated":true},{"text":" The Void ","color":"light_purple","obfuscated":false},{"text":"AA","color":"dark_purple","obfuscated":true}]Most Java Edition multiplayer servers use chat, sign, and anvil plugins that replace the restricted § symbol with the ampersand (&). If your server supports color plugins, you can use &k directly in chat or on signs.
&kHiddenMessage&4&l&kDANGER&6&k::&r &eExcalibur &6&k::Always remember to place the color code before &k, and use &r or a new color code when you want the scrambling effect to stop.
Because Minecraft swaps each character with random characters of the exact same width, the letters you type after §k control how wide and rapid the glitchy block looks.
i, l, !, or : (for example, §k!!!§r) to create tight, needle-like spinning bars that do not take up much space.A, X, or numbers like 0 (for example, §kXX§r) for balanced framing around sword names or server ranks.M or W when you want dense, heavy blocks of corrupted text to hide a short word.Type the reset code §r (or &r on plugin servers) right after the glitched characters. In Java Edition, typing any color code (such as §f for white) also stops the obfuscated effect.
In Java Edition, color codes reset all formatting codes that come before them. You must type the color code first and §k second (for example, §a§k instead of §k§a).
Java Edition blocks the § character in chat, anvils, and signs. To get obfuscated text in Java, use JSON commands with "obfuscated":true, or use &k on servers that have chat formatting plugins installed.
No. In Bedrock Edition, the codes §m and §n are assigned to material_redstone and material_copper colors, so strikethrough and underline formats do not exist in Bedrock.