Drop in a photo and get pixel art in 2-32 colors, with six retro palettes and two dithering modes, exported as a crisp integer-upscaled PNG
Drop an image here, or press Ctrl / ⌘ + V to paste from the clipboard
Splits the colour distribution into the most representative 2-32 colours rather than sampling evenly, so shadows and highlights each get their own entries.
Game Boy's four greens, PICO-8's sixteen, an NES eight-colour pick, pure black and white, and a five-step sepia — one click for instant period feel.
Floyd-Steinberg error diffusion for natural gradients, Bayer 4×4 for a regular halftone pattern, or switch dithering off entirely for clean flat blocks.
Brightness, contrast and saturation are applied to the pixels first, so you shape the tonal range before colours get compressed — far more predictable than fixing it afterwards.
Shrinking in one jump throws detail away, so the tool halves the image repeatedly before the final step, keeping edges and texture far more intact.
Export disables interpolation and scales by whole numbers, so every cell becomes a clean square instead of a soft-edged blob.
Click Choose image, drag a file onto the preview, or screenshot and press Ctrl / ⌘ + V. Hit Sample first if you just want to feel out the controls.
Start around 32-64 until the grid becomes obvious, then fine-tune. Bigger width keeps more detail and loses the pixel feel; anything from 8 to 256 is fair game.
Choose a preset for a specific era (the colour slider locks to its size), or stay on Adaptive for the closest match to the original. Photographs usually want diffusion; icons usually want dithering off.
Use brightness, contrast and saturation to land the overall balance, then choose an upscale factor and hit Export PNG. The factor only enlarges cells — it never affects sharpness.
Convert reference art into 32×32 or 64×64 pixel versions for indie game characters, items and scene sketches.
Turn a selfie into a pixel avatar — Game Boy green or pure black and white stands out far more than a standard photo filter.
Run a key visual through pixel treatment for album art, podcast covers or event posters to signal a retro-electronic mood instantly.
Export at 8x or 16x and print as stickers; the cells stay large enough that cut edges look clean.
Demonstrate why 16 colours can still represent a photograph, and how dithering fakes in-between tones, by changing parameters live.
Turn a screenshot with sensitive details into a low-resolution pixel diagram that still conveys structure without exposing the original text.
A pixel artwork's resolution is its logical cell count, not its file dimensions. A 64×48 piece can be saved at 512×384 (8x) or 1024×768 (16x), yet its resolution stays 64×48 because there are only 3072 independent cells. That is also why pixel art survives enlargement: upscaling just draws each cell as a larger square, introducing no new information and therefore no interpolation blur. What determines quality is cell count and colour count, never export size.
Taking a 2000px-wide image straight down to 64px is a 30x reduction. At that ratio browsers and most imaging libraries fall back to point sampling — a handful of source pixels stand in for an entire region — which drops detail at random and produces moiré and noise. The correct approach is stepwise halving: 2000 → 1000 → 500 → 250 → 125 → 64, where every step is close to 2x and the browser can perform a stable area average, blending detail evenly instead of discarding it randomly. This tool downsamples exactly that way, only jumping to the target size once the remaining ratio is under 2x.
Median cut is one of the classic colour quantization algorithms. Treat every pixel as a point in 3D colour space and put them all in one box. Repeatedly take the box with the largest colour spread, split it at the median along its widest channel, and stop when you have as many boxes as target colours. The average colour of each box becomes one palette entry. What makes it smarter than sampling colours evenly is that it adapts: if a photo is mostly blue sky, the blue region gets split into several boxes while colours that barely appear never consume a slot. That is why it preserves shadow and highlight detail better than fixed-step quantization.
With only black and white, how do you show grey? Alternate black and white pixels at different densities; from a distance the eye averages them into grey. That is dithering. Floyd-Steinberg is error diffusion: when a pixel is quantized, the error (original minus quantized) is distributed to the right, bottom-left, bottom and bottom-right neighbours at 7/16, 3/16, 5/16 and 1/16, so later pixels compensate for earlier deviations. It looks natural but adds fine grain. Bayer 4×4 is ordered dithering: a fixed 4×4 threshold matrix offsets each pixel before quantization, producing a regular dot screen that suits gradients and compresses better, because regular patterns are more compressible than random noise.
Default image scaling uses bilinear or bicubic interpolation, which averages neighbouring pixels and turns hard edges into soft gradients. That is good for photographs and disastrous for pixel art, whose entire appeal comes from edges being hard. Nearest neighbor does no averaging at all: each source pixel is copied into an N×N block of destination pixels, so edges stay perfectly sharp. In CSS that is image-rendering: pixelated; on Canvas it is imageSmoothingEnabled = false. Both the preview and the export here force nearest neighbor, and only integer factors are allowed, avoiding the half-pixel misalignment that makes some cells one pixel wider than others.
| Palette | Colors | Origin / character | Best for |
|---|---|---|---|
| Adaptive | 2 - 32, adjustable | Median cut generated from the image itself; closest to the original | General use, especially photos and illustrations |
| Game Boy | 4 | The four-green monochrome screen of Nintendo's 1989 handheld | Nostalgic avatars, retro game look |
| PICO-8 | 16 | The fantasy console's official sixteen colors, highly saturated | Game assets, characters and items |
| NES picks | 8 | A high-contrast eight-color selection from the NES palette | Icons, UI elements, bold retro styling |
| Black & white | 2 | Pure black and pure white; dithering adds apparent greys | Line art, stamp effects, minimal icons |
| Sepia | 5 | Five brown steps, evoking early photography and old monitors | Vintage photos, aged posters |
Note: choosing a fixed palette locks the Colors slider and shows that palette's size. Switch back to Adaptive to adjust the count by hand.