Skip to content
CrayonPix

Image to Pixel Art Converter

Convert a photo into crisp, retro pixel art. Choose how many pixels wide it should be and how many colors it can use, and download a sharp PNG.

Loading the tool…

Your images are processed on your device and never uploaded.

How to use Image to Pixel Art

  1. 1

    Choose or drop an image (JPG, PNG, WebP, AVIF, HEIC, SVG).

  2. 2

    Set the pixels across, the number of colors and the palette, and turn on the grid if you want one.

  3. 3

    Click Download to save the pixel art as a PNG.

From photo to pixel art in two settings

Pixel art is defined by two limits: a low resolution and a small set of colors. This tool lets you set both and see the result live.

Pixels across (16 to 256) is the width of the art in “big pixels”. The height follows your image’s proportions, so a 3:2 photo at 64 across becomes 64 × 43. Low values, such as 24 or 32, look like early video game sprites; 128 or more keeps much more detail. The value cannot exceed the width of the original image.

Colors (2 to 64) is the size of the palette. Fewer colors give a bolder, more graphic look; 16 to 32 colors usually keep a photo recognizable. No dithering is applied: each block simply takes the nearest palette color, which gives flat, clean areas typical of hand-made pixel art.

Choosing a palette

Palette Colors Look
From the image 2–64, your choice Colors picked from the photo itself (median cut)
Game Boy 4 fixed greens The green-screen look of the original 1989 handheld
PICO-8 16 fixed colors The bright palette of the PICO-8 fantasy console
Grayscale 2–64 shades, your choice Evenly spaced grays from black to white

“From the image” is the best default for portraits and landscapes. The retro palettes work well with simple subjects and strong contrast: a pet, a logo, a plant on a plain background. Pick the main colors of a photo as HEX codes with Color Palette from Image if you want to reuse them elsewhere.

Pixel grid and output size

Tick “Show pixel grid” to draw thin, semi-transparent lines between art pixels. It is useful as a guide for cross-stitch, perler beads, LEGO mosaics or re-drawing the art by hand in a sprite editor.

The download is always a PNG, which keeps the hard edges perfectly sharp — JPG would blur them. The art is scaled up by a whole number so it ends up close to 1024 pixels wide: 16 × at 64 across, 8 × at 128 across, 4 × at 256 across. The exact size is shown under the preview.

Pixel art vs. pixelate

The two are related but serve different goals. Pixelate Image breaks a photo into blocks while keeping its full range of colors, usually to hide a face or a license plate. This converter also limits the colors, which is what turns a blurry mosaic into something that looks like a drawing. For a flat-color effect without the blocks, try Posterize Image.

Tips for better results

  • Crop close to the subject first; pixel art has few pixels to spare on background.
  • Photos with clear lighting and strong shapes convert better than busy scenes.
  • Try a low pixel count with few colors, then raise one setting at a time until the subject reads clearly.

Formats and privacy

You can open JPG, PNG, WebP, AVIF, GIF (first frame), BMP and SVG, plus iPhone HEIC photos, one image at a time. The conversion runs with your browser’s canvas on your device: no upload, it works offline once the page has loaded, and no metadata is copied into the PNG.

Frequently asked questions

How does the image to pixel art converter work?

It shrinks your picture to the number of pixels across you choose (16 to 256), averaging the colors of each block. Every block is then replaced by the closest color of a small palette, and the result is enlarged again with hard edges so each art pixel is a crisp square.

How big is the downloaded image?

Each art pixel is enlarged by a whole number so the image is about 1024 pixels wide. At 64 pixels across, every art pixel becomes a 16 × 16 block, giving a 1024-pixel-wide PNG.

Where do the colors come from?

With "From the image", the tool picks the 2 to 64 colors that best represent your photo using the median-cut method. You can instead force a fixed palette — the 4 greens of the original Game Boy, the 16 colors of the PICO-8 fantasy console — or evenly spaced shades of gray.

Does the Colors slider work with the Game Boy and PICO-8 palettes?

No. Those palettes have a fixed number of colors, 4 and 16. The slider applies to "From the image" and to "Grayscale".

Is transparency kept?

Yes, in a pixel-art way. Each art pixel is either fully opaque or fully transparent, depending on whether it was more or less than half transparent, so a PNG logo keeps a clean cut-out edge.

Is my image uploaded?

No. The conversion runs entirely in your browser on your device. Nothing is sent to a server.