JPEG Artifacts screenshot

JPEG Artifacts

Add real JPEG artifacts by re-encoding at low quality, or smooth existing ones.

Privacy First
0 Runs
Updated 2026-11-07
Runs on the tool server
No account needed
The upload is not stored
A real re-encode, not a filter preset

Add or soften JPEG artefacts. Adding them is a real low-quality re-encode, which is exactly what the blocky look is: the discrete cosine transform throwing detail away in eight-by-eight tiles. Smoothing runs a median filter over the result, which reduces the block steps without inventing detail. The file is sent to the tool server and is not stored.

Upload an image and this page either adds real JPEG artefacts by re-encoding it at a low quality, or smooths the block edges an existing JPEG already has, and returns the result as a downloadable file.

In add mode the picture is saved as a JPEG at the quality you choose, from 1 to 100 and defaulting to 4, so the 8 by 8 block structure and colour smearing are produced by a real encoder rather than painted on.

In smooth mode a three-pixel median filter is applied and the result is written as a PNG. That removes block steps without inventing detail, which is why the page calls it a filter rather than a restoration.

Adding artefacts

JPEG compression works on eight-by-eight blocks, and at a very low quality the block boundaries and the loss of high-frequency detail become visible. The tool reproduces that by encoding, not by overlaying a texture, so the result behaves like any other JPEG afterwards.

The quality slider only applies to add mode. The file that comes back is named artifacts.jpg and the summary reports the quality actually used and the output size.

  • Mode add: re-encode as JPEG at the chosen quality
  • Quality 1 to 100, default 4, clamped at both ends
  • Output artifacts.jpg, with the size in the summary

Smoothing existing blocks

A median filter replaces each pixel with the median of its neighbourhood, which removes small steps while keeping edges broadly in place. It cannot recover detail the original encoder discarded, and heavy smoothing softens genuine texture too.

The smoothed result is written as a PNG so the smoothing is not immediately undone by another JPEG pass. It is named smoothed.png.

How to use the mode and quality

Upload the image in the Upload your file step, pick the add or smooth mode, and press Run. In add mode the picture is saved as a JPEG at the quality you choose, 1 to 100 defaulting to 4, so the 8-by-8 block structure and colour smearing come from a real encoder; the file comes back named artifacts.jpg with the quality used in the summary.

In smooth mode a three-pixel median filter is applied and the result is written as smoothed.png, which removes block steps without inventing detail. Smoothing cannot recover what the first encoder discarded, and heavy smoothing softens genuine texture too.

What to Expect

Best for

  • Demonstrating what a low JPEG quality actually does to an image
  • Producing a deliberately degraded copy for a test fixture
  • Softening visible block edges before enlarging an old picture

Not ideal for

  • Restoring a photo, since filtering cannot recreate lost detail
  • Producing a high-quality archival copy, which is the opposite mode
  • Animations, because only a single frame is processed

What this tool keeps

  • The picture's dimensions in both modes
  • A real encoder's artefacts in add mode, not a drawn pattern
  • A PNG result in smooth mode, so the filter is not recompressed away

What may need cleanup

  • Colour smearing and ringing from a low quality setting
  • Softened fine texture after a heavy median filter
  • A file larger than expected in smooth mode, because PNG is lossless

Common errors

  • Expecting smooth mode to restore sharpness
  • Setting quality above 100 and assuming it is honoured, when it is clamped
  • Reading the median filter as an AI enhancement

Example use cases

  • A lesson on how JPEG blocks appear
  • Making a deliberately poor-quality test image
  • Softening an old screenshot before upscaling

Sample input

Upload a sharp 1200 by 800 photograph, choose add mode and set the quality to 4.

Sample output

A JPEG at quality 4 with obvious eight-pixel blocks, named artifacts.jpg and reported with its byte count.

Who this is for

  • Teachers demonstrating compression loss
  • Developers making degraded test fixtures
  • Anyone trying to soften an old image's block edges

Frequently asked questions

What does the JPEG artifacts tool do?

It either adds real JPEG artefacts by re-encoding at a low quality, or smooths the block edges an existing JPEG already has, and returns a downloadable file.

Can it restore a photo?

No. Filtering cannot recreate detail that was lost.

Why is the smooth result a PNG?

Smooth mode writes a PNG so the filter is not recompressed away, which makes the file lossless and often larger.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.