A browser-based tool for converting images into pixel art. Runs client-side with no external dependencies, supporting custom palettes, dithering, edge smoothing, and outline generation.
Use the hosted version directly in your browser here.
Download Img2Pixel.html from the repository root and open it in any browser.
git clone https://github.com/meangrinch/Img2Pixel.git
cd Img2Pixel
python scripts/build.py- Pixelation: Downsample images to custom pixel-grid sizes
- Palettes: Generate adaptive palettes, pick from 61 built-in palettes (Game Boy, NES, PICO-8...), or sample one from an image
- Presets: Emulate classic consoles and computers (Game Boy, SNES, Master System, Apple II...) down to screen size, pixel shape, palette, and per-tile color limits, or apply a Greyscale or Sticker look
- Hardware Limits: Cap color depth and colors per tile or scanline, with shared palettes like real consoles
- Dithering: Apply error diffusion (Floyd-Steinberg, Atkinson, Burkes, Sierra) or Bayer ordered dithering (2x2, 4x4, 8x8)
- Smoothing: Remove isolated stray pixels and clean up cluster edges
- Outlines: Add outer borders, edge strokes, or internal color-boundary outlines
- Preview: Compare edits with a split slider, side-by-side view, hold-to-peek, pixel grid overlay, and up to 3200% zoom, with touch panning and pinch-zoom on phones and tablets
- Export: Save as PNG, JPEG, or WebP (native, 2x-16x upscaled, or at the source image's size), or copy to the clipboard
Img2Pixel is open-source and free. If it saves you time or enhances your workflow, consider supporting its development!