Pixel art converter: turn an image into pixel art

Turn a photo into 16×16, 32×32 or 64×64 pixel art with a limited palette, dithering and a grid — for games, beads or crochet. Nothing is uploaded.

px

Files are processed in your browser and never uploaded.

How to use

Add a picture — drag it into the box, choose it from your device or paste from the clipboard — and set the width of the pixel art in pixels. The height follows the picture’s proportions. The result updates right away whenever you change something.

You can download the enlarged picture — each pixel becomes a square, about 1024 px on the long side — or a PNG at actual size, such as 32 × 32, to open in a pixel art editor or a game.

The picture is processed in your browser and never uploaded.

A pattern for beads, crochet or cross-stitch

Turn on the grid and limit the number of colors to the shades of yarn or beads you have. Under the picture there’s a list of colors with their HEX code and how many cells use each one — handy for counting how many beads or stitches you need of every color.

How it works

First the picture is shrunk to the chosen size: each output pixel is the average color of its rectangle in the original. Then every pixel is replaced with the nearest palette color; closeness is measured in the OKLab color space, where it matches how the eye tells colors apart. The custom palette is found with k-means clustering. Dithering uses the Floyd–Steinberg method: each dot’s color error is carried over to its neighbors. Semi-transparent pixels become either transparent or opaque — pixel art usually has no partial transparency.

FAQ

What size works for an avatar or icon? 32 × 32 or 64 × 64. For a small game character, 16 × 16 or 24 × 24.

Why does the downloaded image look blurry in my viewer? Many apps smooth a small 32 × 32 PNG when zooming in. Download the enlarged version — every pixel is already drawn as a square there.

How is pixel art different from pixelation? Pixelation keeps the picture at its original size with all its colors. Pixel art shrinks the picture to a few dozen pixels and limits the palette.

Can I use a specific game’s palette? PICO-8 and Game Boy are available here. For other games choose “From the picture” with the number of colors you need.

Why doesn’t a face look like the person at a small size? 16 or 32 pixels across hold too little detail. Crop the photo to the face and raise the width to 48–64 — the likeness gets much better.