Convert any image to pixel art in your browser: pick the width in pixels, reduce the colors to an automatic palette or a retro one such as PICO-8, add dithering or a dark outline, and download a crisp PNG. For bead, cross-stitch or hand-drawn projects, the numbered pattern export gives you a grid with a color number in every square and a legend.

Choose an image or use the sample.

How to use the image to pixel art converter

Choose a picture, set the width, pick a palette and download. Nothing is uploaded: the image is processed in your browser tab.

  1. Width in pixels: 16 to 32 for icons and game sprites, 48 to 64 for avatars, 96 to 128 for detailed scenes. The height follows the image’s shape.
  2. Downscale: Dominant color picks the most common color in each block, which keeps outlines sharp; Average color blends the block, which is smoother for photos.
  3. Palette: Auto finds the best set of 2 to 64 colors for your image. Retro palettes force every pixel into a fixed set, and Custom accepts your own hex codes, for example a palette copied from Lospec.
  4. Dithering: mixes neighboring colors to fake shades the palette does not have; useful for gradients and skies.
  5. Sprite options: Remove background makes the color of the top-left corner (and close shades) transparent, and Dark outline then draws a one-pixel border around the subject in the darkest palette color (or near-black #111111 if the palette has no dark color).

Download 1× when a game engine or editor needs one image pixel per art pixel, and a larger scale for sharing, because most apps blur small images when they enlarge them.

How the image to pixel art conversion works

The converter shrinks the picture to your grid, chooses a palette, then maps every block to the closest palette color in a perceptual color space.

  1. Downscale: each output pixel covers a block of the source image. Dominant-color mode groups the block’s colors into 32 levels per channel and keeps the largest group; average mode takes the mean.
  2. Palette: in Auto mode, median cut splits the colors into the chosen number of boxes, and up to six rounds of k-means then move each palette color to the center of the pixels it represents.
  3. Matching: colors are compared in CIELAB, where the straight-line distance (CIE76 ΔE) follows human vision better than raw RGB. Pure red #FF0000, for example, is about 176 ΔE from pure blue.
  4. Dithering: Floyd–Steinberg passes each pixel’s rounding error to its neighbors (7/16 right, 3/16, 5/16 and 1/16 on the next row); ordered dithering adds a fixed 4×4 Bayer threshold pattern instead, which gives the regular checkerboard look of old consoles.

ΔE = √( (L₁ − L₂)² + (a₁ − a₂)² + (b₁ − b₂)² )

Pixel art sizes and palettes

Smaller grids and fewer colors look more like classic pixel art; larger grids keep more of the photo. These starting points work for most projects.

UseWidthPaletteDithering
Game sprite or emoji16–32 pxPICO-8 or Auto 8–16None
Profile picture48–64 pxAuto 16–24None or Bayer
Landscape or sky96–128 pxAuto 24–32Floyd–Steinberg
Bead or cross-stitch patternyour board or fabric widthCustom (your bead or thread colors)None
Retro handheld look48–96 px4 green shadesBayer
Print or laser engravingany1-bit black and whiteFloyd–Steinberg

PICO-8 is the 16-color palette of the PICO-8 fantasy console by Lexaloffle; the four green shades imitate early handheld screens. For a bead project, type the hex codes of the colors you own into the custom palette so the pattern never asks for a color you do not have.

Using the numbered pattern

The pattern PNG draws every pixel as a square with its palette number, adds a darker line every ten squares for counting, and lists each color with its hex code and how many squares use it.

  • Print it and color or fill the squares by number for hand-drawn pixel art.
  • Use the counts as a shopping list for fuse beads, mosaic tiles or cross-stitch thread.
  • Keep the width to what your pegboard or fabric allows, and use Remove background so empty squares stay blank.

Building in Minecraft instead? The Minecraft pixel art generator matches images to real wool, concrete and terracotta blocks and counts the stacks you need. To size an image for a screen first, try the aspect ratio calculator, and for art made of letters instead of squares, use the ASCII art generator.

Limits

Automatic conversion is a starting point, not finished hand-made pixel art: faces, small text and thin lines usually need a few pixels fixed by hand in an editor.

  • Images are reduced to at most 1,024 px on the long side before conversion, and the result is capped at 256 px wide and 512 px tall.
  • Background removal only uses the top-left corner color, so busy backgrounds need to be removed in an editor first.
  • Animated GIFs are converted from their first frame.
  • The same settings give the same result every time, so you can come back and reproduce a palette.

Frequently Asked Questions

How do I convert an image to pixel art?

Choose the image, set the width in pixels (for example 32 for a sprite or 64 for an avatar), pick an automatic or retro palette, then download the PNG at 1× for editors or at 8× for sharing.

What size should pixel art be?

16 to 32 pixels wide suits icons and sprites, 48 to 64 pixels suits avatars, and 96 to 128 pixels keeps detail in scenes. Smaller sizes look more like classic pixel art.

How many colors should pixel art have?

Most retro-style pieces use 4 to 32 colors. Fewer colors give a bolder look; start with 16 and lower it until the image still reads clearly.

What is dithering in pixel art?

Dithering places two palette colors in a pattern so that, from a distance, they read as an in-between shade. Floyd–Steinberg spreads the rounding error to nearby pixels; ordered (Bayer) dithering uses a fixed 4×4 pattern.

Can I make a bead or cross-stitch pattern from a photo?

Yes. Set the width to your board or fabric size, enter the hex codes of your bead or thread colors as a custom palette, and download the numbered pattern with a color legend and counts.

Sources and further reading