Minecraft Colour Code Converter
GamesEverything runs locally in your browser — nothing is uploaded
Convert between § codes, & codes, hexadecimal and JSON text components. Two things to keep straight: `§` (U+00A7) is what vanilla accepts, while `&` is only turned into `§` inside a plugin escape context. And hexadecimal has two unrelated spellings — the per-digit `§x§5§5§F§F§5§5` for signs and command blocks, and the JSON `{"color":"#55FF55"}` for `/tellraw`. Input accepts `§a`, `&a`, `a`, `#55FF55`, `green`, or a format code such as `§l`.
Features
- Between § codes, & codes, hexadecimal and JSON
- The 16 colours with names and swatches
- Format codes: bold, italic, underline, strikethrough, obfuscated, reset
- The per-digit form §x§5§5§F§F§5§5
- The JSON text component {"color":"#55FF55"}
- Name input such as green or dark_blue
- Several codes at once
How to use
- Type one colour code or name per line
- The colour name and its forms appear together
- Switch Output form to see just one
- A format code such as §l is described instead
FAQ
- What is the difference between § and &?
- `§` (U+00A7) is the colour prefix vanilla understands. `&` is a plugin and command convention: a server plugin rewrites `&a` into `§a` before sending text to the client. In a vanilla sign, `&a` is just two ordinary characters.
- Why are there two hexadecimal spellings?
- The per-digit `§x§5§5§F§F§5§5` goes in sign and command-block text (vanilla 1.16+ understands it, and one missing `§` silently breaks it). The JSON `{"color":"#55FF55"}` goes in `/tellraw`, `/title` and book JSON. They are unrelated, so each is given correctly.
- What are §l, §o and the like?
- They are format codes that change the typeface, not the colour: `§l` bold, `§o` italic, `§n` underline, `§m` strikethrough, `§k` obfuscated, `§r` resets all formatting. They stack, but `§r` clears everything before it.
Related tools
Color Converter
ConvertConvert between HEX, RGB, HSL, HWB, CMYK, Lab and OKLCH, with colour temperature, inverse, complement, nearest ANSI colour and WCAG contrast.
MC Stack Sizes
GamesTurn an item total into full stacks plus a remainder, and how many shulker boxes or large chests that needs. Stack size 64, 16 or 1.
Random Number Generator
GeneratorsGenerate random integers or decimals with a chosen range, count and decimal places, plus deduplication, sorting and binary, octal or hex output.
MC Coordinates
GamesConvert Minecraft Overworld and Nether coordinates at the 8:1 ratio, plus chunk coordinates and a portal placement reminder. Accepts x z and x y z.
MC Ticks
GamesConvert between game ticks, seconds, redstone ticks and minutes, with the common cycles listed. Redstone updates every 2 game ticks.
MC Distance & Travel
GamesDistance between two points and travel time: straight-line and grid distance, with times for walking, sprinting, elytra and minecarts.