What JPEG artifacts look like
JPEG makes photos small by throwing away detail the eye is unlikely to miss. It splits the image into small squares of 8 × 8 pixels and simplifies each one. At high quality settings that is invisible. At low settings, or after an image has been saved many times, the damage shows up in a few recognisable ways:
- Blocking. Smooth areas like skies, walls and skin break into a grid of visible squares.
- Ringing. Sharp edges and text get faint ripples or a fuzzy halo, sometimes called mosquito noise.
- Banding. Soft gradients turn into stripes of flat colour.
- Colour smearing. Fine coloured detail, such as red text on white, bleeds into its surroundings, because JPEG stores colour at lower resolution than brightness.
These artifacts are common in images saved from social media, forwarded through messaging apps, downloaded from old websites, or exported with a low quality slider to save space. Memes are the classic example: each repost adds another round of compression.
How the tool cleans them up
This page runs the image through Real-ESRGAN, an AI model trained on deliberately degraded images, including heavily compressed ones. It has learned what clean edges and smooth tones look like underneath the blocks and ringing, and it rebuilds them. Unlike a simple blur, it tries to keep real edges sharp while removing the grid pattern around them.
Two things make this preset different from the upscaling tools on the site:
- The output stays at x1. The model works internally at a larger scale, but the result is brought back to your image’s original dimensions. You get a cleaner version of the same image, not a bigger one.
- A light denoise pass (20) follows. It is an edge-preserving filter that smooths any remaining speckles in flat areas without softening outlines.
The result is saved as PNG by default, because re-saving as JPEG would immediately add new artifacts.
Tips for the cleanest result
- Find the least compressed copy. If you have the image from several sources, use the one with the largest file size. Fewer compression rounds means more real detail to work with.
- Crop large images. The AI reads at most 1024 pixels on the long edge, 512 on phones and 256 without WebGPU. For a large image, the tool processes a reduced copy and scales it back, which can soften fine detail. Cropping to the part that matters keeps it sharp.
- Raise denoise for very bad files. If blocks are still visible in the sky or background, push the Denoise slider up a little and run again.
- Skip sharpening, or keep it low. Sharpening tends to bring the block edges back. Add a touch only if the result looks too smooth.
- Look at gradients and text. Drag the comparison slider across skies, faces and lettering. Those areas show the most improvement and any remaining issues.
Cleaning before enlarging or printing
Compression artifacts get much more obvious when an image is enlarged. If you plan to upscale the image or prepare it to upscale for print, it can help to clean it here first at x1, download the PNG, and then enlarge that cleaner copy. Alternatively, you can simply change the output size on this page to x2 or x4 and do both in one run.
If the problem is grain from a dark photo rather than compression blocks, the tool to denoise an image is a better starting point. Screenshots that have been squashed by a chat app usually look best when you enhance the screenshot, which adds a light sharpen for text.
Images that benefit most
- Memes and reposted images that have been saved and shared many times.
- Photos from messaging apps, which often recompress pictures to save data.
- Old web graphics and logos saved as low-quality JPEG years ago.
- Product images from marketplaces that compress uploads.
- Frames from compressed video, which show similar blocking in flat areas.
Free, private and local
The AI model, about 5 MB, is downloaded once and cached by your browser. On Chrome, Edge and recent Safari it runs on your graphics chip with WebGPU; other browsers use a CPU fallback that is slower and works on a 256-pixel copy, so results are best with WebGPU. Your image is never uploaded and no account is needed. The download has no watermark, and you can clean up as many images as you like.