Dreamforge

Free tools › Pixel art cleaner

Pixel art converter & cleaner

Fix blurry, off-grid AI pixel art: snap it to a real pixel grid, cut it to a clean palette and download a crisp PNG. Free, in your browser. Nothing is uploaded.

Drop an image here

or paste it (Ctrl+V / ⌘V). PNG, JPEG or WebP, up to 4096 px.

No image handy? Try an AI sprite:

Made by Dreamforge, make a whole game from a sentence.

How to fix AI pixel art

  1. Add your image. Drop, paste or choose a PNG, JPEG or WebP: a sprite, a sprite sheet, an icon set or a scene from GPT Image, Midjourney, Stable Diffusion or any other generator.
  2. Check the grid. The pixel size is detected for you. Tick Show grid and drag the divider: the lines should sit on the edges of the fake pixels. If not, move the pixel size slider.
  3. Pick a palette. Keep Auto and choose how many colours, or use a preset such as PICO-8 or Endesga 32 so a whole set of sprites matches.
  4. Download. Save the PNG at 1× (one pixel per pixel, for your game engine) or scaled up 2× to 16× with sharp edges, for sharing.

What the cleaner does to your image

AI image models imitate pixel art without drawing on a grid. A sprite that should be 48 pixels tall comes out at 700, with every “pixel” a soft block of slightly different colours. The cleaner reverses that:

  • Removes the background. A flat backdrop that fills the corners, like magenta or white, becomes transparent, and so does the coloured fringe it leaves around a sprite.
  • Finds the pixel grid. The edges between fake pixels repeat at a steady rhythm; the strongest repeat is the pixel size. Lines are snapped to the real edges, because AI pixels drift in size across a picture.
  • Gives each cell one colour, taken from the middle of the cell, so blur and anti-aliasing at the borders don't leak in.
  • Reduces the palette to the colours you choose, matched by how similar they look (OKLab), not by raw RGB numbers.
  • Hardens the alpha so every pixel is either fully there or fully transparent, ready for a game engine.

FAQ

Why does AI pixel art look blurry?

Image models such as GPT Image, Midjourney and Stable Diffusion paint at about 1024 px and imitate the look of pixel art. Each “pixel” comes out as a soft block of slightly different colours, the blocks are not all the same size, the edges are anti-aliased and the picture holds hundreds of colours. Scaled down or placed in a game, it looks smeared instead of crisp.

How does the cleaner find the pixel grid?

It measures how much the colour changes between each pair of neighbouring columns and rows. The edges of the fake pixels repeat at a steady rhythm, so the strongest repeat gives the pixel size. Grid lines are then placed one pixel apart and snapped to the nearest real edge, because AI pixels drift in size. Each cell gets one colour, taken from its middle so the blurry borders don't count.

Is my image uploaded anywhere?

No. The cleaner is a small script that runs in your browser. Your image is never sent to a server, there is no account, and the page keeps working offline once it has loaded.

Which palette should I choose?

For one sprite, Auto with 8 to 16 colours usually looks closest to the original. For a set of sprites that must match, pick one preset such as PICO-8, Endesga 32 or Sweetie 16, or paste your game's own palette as hex codes, so every image uses exactly the same colours.

The result looks wrong. What can I change?

Turn on Show grid. If the lines don't sit on the pixel edges, drag the pixel size slider until they do; for clean, evenly scaled pixel art, also tick Even grid. If the background was left in or parts of the sprite disappeared, change the background setting or its tolerance. More colours keep more shading; fewer colours look cleaner.

Can I use the cleaned sprites in a commercial game?

The cleaner claims no rights over your images and adds no watermark. Whether you may sell a game with AI-generated art depends on the terms of the image generator you used and on the store's rules: Steam, for example, asks developers to disclose AI-generated content.

More free game-dev tools

Cleaned a whole animation strip? Cut it into frames and preview it with the sprite sheet slicer. See all free tools.