Turn any photo into Minecraft block art — right in your browser — with a build legend telling you exactly how many of each block you'd need to build it.
Upload an image and Craftify downsamples it into a block grid, matches each cell's average color to the nearest real Minecraft block (in perceptual CIE-Lab color space), renders it as chunky shaded tiles, and tallies the blocks.
Everything runs client-side. Nothing is uploaded. Not affiliated with Mojang or Minecraft.
- Granularity slider (16–200 blocks wide) — chunky to detailed
- Palettes: Concrete, Wool, Terracotta, or Full (~79 blocks incl. stones, planks, ores)
- Build legend sorted by count, with swatches and totals
- Grid lines and block shading toggles
- Export the art as a PNG or the block tally as a build list (
.txt)
It uses ES modules, so it needs to be served over HTTP (not opened as a file://):
python3 -m http.server 8000
# then open http://localhost:8000This is a plain static site — no build step. On Render:
- New → Static Site, connect this repo, and set:
- Build Command: (leave empty)
- Publish Directory:
.
Or use New → Blueprint and Render will read render.yaml automatically.
index.html
css/styles.css
js/main.js UI orchestration + legend rendering
js/craftifyRenderer.js core engine (downsample → match → paint → tally)
js/blocks.js block palette data (avg colors per block)
js/color.js sRGB→Lab conversion + nearest-block matcher
js/exporters/pngExporter.js PNG + build-list export