Minecraft Pixel Art Generator: turn an image into blocks
Upload an image and the Minecraft Pixel Art Generator turns it into Minecraft blocks at your chosen size, up to 256 × 256. Get a live preview, a material list with stacks and shulker boxes, a numbered blueprint, /fill commands and a data pack. Free, with no sign-up required—your image stays in your browser and is never uploaded.
Built by Eric Mager
Got your pixel art? Build it on your own Minecraft server.
Preparing image …
The image is built as block art and viewed directly.
A sample image is currently being used.
Only blocks available in this version. The datapack works on Java 1.20.2 and all newer versions.
The image stands upright: the starting point is at the bottom left, viewed from the south. Sand and gravel are omitted because they fall.
49 of 140 blocks used in 26.3
Select blocks individually
Wool
Concrete
Terracotta
Common blocks
Rare blocks
Blends adjacent blocks for smoother color transitions — best turned off for pixel art templates.
Example result
What the Pixel Art Generator provides
The tool turns your image into matching blocks, counts the materials, and combines identical blocks into as few commands as possible. The example below is a small Creeper face with three colors; your results depend on the image, size, and block palette.
Example · 8 × 8 pixel Creeper face · wall · no dithering
- Blocks
- 64
- 8 Ă— 8 grid made from 3 block types
- Stacks
- 3
- 64 blocks each; partial stacks count
- Shulker boxes
- 1
- 27 slots per chest
- Commands
- 31
- /fill and /setblock, relative to your position
Materials list
34 x Lime Wool [minecraft:lime_wool] = 3420 x Black Concrete [minecraft:black_concrete] = 2010 x Green Wool [minecraft:green_wool] = 10 Total: 64 blocks, 3 stacks, 1 shulker boxesCommands (first 12 of 31)
/fill ~ ~7 ~ ~1 ~7 ~ minecraft:lime_wool/setblock ~2 ~7 ~ minecraft:green_wool/fill ~3 ~7 ~ ~5 ~7 ~ minecraft:lime_wool/setblock ~6 ~7 ~ minecraft:green_wool/fill ~7 ~4 ~ ~7 ~7 ~ minecraft:lime_wool/fill ~ ~4 ~ ~ ~6 ~ minecraft:lime_wool/setblock ~1 ~6 ~ minecraft:green_wool/fill ~2 ~6 ~ ~3 ~6 ~ minecraft:lime_wool/setblock ~4 ~6 ~ minecraft:green_wool/fill ~5 ~6 ~ ~6 ~6 ~ minecraft:lime_wool/fill ~1 ~4 ~ ~2 ~5 ~ minecraft:black_concrete/fill ~3 ~5 ~ ~4 ~5 ~ minecraft:lime_wool- Row 11Identical blocks in a rectangle are combined into one /fill: here, the four black pixels of the left eye become a single command.
- ~ ~ ~The commands use your position as their starting point: The bottom-left block of the image is placed there, and the image extends east (+X) and upward (+Y). It is viewed from the south.
Guide
How to use the Minecraft Pixel Art Generator
No download or sign-up required: upload an image, choose blocks and recreate the pixel art in Minecraft.
Step 1
Upload image
Drag a PNG, JPG, WebP or GIF into the tool, or select a file. The image is processed in your browser, and transparent areas remain empty. If you don't upload an image, the tool shows an example.
Step 2
Set size
In “Pixel Art” mode, choose a width from 1 to 256 blocks. 32, 64 or 128 is a good starting point. If the aspect ratio is locked, the height adjusts automatically.
Step 3
Choose version, blocks and orientation
Set your Minecraft version (Java Edition), choose a block palette such as wool, concrete, terracotta or survival-friendly blocks, and select wall (upright) or floor (flat). Turn dithering on for photos and off for logos or sprites.
Step 4
Check the preview and materials
Check the live preview and material list, including quantities, stacks and shulker boxes. You can download the preview and blueprint as PNG files.
Step 5
Build in-game
Build by hand using the numbered building plan, or download the datapack (.zip) from the “Commands” tab, place it in your world's datapacks folder, run /reload, and start the function with /function from the starting corner. This requires operator permissions.
Features
Turn an image into Minecraft blocks: how the generator works
Minecraft Pixel Art is an image built block by block: one pixel equals one block. The generator handles the counting and gives you everything you need to build it.
The right block for every pixel
The image is scaled to your block grid, then each pixel is assigned the block with the closest color. Colors are compared by perceived similarity (CIEDE2000), not just RGB values. Transparent pixels remain empty.
Materials list for Survival
For each block, you can see the quantity broken down into stacks of 64, plus the total and the number of Shulker Boxes (27 slots each) you need to carry them. The Survival-friendly palette excludes rare blocks; you can also select or deselect individual blocks.
Wall or floor
On a wall, the image stands upright: start at the bottom left, facing it from the south. Sand, Red Sand, and Gravel are excluded because they would fall. On a floor, the image lies flat beneath your feet, starting at the top left. Regular Dirt is excluded because it turns into Grass Blocks.
Build without Mods
The tool combines identical blocks into as few /fill commands as possible. Each command changes no more than 32,768 blocks (the default limit). You get commands to copy, a .mcfunction file, and a ready-to-use datapack (.zip) for /function. You don't need WorldEdit or Litematica.
Dithering for photos
Floyd–Steinberg dithering mixes neighboring blocks to make color gradients look smoother. It's useful for photos; turn it off for logos, sprites, and Pixel Art templates to keep areas a solid color.
Only blocks from your version
Choose your Java version from 1.13.2 to 26.3: the tool only uses blocks available in it. The grid ranges from 1 to 256 blocks per side. From Java 1.20.2 onward, the datapack works in all newer versions; for older versions, it only works in the selected version.
Pixel Art or Map Art?
You build Pixel Art on a wall or floor and look at it directly. Map Art is built so the image appears on a filled map: each map covers 128 × 128 blocks, built either flat (2D) or with height levels (3D) for more shades. This tool supports both; switch between them in the “Mode” tab above.
Explore more
More Minecraft building tools
Circle Generator
Perfect circles, ovals, and spheres as block grids—with block count and /fill command export.
Built by Rugile Rutkauskaite
Map Art Generator
Turn an image into Minecraft Map Art with authentic map colors, optional height levels, a materials list, and a ready-to-use Datapack. All in your browser.
Built by Eric Mager
Banner generator
Combine banner patterns and preview them live on a banner and shield — includes a /give command for modern and legacy servers.
Built by Rugile Rutkauskaite
Image to Minecraft Skin Converter
NewUpload an image or photo and download it as a 64×64 Minecraft skin (Classic or Slim) with a 3D preview—full character, head from photo, or texture, all in your browser.
Built by Justin Schuessler
FAQ
Frequently asked questions about Minecraft Pixel Art Generator
Quick answers about blocks, size, dithering, commands, the data pack and privacy.
A live preview, a materials list with stacks and Shulker boxes, a numbered building plan, and ready-to-use /fill and /setblock commands, also as a .mcfunction file. For example, a 8 Ă— 8-pixel Creeper face as wall art without dithering uses 64 blocks (34 Ă— Lime Wool, 20 Ă— Black Concrete, 10 Ă— Green Wool). That is 3 stacks, which fit in 1 Shulker box, built with 31 commands such as /fill ~ ~7 ~ ~1 ~7 ~ minecraft:lime_wool.
Upload a PNG, JPG, WebP or GIF above, then choose the width in blocks (1 to 256), your Minecraft version, a block palette and a wall or floor orientation. The preview, material list, numbered blueprint and commands update instantly. Then build by hand using the blueprint or let the data pack do the building.
The Minecraft Pixel Art Generator is free to use without signing up. Conversion, preview and export all run in your browser: your image never leaves your device or gets stored anywhere.
Concrete has very uniform, vibrant colors and looks the cleanest. Wool is similarly colorful, while terracotta offers earthy, muted tones. The “All Color Blocks” palette combines all three and usually matches your image's colors most closely. For Survival worlds without rare materials, use the Survival palette; you can select or deselect individual blocks at any time.
The materials list shows the count for each block, broken down into stacks of 64, plus the total and the number of Shulker boxes needed (27 slots each). The grid ranges from 1 to 256 blocks per side: 64 Ă— 64 is 4,096 blocks, while 128 Ă— 128 is already 16,384.
Without dithering, each pixel simply gets the closest matching block. With Floyd–Steinberg dithering, the tool mixes neighboring blocks to make gradients and midtones look smoother—ideal for photos. For logos, sprites, and original pixel art, it's better to turn it off to keep areas a solid color.
To build by hand, follow the numbered blueprint, which you can also download as a PNG. For a faster option, open the “Commands” tab: download the data pack (.zip), put it in your world's datapacks folder, run /reload, stand at the starting corner and run the function with /function. If there are only a few commands, you can copy and run them one at a time; pasting them all into chat at once won't work because of the 256-character limit. You'll need operator permissions or cheats enabled.
The version selection applies to Java Edition, and block names use modern IDs such as minecraft:white_wool. The data pack works with Java 1.20.2 and newer versions. We haven't tested the commands for Bedrock Edition; there, you can use the blueprint to build by hand.
No, schematic export isn't available. The generator provides the preview and blueprint as PNG files, the material list and blueprint as copyable text, /fill and /setblock commands, a .mcfunction file and a data pack. You can use these to build in vanilla Minecraft without mods.
Any more questions?
Contact SupportHost your own Minecraft server in 60 seconds
Cheats/operator permissions for /fill commands, DDoS protection, and one-click Modpack installation—your server keeps running while you build.
No setup. No risk. Online in seconds.
Looking for more tools? View all Minecraft tools

