Image Pixelator

Free online image pixelator. Convert any photo to pixel art with adjustable pixel size, color palette quantization (median cut), and grid overlay. Browser only.

Drag and drop an image here, or click to browse
Supports JPG, PNG, GIF, BMP, WebP
Drop a JPG, PNG, GIF, BMP, or WebP file (max 20 MB)

About Image Pixelator

Image Pixelator turns any photograph or illustration into pixel art by downsampling the picture to a tiny grid and then magnifying it again with nearest-neighbour interpolation, which produces the iconic chunky-block look of 8-bit and 16-bit games. The pixel block size slider controls how many real pixels are merged into each output block, so a setting of 16 means every 16 by 16 patch becomes one solid square of color. An optional median-cut palette reduces the entire image to as few as 2 and as many as 64 colors, mimicking the limited color memory of vintage consoles like the NES, Game Boy, and Master System. A grid overlay can be toggled on for sprite-design reference. Everything runs locally in your browser with the HTML5 Canvas API, so the picture never leaves your device — useful for game assets, profile avatars, retro wallpapers, and privacy-sensitive imagery.

What is image pixelation and how does it differ from blurring?

Pixelation reduces an image to a low-resolution grid where each output cell holds a single color, producing the recognizable blocky look of early video games. Blurring, in contrast, spreads each pixel's color into its neighbours using a Gaussian or box kernel, so edges become soft and gradual rather than sharply quantized into squares. Pixelation is reversible only in the sense that the original spatial layout is preserved at coarse resolution, while heavy blurring averages local detail away with no grid structure. Both techniques are used for privacy redaction in photos (faces, license plates) and for stylistic effects, but only pixelation has the second-order property of forcing color quantization at the block boundaries, which is why pixel art often gets paired with a limited palette.

What pixel size should I pick for an avatar or game sprite?

For social media avatars in the 64-128 pixel range, a block size of 6 to 12 usually preserves enough facial structure to remain recognizable while still reading as pixel art. For NES-style sprites, pixel sizes of 4-8 paired with an 8-16 color palette match the historical aesthetic. For chunkier mobile game icons or Game-Boy style portraits, push the block size to 12-24 and use a 4-color palette to mimic the original 2-bit greyscale. A practical rule: divide the longest image side by 16 to get a low-resolution 'minimalist' look, by 32 for a balanced sprite look, and by 64 for fine detail that still reads as pixel art. The grid overlay helps you count blocks if you plan to redraw the sprite in a pixel-art editor.

How does the median-cut color quantization work?

Median cut is a classic algorithm that starts with all pixels grouped in a single 3D box of red, green, and blue values. It finds the axis with the largest spread, sorts the pixels along that axis, and splits the box in half at the median. This split is repeated on the new largest-spread box until the target number of palette colors is reached. Each final box contributes one palette entry, computed as the average color of the pixels inside it. The advantage over uniform quantization is that median cut concentrates more palette colors in areas where the image actually has color variety — so a portrait gets many flesh tones and few sky tones, instead of evenly carving up the entire color cube. This pixelator samples a few thousand pixels for speed; the result is visually indistinguishable from quantizing every pixel for typical photos.

Image Pixelator — Free online image pixelator. Convert any photo to pixel art with adjustable pixel size, color palette quantization (medi
Image Pixelator

Does the tool upload my image to a server?

No. The image you load is read directly into a JavaScript FileReader and drawn onto a Canvas element entirely within your browser tab. The pixelation, palette quantization, and PNG export all happen locally on your CPU — no network requests are made with image data. You can verify this by opening your browser's Network tab in DevTools before running the tool. This local-only design makes the pixelator safe for sensitive photographs (personal ID, medical images, confidential design mockups) and also means you can use it fully offline once the page is cached. The only limit is the size of file your browser can hold in memory; a 20 MB cap is a practical safe ceiling for most laptops, but most phones can pixelate any photo from their own camera roll without trouble.

Why does my output PNG look the same size as the original?

Pixelation downsamples and then upsamples back to the display size, so the output canvas matches the visible preview rather than the original file. If you need a small, true-low-resolution sprite file (for example, 32 x 32 pixels with one byte per pixel-block), you can take a screenshot of the canvas or open the downloaded PNG and resize it to the small grid (right-click, Resize, choose 'Nearest neighbour' to keep the blocks sharp). A future version may add a 'Save at native pixel grid' button. In the meantime, the visible block size is multiplied by the small grid resolution to determine the saved canvas size: a 600-pixel-wide preview with a block size of 10 yields a 60-block-wide image, scaled back to 600 pixels in the PNG.

Can I use this to make NFT-style or game-asset pixel art commercially?

Yes — the tool itself adds no watermark and applies a deterministic mathematical transform that does not introduce copyrightable material of its own. The output's copyright situation is therefore identical to that of the input image: if you own the rights to the source photo or have a permissive license, the pixelated derivative inherits the same rights. For game development, pixel-art assets generated this way are commonly used as starting points and then hand-edited in a pixel editor (Aseprite, Piskel, Photoshop) to clean up shapes, sharpen silhouettes, and adjust the palette. For NFT projects, remember that simple algorithmic transformations of someone else's image may not establish a new copyright in most jurisdictions, so always start from imagery you own or have permission to use.