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

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

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.

Try Photo Enhancer