How to Make Floating Text in Minecraft Java (Text Displays)

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.

Text Display Generator

What Are Text Display Entities?

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.

How to Summon Basic Floating Text (Version Differences)

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.

Controlling Rotation and Alignment

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:

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!"}}

Customizing Background, Shadow, and Visibility

Text displays have several visual tags that help your floating text stand out against busy builds:

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"}}

How to Scale Text Size

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}}

Using Text Generators and & Color Codes

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.

How to Remove Floating Text

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.

Questions

Can I use text display entities in Minecraft Bedrock Edition?

No. Bedrock Edition has no text display entity. Bedrock players must use a named, invisible armor stand or another entity to create floating text.

How did players make floating text before Java 1.19.4?

Before 1.19.4, players summoned invisible armor stands with the CustomNameVisible tag enabled and gave the armor stand a custom name.

Why is my text command giving a syntax error in Java 1.21.5?

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.

How do I get rid of the dark box behind my floating text?

Add background:0 inside your entity data tags when summoning or modifying the text display to make the background completely transparent.

Related guides

See all →