Compress

Compress JPGCompress PNGCompress WebPCompress AVIFCompress to 100 KBCompress to 200 KBCompress to 500 KB

Convert

Convert to JPGConvert to PNGConvert to WebPConvert to AVIFWebP to JPGPNG to JPGJPG to PNGWebP to PNG

Image tools

Crop ImageResize ImageImage to PDFImage to Base64

More tools

AI Prompt GeneratorColor PickerTime Zone ConverterQR Code GeneratorWord CounterPassword Generator
Image Compression

How to Compress Images Without Losing Visible Quality

You cannot remove bytes for free, but you can remove the ones nobody can see. Here is the order of steps that gets the biggest savings first.

What “without losing quality” really means

There are two honest meanings. Mathematically lossless means the decoded pixels are identical. PNG and lossless WebP do this, but savings are modest for photographs. Visually lossless means pixels do change, but not in a way you would notice at the size the picture is shown. That is how nearly all photo compression works, and it is where the big savings are. The full distinction is explained in lossy vs lossless compression.

Step 1: Resize to the display size

Extra pixels are the cheapest thing to remove. If an image is shown 900 pixels wide, a 4500-pixel original wastes 25 times the pixels. Use the resize tool to set a width, or the crop tool to remove empty edges. Allow roughly double the display width if sharpness on high-density phone screens matters.

Step 2: Pick the right format

  • Photos: JPEG or WebP.
  • Graphics, logos, screenshots: PNG, or lossless WebP.
  • Transparency: PNG or WebP, never JPEG.

Photographs saved as PNG are a classic source of bloat. Converting with PNG to JPG or WebP can cut them substantially, but check for text and fine lines first.

Step 3: Set the quality by eye

Start at 80 and look at the result at 100% zoom, not shrunk to fit. Check skin, skies, gradients and small text, because these show artefacts first. Lower the quality in small steps (80, 75, 70) until you can just see a difference, then go one step back. The JPG compressor shows the saving for each setting so you can see where returns diminish.

QualityTypical result
90–95Near-identical, largest files
75–85Differences hard to see at normal size, big savings
60–70Smaller; fine detail starts to soften
<60Visible blocks and banding

Step 4: Handle PNG graphics differently

PNG has no quality slider. Instead, reduce the number of colours. Images with 256 colours or fewer can be stored as an indexed PNG with no change in appearance, and photos or gradients can be converted to a 256-colour palette with dithering, which is lossy but often close. The PNG compressor does this and returns your original if it cannot make the file smaller.

Step 5: Avoid generation loss

Every lossy save compounds the damage, so keep a master and always export from it. Do not repeatedly re-save a JPEG. Editing and compressing the same file ten times produces visible smearing even if each save looked fine.

A worked example (illustrative)

Take a 4000 × 3000 pixel photo that will be shown 1000 pixels wide on a blog. Resizing to 2000 pixels wide (2× for sharp phone screens) already cuts the pixel count by 75%. Exporting as WebP or JPEG at quality 80 then reduces the file further. Because the savings come first from fewer pixels and second from quality, you can usually keep a higher quality setting than if you had only compressed. Results vary by image, so measure your own.

Troubleshooting: when the file will not get smaller

  • It says “Already optimal”: the file was already compressed at or below the chosen quality. Lower the quality slightly or reduce the dimensions.
  • A PNG barely shrinks: it may already be optimised or full of photographic detail. Convert photos to JPG or WebP instead.
  • Text looks fuzzy: use PNG or a higher JPG quality for screenshots with small text, or crop and resize rather than compressing harder.
  • Colours look different: re-encoding converts to the standard sRGB colour space in most browsers. Keep the original for colour-critical work.

Tools that keep your files private

Browser-based tools process files on your device. If you handle client work or personal photos, prefer those. More in choosing an image compressor.

Try it now: Compress JPG

Free, private and runs in your browser. Nothing is uploaded.

Open Compress JPG

Frequently asked questions

Yes, with lossless methods such as PNG optimisation or lossless WebP. Savings are smaller than with lossy compression, especially for photographs.
It depends on the image, but JPEG quality around 85–90 is commonly indistinguishable from the original at normal size. Quality 75–85 is the usual compromise for the web.
Either the quality is too low, the image was upscaled, or it was compressed more than once. Start again from the original at a higher quality or a larger size.
Resize first. Compressing afterwards works on far fewer pixels and gives smaller files at the same quality.

Sources and further reading

External links open the original source. We cite primary or official documentation for factual claims and re-check them when we update an article. See our editorial policy.

Keep reading