FREE · IN YOUR BROWSER

Image to Pixel Art

Turn a photo into a small pixel grid. Choose a palette, add dithering or outlines, and download the original pixel grid or an enlarged PNG. Your images stay in your browser.

No account needed.

PNG or JPEG · 10 MB per file · 4096 px per side · images stay in your browser.

Upload a PNG or JPEG to enable preview and export.

Pixel art settings

Use larger blocks for fewer pixels. The grid supports up to 256 pixels per side; increase block size if needed.

Automatic color count applies only to the automatic palette. Fixed palettes use their own colors.

Outlines use the darkest selected palette color around borders, transparent edges, and strong color changes.

Before · original

Upload a PNG or JPEG to enable preview and export.

After · pixel art

Upload a PNG or JPEG to enable preview and export.

Export pixel art

The pixel-size PNG stores one pixel per block. The enlarged PNG repeats those pixels at the original image dimensions. Choose MakeCode to enable sprite code.

SEE THE MATH

Worked examples

A photo becomes a grid

128 × 96 photo ÷ 8 px blocks = 16 × 12 grid

The pixel-size PNG is 16 × 12. The enlarged PNG repeats every cell in an 8 × 8 block and stays 128 × 96.

A limited palette

Game Boy palette = 4 visible RGB colors

Dithering rearranges those four colors to suggest additional tones without adding new palette colors.

An Arcade sprite

MakeCode = 15 visible colors + transparent entry

Choose the MakeCode palette to copy an img expression at the grid dimensions. PNG keeps partial transparency; code uses a binary alpha cutoff.

Convert an image into a deliberate pixel grid

A photo contains far more detail than a small game sprite can display. This image to pixel art converter reduces that detail in two separate steps: it groups neighboring source pixels into a smaller grid, then maps the grid to a limited set of colors. You control the block size, palette, dithering, and optional outline. The original stays visible beside the result, so you can compare the overall shapes before downloading anything.

Use this page when you want a retro illustration, a small texture, or a starting point for a sprite. If you want to obscure a name, face, or other detail in an otherwise unchanged picture, use Pixelate Image. That tool lets you draw several local regions and keeps the full image dimensions. Here, the purpose is visual style and a usable small pixel grid rather than selective masking.

Start with a useful source image

Choose a PNG or JPEG from your device. The tool reads the file in your browser and does not upload its image data. A clear subject against a simple background generally survives reduction better than a crowded scene. Crop distracting surroundings in your usual image editor first if the main subject occupies only a small part of the picture. The converter does not invent detail hidden by the source resolution.

Files must be nonempty and no larger than 10 MB. The decoded image may have up to 4096 pixels on either side and 16 million pixels in total. The output grid supports up to 256 pixels per side. If you see a message asking for larger blocks, increase the block size until the grid fits. A large photograph usually needs a larger block size than a small icon.

Choose the pixel block size

Block size describes how many source pixels contribute to one output cell. With a 128 by 96 image and an eight-pixel block size, the resulting grid is 16 by 12 pixels. Each grid cell contains the averaged color of its source block. Transparent pixels are weighted by alpha, so hidden RGB values do not dominate visible edges. Partial transparency is averaged along with the color information.

A smaller block keeps more detail and creates a larger grid. A larger block simplifies shapes and makes the result more abstract. Move the slider while watching facial features, outlines, and important gaps. If a subject becomes unreadable, reduce the block size or start with a closer crop. When dimensions do not divide evenly, the last row or column uses the remaining source pixels rather than stretching the entire image.

Pick automatic or fixed colors

Automatic original colors builds a palette from the reduced image. Set the automatic color count between two and 256. This is an upper limit on visible RGB colors rather than a promise to invent that many colors. A source with fewer distinct colors may use fewer. Automatic mode is a useful first comparison because it retains colors related to the original picture without imposing a particular console style.

Fixed palettes deliberately change the available colors. PICO-8 offers a compact range of saturated and muted colors. Game Boy uses four green tones. Grayscale uses four neutral levels. The NES option supplies a classic console color table, while MakeCode uses the default Arcade palette. These are color choices, not emulators: choosing a palette does not reproduce every hardware restriction or display characteristic of the named system.

The automatic count field is unavailable while a fixed palette is selected because that palette already defines its colors. Return to Automatic original colors to edit the count. Transparency is handled separately from visible RGB colors. For background on the Arcade entries and the distinction between transparent zero and visible black, read the MakeCode Arcade palette guide.

Decide whether to use dithering

With None selected, every cell receives its nearest palette color. This often produces the clearest shapes for small sprites, signs, or interface graphics. Broad areas remain simple, and repeated colors form clean clusters. Start here before adding texture. Reducing the number of colors and the number of pixels at the same time can be dramatic, so adjust one setting at a time while comparing the preview.

Floyd–Steinberg distributes color error into neighboring cells as the grid is processed. It can suggest intermediate shades using only colors already in the palette. Bayer uses a repeating four by four threshold pattern instead. That pattern can create a more regular texture. Neither method adds new palette colors. At tiny dimensions, either pattern can compete with eyes, lettering, or other essential details, so inspect the small grid as well as the enlarged display.

Add an outline when it helps

The outline option uses the darkest color in the selected palette. It marks the image border, edges beside transparent cells, and strong color changes. The operation stays within the chosen colors and does not expand the canvas. It can strengthen a silhouette, but it can also make small features heavier than intended. Compare the result with the option off before choosing your final export.

This is an automatic contour treatment, not a replacement for drawing individual pixels. Complex photographs can contain many strong internal transitions, which may produce more lines than a hand-drawn sprite would need. If the outline overwhelms the subject, simplify the source, increase the grid detail, or leave it off. The exported grid can be edited further in your preferred pixel editor.

Understand the two PNG downloads

Download pixel-size PNG stores the actual reduced grid. In the 128 by 96 example with eight-pixel blocks, that file is 16 by 12 pixels. This is usually the useful file for a sprite workflow because one file pixel corresponds to one editable art pixel. Some image viewers show a small file with smoothing, so zoom with a nearest-neighbor display when checking its edges.

Download enlarged PNG repeats grid cells across the original image dimensions. The same example downloads at 128 by 96, with each cell filling an eight by eight block. Any partial block at the right or bottom is clipped at the original boundary. The enlarged file does not add detail. To create a different integer enlargement later, use the pixel art scaler, which preserves hard edges instead of applying photographic interpolation.

Copy a MakeCode image expression

Select MakeCode in the palette menu to reveal the image code and Copy button. The expression uses the actual grid dimensions, with one palette index for each cell. Paste it into a suitable image expression in your Arcade project. The preview and PNG use the same visible palette, while the code follows MakeCode's binary transparency rule: alpha at or below 127 becomes transparent, and higher alpha becomes opaque.

PNG output can retain partially transparent grid cells, which sprite code cannot represent in the same way. Check translucent edges if the image originally contained soft shadows or antialiasing. For a different recoloring workflow before conversion, Gradient Map maps shadows, midtones, and highlights to editable colors without changing the pixel positions. It also offers an optional MakeCode mapping step.

Check the result before using it

Compare the subject at its intended display size. A larger preview can make tiny details seem more useful than they will be in a game. Check color contrast, transparent borders, and whether the silhouette still reads against your project background. Keep the source file separately, since downloading a converted PNG does not save an editable project or the current settings.

Use source images you own or have permission to adapt. This converter provides a local technical transformation and does not grant rights in an uploaded photograph or illustration. No third-party example artwork is required to use it. Try a simple image of your own, adjust the grid and palette, and keep both the small editing file and a larger viewing copy when those serve different purposes.

Frequently asked questions

How do I convert a photo to pixel art?

Upload a PNG or JPEG, choose a pixel block size, and select automatic colors or a retro palette. Compare the original and result, then download the pixel-size PNG for editing or the enlarged PNG for sharing.

What is the difference between pixel art and pixelation?

This page reduces a picture to a small grid and a deliberate palette for a retro art style. Pixelate Image focuses on obscuring selected details or a whole picture while retaining the original dimensions.

What do the two PNG downloads contain?

The pixel-size PNG stores one output pixel per source block. The enlarged PNG repeats those pixels at the original width and height. A partial final block is clipped to the original image boundary.

Can I choose the number of colors?

Automatic mode quantizes original colors to between 2 and 256 visible RGB colors. Fixed palettes use their predefined colors. Dithering and outlines stay within the selected palette; transparency is tracked separately.

What do Floyd–Steinberg and Bayer dithering do?

Floyd–Steinberg distributes color error to nearby pixels. Bayer applies a repeating 4 by 4 threshold pattern. Both can suggest smoother shading with a limited palette, but no dithering often keeps small sprites clearer.

Are my photos uploaded?

No. Image decoding, block averaging, palette mapping, preview, PNG encoding, and sprite code generation run in your browser. Input limits are 10 MB, 4096 pixels per side, and 16 million total pixels. The output grid supports up to 256 pixels per side.

Does MakeCode export match the PNG?

With the MakeCode palette selected, the code uses the same grid and visible palette. PNG preserves averaged alpha. MakeCode code makes alpha at or below 127 transparent and higher alpha opaque.