JPEG Compression Artifacts
Published November 28, 2026
JPEG compression artifacts, or artefacts in British spelling, are the flaws a photo picks up when it is saved as a JPEG at too low a quality: small square blocks, fuzzy halos around edges, smeared colors and steps in smooth gradients. They are the reason a meme reposted a hundred times looks “deep-fried”, and why a screenshot of text sent through a chat app comes back with grey speckles around every letter. This guide explains what causes them, how to avoid them and how to clean up a photo that already has them.
What JPEG compression artifacts look like
- Blocking. The picture breaks into a grid of small squares, most visible in skies, walls and other smooth areas. JPEG works on blocks of 8 by 8 pixels, and at low quality each block is reduced to little more than one shade, so the edges between blocks show.
- Ringing, or “mosquito noise”. A shimmer of speckles and faint ghost lines around sharp edges, such as text, wires against the sky, or the outline of a face. It is strongest on graphics and screenshots.
- Color bleeding. Colors spill past the edges of objects, and fine colored detail turns muddy. JPEG stores color at lower resolution than brightness, because the eye is less sensitive to it, so strong colors smear first.
- Banding. Smooth gradients, like a sunset or a studio background, turn into visible stripes of flat color.
- Lost texture. Hair, grass, fabric and skin look waxy, because fine detail is the first thing the encoder throws away.
Why photos get artifacts
Low quality settings. Every JPEG is saved with a quality setting. High settings keep the picture looking untouched; low ones save space by discarding more, and the artifacts above appear.
Saving again and again. JPEG is lossy, so each edit-and-save cycle loses a little more. One save at a sensible quality looks fine; ten saves of a copy of a copy add up. This is often called generation loss.
Apps and sites recompress. Messaging apps, social networks and many websites compress every photo you upload, sometimes hard. A picture that has been forwarded, downloaded and reposted has been through this many times.
The wrong format. Screenshots, logos, diagrams and pages of text have flat colors and hard edges, the content JPEG handles worst. Saved as JPEG, they show ringing even at medium quality.
Enlarging a small JPEG. Blowing up a small photo makes its existing blocks bigger and easier to see.
How to avoid JPEG artifacts
- Keep the original and export a compressed copy at the end, instead of saving the same JPEG over and over.
- Save once at a high quality. In our Compress JPEG tool, High and Balanced keep photos looking the same at normal size, and a size target tries the highest quality that fits before stepping down.
- Shrink the picture rather than the quality. When a file has to be small, fewer pixels at a good quality look better than full size at a very low quality. Our compressor does this on its own when a target can’t be met otherwise.
- Use PNG for screenshots and graphics. A PNG keeps text and edges crisp, and our JPG to PNG converter helps for images you will edit further, though it can’t undo damage that is already there.
- Send the original file, not a screenshot of it, and use a chat app’s “send as file” or HD option where there is one.
How to remove JPEG compression artifacts
Once the detail is gone, no tool can bring back exactly what was there. What a good tool can do is remove the blocks and halos and redraw clean edges and plausible texture in their place.
With an AI enhancer. AI models trained on pairs of clean and compressed photos recognize blocking and ringing and replace them with smooth areas and sharp edges. Our free AI photo enhancer does this on every run: upload the photo, leave it on Auto, and compare the result with the original. It also returns a larger picture, which helps with small, heavily compressed images saved from the web. For screenshots and photos of documents, our unblur text tool keeps letters and numbers as written while it cleans them.
In a photo editor. Noise reduction softens blocks and mosquito noise, but it also softens real detail. In Photoshop, try Filter → Noise → Reduce Noise and tick Remove JPEG Artifact, then sharpen lightly. A slight blur on a smooth area like a sky, applied with a mask, can hide blocking there without touching the subject.
Start from the best copy. If the photo exists somewhere in better quality, such as the original on someone’s phone or a higher-resolution version on the site it came from, that will always beat repairing a damaged copy.
“I spilled my JPEG compression” and adding artifacts on purpose
“Oops, I spilled my JPEG compression” is a joke used for a picture so crushed it looks like it has been dropped on the floor. The deep-fried look is sometimes wanted, for memes or a lo-fi style. To make it, save a photo at the lowest quality, or set a very small target size in our compressor, and repeat a few times on the result. Turn up saturation and contrast in between for the classic deep-fried colors.
Can every artifact be fixed?
Light and moderate artifacts clean up well, and the result often looks better than the copy you had. Very heavy compression is different: when a face or a word has been reduced to a few blocks, any tool, AI included, can only guess what it was. Treat the result as a cleaner picture, not a more accurate record, and check text, numbers and faces that matter against the original.
Want to try it on your photo? Our photo enhancer removes compression artifacts for free, with no watermark.