Minecraft pixel art generator

Turn a picture into blocks: a wall, a floor or map art, with the blocks to gather and a schematic to paste. Your picture stays on your computer: it is converted in your browser and never uploaded.

Preview

Converting…

About the pixel art generator

The pixel art generator turns a picture into Minecraft blocks: a wall that stands up, a floor laid flat, or map art that shows the picture on an in-game map. It scales the picture to the size you pick, matches every pixel to the block whose colour is closest, then shows the result in the real block textures, with the list of blocks to gather and a .schem file to paste.

Your picture never leaves your computer: it is read and converted in your browser, and nothing is uploaded.

How to use it

  1. Drop a picture on the page, choose one, or paste one from your clipboard. PNG, JPEG, WebP and GIF all work; transparent parts stay empty.
  2. Choose how it stands in the world: Wall, Floor or Map art.
  3. Set the width in blocks; the height follows the picture's proportions. Neither goes past 256 blocks.
  4. Pick the blocks: every full block, or wool, concrete and terracotta, or one of the three alone. By default the tool leaves out blocks you cannot get in survival, blocks that fall and blocks that change on their own; Choose blocks adds or removes any single block.
  5. Turn dithering on for photos and smooth gradients, and leave it off for logos and flat colours.
  6. Check the preview in block textures or in flat colours, then download the .schem, a PNG of the preview, or both.

How the colours are matched

Every block has a measured colour: the mean of its texture, taken in linear light as the eye mixes it. The tool converts each pixel of your picture to the CIELAB colour space and picks the block at the smallest ΔE, the distance between two colours as people see them (CIE76). A wall is matched on the side of each block and a floor on its top: an oak log shows its bark on a wall and its rings on a floor.

Blocks that look the same from where you stand count once. The tool then keeps wool, concrete or terracotta over other blocks, and a block that stays as built over one that changes.

Dithering

With dithering off, each block is the closest colour on its own: flat areas stay clean and edges stay sharp. With Floyd–Steinberg dithering, the difference between the colour a block wanted and the one it got is passed on to the blocks next to it, so a gradient becomes a mix of blocks that reads as the right shade from a distance. It suits photos and skies, and adds noise to logos.

Map art

A map does not draw block textures. Each block has one map colour, which the game shades by comparing the block with the one north of it: darker when that one is higher, lighter when it is lower, and in between when they are level. On flat map art every block is level with the next, so they all take the middle shade, and the tool matches your picture against those map colours instead of the textures. Blocks that share a map colour look the same on the map, so it keeps one of each.

The download adds one row of blocks along the north edge of the picture, so the first row is shaded like the rest. A level 0 map covers 128 by 128 blocks, and maps line up on a fixed grid: stand on the north-west corner of one, a block whose x and z are both 64 more than a multiple of 128 (such as 64, 192 or -64), before you paste.

How to paste the .schem with WorldEdit

Put the file in plugins/WorldEdit/schematics on a server or config/worldedit/schematics in single player (FastAsyncWorldEdit: plugins/FastAsyncWorldEdit/schematics), then run //schem load <name> and //paste -a. The -a skips the empty parts of the picture, so what is already there stays. Axiom imports the file as a blueprint.

Where it lands depends on where you stand. A wall goes up one block north of you, its bottom left corner in front of your feet and the picture facing you as you look north. A floor and map art replace the layer of blocks under your feet, the top of the picture to the north and its top left corner under you.

Tips for a good source picture

Crop the picture to what you want to build: every pixel of a wide margin costs blocks. Strong outlines and flat colours come through the scaling best, so logos, sprites and drawings turn out cleaner than photos. Pixel art drawn at its final size converts pixel for pixel when you set the width to its own width.

For a photo, raise the contrast a little before you load it and turn dithering on. Transparent pixels leave their block empty, which suits a sprite on a wall; on map art, whatever lies under a gap shows on the map.

Is my picture uploaded?

No. It is read and converted in your browser, on your own computer. Nothing is sent to BlockLab or to anyone else, and nothing is kept once you close the page.

How big can the pixel art be?

Up to 256 blocks wide and 256 blocks high: two maps across for map art, and 65,536 blocks for a full square, so check the materials list before you start in survival.

Which blocks does it use?

Full, solid blocks whose four sides look the same, so the picture reads the same whichever way the paste turns it: wool, concrete, terracotta, stone, planks, ores and the rest. See-through blocks such as glass and leaves are left out, and so are blocks with a front, such as furnaces. The list follows the game version picked in the sidebar.

Why do some colours come out wrong?

Minecraft does not have a block for every colour, so a bright purple or a skin tone may have no close match and the tool takes the nearest one it has. Allow more blocks, turn dithering on to mix two blocks into the shade between them, or adjust the colours of the picture before you load it.

Can I build it in survival?

Yes. By default every block it picks can be crafted or mined in survival, and blocks that fall or change on their own are left out. The materials list counts each block in stacks of 64 and in shulker boxes of 27 stacks (1,728 blocks), the extra row of map art included.

Read next