Hologram & Text Display Generator
Java EditionNewType your hologram lines with & colour codes and see them float over the ground at true size — 40 font pixels per block, wrapped at the real line width, next to a player for scale. Pick how it turns (billboard), its alignment, background colour and opacity, shadow, see-through, scale and full brightness, then copy one /summon text_display command for Java 1.21.5–26.x (SNBT) or 1.19.4–1.21.4 (JSON), stacked armor stands for 1.13–1.19.3, or ready-made DecentHolograms and FancyHolograms commands and config files.
Templates
Text
Look
Turns on both axes to always face the camera (like a name tag).
ARGB #40000000 = background:1073741824
2.88 × 1.28 blocks
Lines longer than this wrap (game default 200).
Placement & version
Java 1.21.5 – 26.x (text_display, SNBT text component)
blocks
a-z 0-9 _ -
Preview
True size: 1 block = 40 font pixels × scale, next to a 1.8-block player. The white dot is where the entity stands.
Output
/summon text_display ~ ~1.5 ~ {text:["",{text:"DIAMOND SHOP",color:"aqua",bold:true},{text:"\n"},{text:"Trade with the villager",color:"gray"},{text:"\n"},{text:"for ",color:"gray"},{text:"1 Diamond ",color:"yellow"},{text:"each",color:"gray"},{text:"\n\n"},{text:"» Right-click to open «",color:"green",underlined:true}],billboard:"center",shadow:true,Tags:["holo_shop"]}How it works
Each text line becomes one line of the hologram. & codes work as in chat: &0–&9 and &a–&f colours, &#RRGGBB hex (Java 1.16+), &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated. Colours reset at the start of every line, the way hologram plugins treat lines, and an empty line leaves a gap.
A text_display entity (Java 1.19.4+) shows all lines in one entity. The game draws its text at 0.025 blocks per font pixel — 40 pixels per block — wraps lines longer than line_width (200 by default), spaces lines 10 pixels apart and anchors the bottom-centre of the text on the entity's position. The preview uses those exact numbers and our Minecraft-width font, so what wraps here wraps in game.
The background is a single ARGB integer: alpha in the top byte, then red, green and blue. The game default is 1073741824 (0x40000000, 25 % black); 0 removes it; values with alpha under 26 aren't drawn at all. Billboard decides how it turns: center always faces the player, vertical only turns sideways (best for standing signs), horizontal only tilts, and fixed keeps the yaw you set. Scale goes in the transformation, and brightness {sky:15,block:15} keeps it bright in the dark.
1.21.5 changed how text is written inside NBT: the text tag is now an SNBT component like {text:"Shop",color:"gold"} instead of a JSON string inside quotes, and booleans can be true/false. Pick your version and the right form is written. Before 1.19.4 there is no text_display, so the tool stacks one invisible, marker armor stand per line, 0.27 blocks apart, with a visible custom name — the classic hologram trick.
Server owners with a hologram plugin get commands to paste in game and a config file: DecentHolograms (/dh create, /dh line add, holograms/<name>.yml with & and &#RRGGBB codes) and FancyHolograms 2.x (/hologram create text, edit setLine / addLine, billboard, background, textShadow, scale — in MiniMessage).
Under the hood
- 1.21.5 – 26.x
- summon text_display ~ ~1.5 ~ {text:["",{text:"SHOP",color:"aqua",bold:true},{text:"\n"},{text:"Right-click",color:"gray"}],billboard:"center",shadow:true}
- 1.19.4 – 1.21.4
- summon text_display ~ ~1.5 ~ {text:'{"text":"SHOP","color":"aqua"}',billboard:"center",shadow:1b}
- Background
- background = alpha<<24 | red<<16 | green<<8 | blue (signed int) · default 1073741824 = 0x40000000 · 0 = none · alpha < 26 = invisible
- Size
- 1 block = 40 font px × scale · line height 10 px · line_width 200 px default · Steve is 72 px tall
- Scale
- transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2f,2f,2f]}
- Armor stand
- summon armor_stand ~ ~1.5 ~ {Invisible:1b,Marker:1b,NoGravity:1b,CustomNameVisible:1b,CustomName:'{"text":"SHOP"}'} (one per line, 0.27 blocks apart)
FAQ
How do I make a hologram in Minecraft without plugins?
On Java 1.19.4 and newer, summon a text_display entity: /summon text_display ~ ~1.5 ~ {text:{text:"Hello"},billboard:"center"} (1.21.5+). Type your lines here, copy the command and run it where the hologram should float. On older versions, use invisible marker armor stands with a visible custom name — one per line — which the tool also writes.
Why does my text_display command not work in 1.21.5 or newer?
Since 1.21.5 the text tag is an SNBT text component, not JSON in a string. text:'{"text":"Hi"}' from older guides now shows the raw JSON or fails; write text:{text:"Hi"} instead. Switch the version above and the tool writes the right form for 1.21.5–26.x or for 1.19.4–1.21.4.
How do I change the text_display background colour or remove it?
Set background to an ARGB integer: background:0 removes it, background:-16777216 is solid black and the default is 1073741824 (25 % black). Pick a colour and opacity here and the tool converts it to the signed integer. Alpha values from 1 to 25 are not drawn, so use 0 or at least 26.
How do I make the hologram face the player?
Use billboard:"center" — it always turns towards the camera like a name tag. billboard:"vertical" turns only sideways and stays upright, which looks better for signs on the ground. The default, fixed, keeps the entity's rotation and is mirrored when seen from behind.
How do I remove a hologram?
Every command here tags the entity, so you can remove it with /kill @e[type=text_display,tag=holo_<name>] (or type=armor_stand for the old method). For DecentHolograms use /dh delete <name>, for FancyHolograms /hologram remove <name>.
Should I use DecentHolograms, FancyHolograms or plain text_display?
Plain text_display needs no plugin and is perfect for static text. Plugins add per-player placeholders (%player_name%), animations, pages, click actions and easy editing in game. DecentHolograms uses & codes and works on old and new servers; FancyHolograms uses display entities and MiniMessage on Paper 1.19.4+.
Related tools
Scoreboard Sidebar & Animated TAB Designer
Minecraft scoreboard generator: design a sidebar with a title, 15 coloured lines and hidden numbers, animate it and copy commands or TAB plugin config.Text & StyleTellraw, Title & Actionbar Generator
Minecraft title & actionbar generator: /title and action bar text with colours, plus /tellraw chat with click and hover events, for Java and Bedrock.Text & StyleMinecraft Sign Text Generator
Design coloured, glowing, two-sided Minecraft signs with a live pixel preview and get the /give or /setblock command for 1.20 to 1.21.5+.Text & StyleMinecraft Color Codes & Formatting
Every Minecraft colour and formatting code (§ and &) with hex values, MiniMessage tags and JSON names, plus a live editor that converts between formats.Text & StyleMinecraft Gradient Text Generator
Minecraft gradient text generator: smooth RGB text in &#hex, MiniMessage, §x, JSON, MOTD and Bedrock formats, with a pixel-accurate in-game preview.Text & Style