Fix pixelated images with AI
Blocky squares, jagged edges, and blotchy JPEG tiles usually mean your image has too few pixels or was compressed too hard. Here is what causes pixelation, why resizing will not cure it, how AI upscaling rebuilds clean edges on small images, and why no upscaler can unmask a censored image.
3 free upscales a month. No card needed. PNG, JPG, and WebP.
What makes an image pixelated
An image looks pixelated when it holds too little information for the size you view it at. The plainest case is a small image stretched large with nearest-neighbor scaling: every stored pixel becomes a hard-edged square, and diagonal lines turn into staircases. Once a stretched copy like that is saved, the squares are baked into the file.
Heavy JPEG compression causes a different kind of blockiness. JPEG splits an image into 8x8 pixel blocks, discards fine detail inside each block, and often stores color at a lower resolution than brightness. Pushed too far, that leaves a grid of visible tiles, ripples called ringing around sharp edges and text, colors that bleed past their edges, and banding where a sky or wall should fade smoothly.
The damage also adds up. Every time a JPEG is edited and re-saved, or recompressed by a chat app or social platform, more detail is lost (this is called generation loss). A screenshot of a thumbnail keeps only the few pixels your screen showed, however large the original was. Zoom in close, and the pattern usually tells you which problem you have:
- Hard-edged squares across the whole picture: a small image that was blown up
- A faint grid of small tiles in skies and walls, plus ripples beside text: an over-compressed JPEG
- Soft, smeared edges with no squares at all: blur or low resolution, not pixelation
- A coarse mosaic over just a face, a plate, or some text: pixelation added on purpose
Why resizing and re-saving will not remove pixelation
A resize can only work with the pixels already in the file. Nearest-neighbor scaling copies each pixel into a bigger square, so the blocks simply grow. Bilinear and bicubic scaling blend neighboring pixels instead, which trades the squares for soft blur: smoother, but no more detailed.
Neither method can tell the picture from the damage, so JPEG tiles, halos, and baked-in squares are enlarged along with everything else. Sharpening afterward usually makes things worse, because it boosts contrast at every edge, including the edges of compression blocks. Converting to PNG does not help either: PNG is lossless, so it keeps the blocks exactly as they are.
How AI rebuilds a pixelated image
AI upscaling aims to undo the blocks rather than enlarge them. A model trained on a huge range of images redraws the picture: where your file shows a staircase, it draws the smooth edge most likely to have produced it; where a sky has broken into bands or tiles, it draws an even gradient; and where compression flattened a texture, it fills in one that fits.
Pixelperfect gives Google's image AI a short written instruction with each image. For pixelation, the key parts are "remove noise and JPEG compression artifacts" and "reconstruct crisp edges." Other parts pin the result to your picture: it is instructed to keep the subject, framing, composition, and colors as they are, with nothing added, removed, or restyled.
Two caveats apply. The detail is redrawn, not recovered, so lettering, logos, and faces only a few pixels wide can come back subtly changed. And the output has a set size: about one megapixel (roughly 1024 pixels on each side for a square image) when the original is up to about a third of a megapixel, and about four megapixels (roughly 2048 pixels on each side) when it is larger. So a pixelated image whose longest side is below about 1800 pixels comes back larger, while a big photo, which your browser shrinks before sending, can end up smaller than your original.
Upscaling cannot reveal what was pixelated on purpose
Faces, license plates, and documents are often pixelated to hide them. A censoring mosaic usually replaces everything inside each block with its average color, so countless different faces could leave the same mosaic behind. The fine detail inside each block has been thrown away, leaving an upscaler nothing to bring back.
An AI upscaler asked to depixelate such an image does what it always does: it draws the most plausible detail. The result can look sharp and convincing while being made up, so never use an "unpixelated" image to identify a person, read a plate, or reconstruct a hidden document.
Hiding something yourself? Use a fully opaque box, not a mosaic, blur, or see-through highlighter. A mosaic's block averages still carry a trace, so someone with a short list of candidates, such as possible plate numbers, can sometimes test which one fits; a solid fill leaves nothing to test.
How to do it with Pixelperfect
- 01
Sign in or create an account
Click "Upscale an image free," then register with your email or sign in. Starting is free, and no card is required.
- 02
Drop in the least compressed copy
Drop the image into the upload box, or click the box to choose it (PNG, JPG, or WebP), at its original size rather than enlarged. Several images can go in at once.
- 03
Compare before and after
The result is usually ready in seconds. Drag the slider to see whether the blocks are gone and whether lettering, logos, and faces still match your original.
- 04
Download the clean version
Use "Download" on each result, or "Download all" for the batch. Keep your original too: the result is a redrawn image, not a repaired copy.
What to expect
Works well for
- Small images that turn into visible squares when enlarged
- JPEGs with a tile grid or halos around edges and text
- Images worn down by repeated saving and re-sharing
- Screenshots of thumbnails, avatars, and small previews
- Stair-stepped edges on curves, diagonals, and outlines
What it will not fix
- Censored faces, plates, or text: it can only invent detail, never reveal it
- Text, logos, or faces a few pixels across: they are redrawn and can change
- Large, blocky photos: results top out at about four megapixels, so they can come back smaller
- Pixel art meant to stay blocky: the squares may be softened or redrawn
- Tears, scratches, missing areas, or strong motion blur
Tips for the best result
- Start from the least-processed copy you can find: the original file, a cloud backup, or the sender's version. Every re-save and re-share strips out detail the AI could build on.
- Do not enlarge or sharpen the image before uploading. Enlarging only makes the blocks bigger, and sharpening outlines them, so the AI may mistake them for real edges.
- Save the picture itself (right-click or long-press it) instead of screenshotting it. If you must screenshot, open it at full size first.
- If you edit the result later, save it as PNG or a high-quality JPEG. Re-saving it as a low-quality JPEG brings the blocks straight back.
- For pixel art, skip AI and enlarge it with nearest-neighbor scaling at a whole-number size such as 200% or 300%, which keeps every square crisp.
Questions, answered
How do I fix a pixelated picture?
Can AI unpixelate a censored face, license plate, or document?
Will the fixed image look exactly like the original did?
Why do my photos get pixelated after I send them?
Can I fix a pixelated image without AI?
What happens to the image I upload?
Other image problems it fixes
Try it on your own image
Create a free account, drop the image in, and compare the before and after side by side. Your first 3 upscales each month are free.