
Floating text is a great way to build server lobbies, label storage systems, and guide players through custom maps. Since Minecraft Java Edition 1.19.4, you can create customizable floating text using the text display entity without needing invisible armor stands.
Introduced in Minecraft Java Edition 1.19.4, the text_display entity allows players and server owners to place floating text anywhere in the world. Before 1.19.4, players had to summon invisible armor stands with the CustomNameVisible tag enabled. Text displays replace that method with much more flexibility.
Unlike old armor stand holograms, text displays support multiple lines, custom background colors, text shadows, scaling, and different rotation behaviors. Because they are built specifically for rendering text, they are cleaner and easier to position.
To summon a text display, you need commands enabled in your world or operator permissions on a server. Because recent updates changed how Minecraft reads text data, the exact command depends on your game version.
For Java Edition 1.19.4 to 1.21.4 (JSON String Format):
In these versions, the text tag is written as a JSON string inside single quotes:
/summon minecraft:text_display ~ ~1 ~ {text:'{"text":"Welcome to Spawn!","color":"gold","bold":true}'}For Java Edition 1.21.5+ (SNBT Text Component Format):
In Java 1.21.5 and newer, the game writes the text directly as an SNBT text component without wrapping it in a JSON string:
/summon minecraft:text_display ~ ~1 ~ {text:{text:"Welcome to Spawn!",color:"gold",bold:true}}Note: If your command is longer than the regular chat box allows, paste it into a Command Block (/give @s command_block) and power it with a button.
By default, a text display faces a single fixed direction. You can change how it rotates toward players using the billboard tag, and adjust how multi-line text sits using alignment.
You can also control text alignment and wrapping:
"center", "left", or "right".200 pixels.Here is an example for 1.19.4–1.21.4 that always faces the player and centers the text:
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",alignment:"center",line_width:200,text:'{"text":"Server Rules:\n1. Be respectful\n2. Have fun!"}'}For Java 1.21.5+, use the SNBT text format instead:
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",alignment:"center",line_width:200,text:{text:"Server Rules:\n1. Be respectful\n2. Have fun!"}}Text displays have several visual tags that help your floating text stand out against busy builds:
1b (true) or 0b (false) to toggle a drop shadow behind the letters.1b to make the text visible straight through solid blocks and walls.1b to use the standard dark, semi-transparent chat background.0 for a completely transparent background.Example with a transparent background, text shadow, and player-tracking rotation (1.19.4–1.21.4):
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",shadow:1b,background:0,text:'{"text":"Storage Room","color":"aqua"}'}Same example for Java 1.21.5+:
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",shadow:1b,background:0,text:{text:"Storage Room",color:"aqua"}}To make floating text larger or smaller, use the transformation tag. The scale array takes three numbers representing the X (width), Y (height), and Z (depth) multipliers.
To double the size of your text, set the X and Y scale values to 2.0f. Here is a copyable command for 1.19.4–1.21.4:
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.0f,2.0f,2.0f]},text:'{"text":"BOSS ARENA","color":"red","bold":true}'}For Java 1.21.5+, update the text component:
/summon minecraft:text_display ~ ~1 ~ {billboard:"center",transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.0f,2.0f,2.0f]},text:{text:"BOSS ARENA",color:"red",bold:true}}Writing out multi-line text components, ARGB background integers, and transformation matrices by hand can easily lead to syntax errors. If you use a command generator tool (such as text.9minecraft.net), you can format your floating text visually.
In generator tools and server plugins, you can format text using & color and style codes per line (for example, &6 for gold or &l for bold) and let the tool automatically convert your options into the exact command for your Java version.
Because text displays have no hitbox, you cannot punch them in Creative or Survival mode to break them. To delete a text display, stand right next to it (within 2 blocks) and run this command:
/kill @e[type=text_display,distance=..2]Always include the type=text_display and distance=..2 arguments so you do not accidentally remove other entities or distant floating text across your world.
No. Bedrock Edition has no text display entity. Bedrock players must use a named, invisible armor stand or another entity to create floating text.
Before 1.19.4, players summoned invisible armor stands with the CustomNameVisible tag enabled and gave the armor stand a custom name.
Java 1.21.5+ changed the text tag from a quoted JSON string to a direct SNBT text component. Remove the single quotes around your curly braces in the text tag.
Add background:0 inside your entity data tags when summoning or modifying the text display to make the background completely transparent.