Gridwright Start for $1

Image to Pixel Art Converter: Photos to Clean Sprites

Turn a photo, render or painting into pixel art that looks drawn: an exact grid, a small palette, dithering, hard edges and one palette for every frame.

Pixelator at work
Pixelator at work: Pixel art from any picture.

You have a picture that should be in your game: a 3D render of a character, a painted background, a photo of a rock for a texture, a concept sketch of a boss. Your game is pixel art, so you shrink the picture to sprite size and drop it in. It looks wrong straight away. The edges are fuzzy, the colours are a muddy cloud of hundreds of shades, there is a grey halo around the shape, and next to your hand-drawn tiles it looks like a blurry photo glued onto the screen.

You try the other resize setting and it gets worse in a different way: now the picture is sharp, but full of random speckles, broken lines and single stray pixels.

Neither result is pixel art. Pixel art is not just "small". It is a picture on an exact grid, with a few chosen colours, hard edges and nothing half-transparent. This guide shows what a converter has to do to get there, which settings to pick for sprites, backgrounds and animations, and how the Pixelator does it in your browser.

Why a plain resize doesn't give you pixel art

A normal resize has to decide what colour each new pixel gets, and the two usual answers both fail here.

Pixelator in use
Pixelator in use. Every tool runs in your browser, nothing to install.
  • Smooth (averaging). Each new pixel is the average of the block of pixels it replaces. Every edge becomes a blend, so a dark outline next to a light sky turns into three in-between greys. The picture keeps hundreds of colours, and none of them are the clean shades a pixel artist would pick.
  • Nearest pixel. Each new pixel copies one source pixel and ignores the rest. Edges stay hard, but which pixel gets copied is luck: a thin highlight might land, or might vanish, and textures turn into noise.

And the resize never touches the number of colours, the soft edge around a cut-out render, or the stray single pixels left behind.

What a good conversion does, step by step

1. Pick the size first

Decide how big the result should be in game pixels, not screen pixels. A character for a 16x16 game might be 16 to 32 pixels tall; a background for a 640x360 game is 640 pixels wide. Every later step works on those real pixels.

Pixelator in use
Pixelator in use. Every tool runs in your browser, nothing to install.

In the Pixelator you set either a target width (4 to 1024 pixels) or source pixels per pixel (2 to 32). Use the width when you know the sprite size, and the pixel size to shrink a whole batch by the same amount.

2. Shrink with the most common colour

For art, the best rule for each cell is to keep the colour that covers most of it. That keeps edges crisp like the nearest-pixel method, but it is not luck: a thin bright line survives only if it really is a large part of that cell, so you don't get speckles.

The Pixelator calls this Sharp (most common colour) and uses it by default. Smooth (average) is there for soft subjects like clouds and fog, and Centre pixel takes the middle pixel of each cell, for pictures that are already pixel art at a bigger scale.

3. Limit the palette

This is the step that makes the result read as pixel art. A small palette forces neighbouring shades together into clear bands of light and shadow.

  • Automatic finds the best colours for the picture. 8 to 16 is a good start for a sprite; backgrounds can take more. The slider goes from 2 to 64.
  • Built-in palettes give a fixed look: four Gridwright palettes, Sepia, Greyscale, 2-bit grey, a handheld green, 1-bit and CGA.
  • My palette file loads your project's own colours from a .hex, .gpl, .pal, .txt or a palette .png, so converted art matches the art you already drew.

Before the palette step you can nudge brightness, contrast and saturation. A small contrast and saturation boost is on by default, because shrinking a picture always makes it a little flatter.

4. Dither only where it helps

Dithering mixes two palette colours in a pattern to fake a third. It is great for skies, gradients and photo textures, and usually bad on small characters, where it looks like noise.

  • None (flat): clean bands of colour. Best for sprites and icons.
  • Ordered (Bayer): a regular pattern, the classic retro look for skies and big backgrounds.
  • Floyd–Steinberg and Atkinson: error diffusion, which spreads the leftover colour to the neighbours. Good for photos; Atkinson gives a lighter, higher-contrast result.

A strength slider lets you use a little dithering instead of all or nothing.

5. Clean up the edges

Renders and cut-out photos have soft edges: pixels that are partly see-through. In a game they show up as a ghostly fringe. The fix is hard transparency: every pixel is either fully solid or fully empty. The Pixelator's Solid from alpha slider sets where that cut happens (128 by default).

Then remove lone pixels (single dots no neighbour shares) and add an outline, outside the shape or inside the edge, in the darkest palette colour or one you choose. An outline is often what makes a converted sprite stand out against a busy background.

6. Keep animations on one palette

Convert the frames of an animation one by one and each frame gets its own "best" palette. Play them in a row and the colours flicker, because the shirt was one green in frame 3 and a slightly different green in frame 4.

The answer is one palette for all the frames. Open every frame together, keep One palette for every file on (it is on by default with an automatic palette), and the whole animation is reduced to the same colours.

Convert an image to pixel art in seconds with the Pixelator

The Pixelator runs every step above in one page, and shows the before and after side by side while you move the sliders.

Pixelator in use
Pixelator in use. Every tool runs in your browser, nothing to install.
  1. Open your pictures. One image, several frames or a GIF. Renders, paintings, photos and 3D screenshots all work. No picture at hand? Load the sample landscape.
  2. Set the size by target width or pixel size, and keep Sharp for art.
  3. Pick the palette: automatic with a colour count, a built-in one, or your own palette file.
  4. Add dithering and clean-up if the picture needs it: hard transparency, lone-pixel removal, an outline.
  5. Save the image as a PNG at 1x (true size) or scaled up 2x, 3x, 4x, 6x or 8x for previews, every file in one ZIP, all frames as one sprite sheet with a JSON map, an animated GIF of all frames, or the palette as .hex, .gpl or .png for Aseprite, GIMP or Krita.

Your pictures never leave your computer: everything runs in the browser. The free demo has every setting; saving your own images is limited to results up to 64x64 pixels there, the sample saves at any size, and the full edition saves any size and whole batches. Want to see it on your own picture first? Try it here.

Your game, looking finished

Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.

Start: 3 days for $1 See everything it includes

Using the result in Godot 4

Save at 1x and let the engine scale the art. Godot smooths textures by default, so set Project > Project Settings > Rendering > Textures > Canvas Textures > Default Texture Filter to Nearest, or your crisp sprite comes back blurry. Our guide to Godot pixel perfect settings covers the stretch mode and camera too.

Pixel Fonts
Pixel Fonts: 6 pixel fonts for games as TTF and bitmap fonts: 5x7, bold, mono, outline, tiny 3x5 and blocky. One of the 150 packs in Gridwright.

For an animation, save the frames as one sprite sheet and load it into a SpriteFrames resource, as shown in Godot sprite sheet animation.

Common problems

  • The result looks noisy. Lower the colour count, turn dithering off, and turn on lone-pixel removal. A smaller target size also helps: detail that can't fit in the grid turns into noise.
  • It looks flat and dull. Raise contrast and saturation a little before the palette step, or pick a palette with a wider range of light to dark.
  • A grey or white fringe around the sprite. The source had a soft or coloured edge. Raise Solid from alpha until the fringe goes, then add an outline.
  • The colours jump between animation frames. Open all frames at once with one shared palette instead of converting them separately.
  • It doesn't match my hand-drawn art. Load your project's palette file and match the pixel size of your other sprites.
Boomer Shooter Kit
Boomer Shooter Kit: Retro FPS sprites: 8 weapons with hands, 6 enemies in 8 rotations, pickups, a HUD with 27 faces. One of the 150 packs in Gridwright.

Turn your pictures into game art today

Open the Pixelator, drop in a render, painting or photo, and save it as pixel art that sits next to your tiles without looking pasted in. It is one of 44 tools in Gridwright, with 150 asset packs drawn on exact grids, ready for the art you convert. Start for 3 days for $1, then $17 a month.

Your game, looking finished

Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.

Start: 3 days for $1 See everything it includes