Image to Pixel Art Converter

Pixelate a photo or illustration, limit it to a palette, and export sprite-ready PNGs at any integer scale. Everything runs on your device.

Drop an image here, click to choose one, or paste with Ctrl+V.
PNG, JPG, WebP, GIF. Your image never leaves your device.

How to turn a picture into pixel art

  1. Open an image. Drag a file onto the box above, click it to browse, or paste a screenshot with Ctrl+V.
  2. Set the pixel size. Each output pixel is the average color of a square block of this many source pixels. The output dimensions are shown next to the slider.
  3. Limit the colors. "Auto" finds the best N colors for this image. Pick a retro palette when you need to match an existing art style.
  4. Tune it. Raise saturation and contrast slightly. Downscaling averages colors together, so the result often looks washed out.
  5. Export. Download at 1× for your game engine, or at 4×–16× for sharing on social media and store pages.

Tips for better results

How the converter works

The image is first reduced with a box filter. Every output pixel is the alpha-weighted average of the source pixels it covers, which keeps edges clean and avoids the shimmering you get from simple point sampling.

In Auto mode, the colors are then reduced with median-cut quantization, refined with a few rounds of k-means clustering. Every pixel is mapped to the nearest palette color using a perceptually weighted RGB distance.

Optional dithering spreads the rounding error to nearby pixels (Floyd–Steinberg), or adds a fixed 4×4 threshold pattern (Bayer).

About the built-in palettes

The PICO-8 palette has 16 colors and is very popular for small, readable sprites. Game Boy green recreates the four shades of the original handheld screen. Commodore 64 gives the muted tones of 1980s home computers. The grayscale and 1-bit options are useful for silhouettes, UI icons and mood studies.

FAQ

Is my image uploaded anywhere?

No. The conversion runs with JavaScript and the Canvas API inside your browser. The file is never sent to a server, so it works offline once the page has loaded.

What pixel size should I pick?

Divide the width of your image by the width you want your sprite to be. A 512 px wide photo with pixel size 16 becomes a 32 px wide sprite. Small sprites (16–64 px) look the most like hand-made pixel art.

Why does the exported file look blurry in other apps?

Most viewers smooth small images when they zoom. Export at 4× or 8× scale for sharing, and keep the 1× file for your game engine with filtering set to nearest (Point / Nearest in Unity, Godot and Phaser).

Which dithering mode should I use?

Use none for clean, flat sprites. Ordered (Bayer) dithering gives the classic retro checkerboard look and stays stable in animation. Floyd–Steinberg keeps more detail in photos but can look noisy at very small sizes.

Can I use my own palette?

Yes. Pick 'Custom hex list' and paste colors such as #1a1c2c #5d275d. Any text containing 6-digit hex codes works, including exports from Lospec or Aseprite.