
Because Minecraft does not use a monospace font, centering text by counting letters never aligns properly. This tool measures your text using exact in-game pixel widths and adds the right number of spaces to center it.
Loading the tool…
Different text areas in Minecraft have different maximum pixel widths. Pick the matching target before copying your padded text:
motd= line of your server.properties file or server list plugin config.Counting characters fails in Minecraft because letters have different widths. Every character width includes a 1-pixel gap on the right:
i and ! are only 2 pixels wide.! or swap a regular character for a bold one to shift the width by 1 or 2 pixels.Minecraft uses a variable-width font where most letters are 6 pixels wide, a space is 4 pixels, and characters like i and ! are only 2 pixels. Because widths vary, you must measure the total pixels rather than the character count.
In Minecraft, bold formatting adds 1 extra pixel of width to every character. A 10-letter bold word is 10 pixels wider than normal text, so it requires fewer leading spaces to stay centered.
Default chat is 320 pixels wide, a server MOTD is about 270 pixels, a book page is 114 pixels, and a sign line is 90 pixels wide.
This tool measures exact glyph widths from the Minecraft Java Edition font files (including Unifont fallback characters). Because Bedrock Edition uses a different font, the pixel widths and space padding will not match identically.