🌐

How to compress an image without losing quality

A photo straight from a camera is often several megabytes, which is far bigger than a website, an email or a form needs. Compression shrinks the file by removing detail the eye barely notices. Done well, the smaller file looks the same as the original. This guide shows how to do it with the free Image Compressor on this site.

Step 1: Open the Image Compressor

Open the Image Compressor and add your image. It is processed in your browser, so the image is never uploaded to a server.

Step 2: Start at 70 to 80 percent quality

Set the quality slider to about 70 to 80 percent. For most photos this is the sweet spot: the file becomes much smaller, but the picture still looks sharp. Compare the preview with the original, and look closely at faces, text and fine detail such as hair or leaves.

Step 3: Pick the right format

For photos, JPG or WebP gives the smallest files. WebP is usually smaller than JPG at the same quality, and most modern browsers and apps open it. For graphics, logos, screenshots or pictures with text, PNG keeps sharp edges better, but the file will be bigger. If the site or app you are sending the image to needs a particular format, pick that one — a small JPG is no use if the form only accepts PNG.

Step 4: Shrink the dimensions too

Quality is only half the story. A photo that is 4000 pixels wide is far bigger than the same photo at 1600 pixels wide, and on a web page nobody can see the difference. If the image will only ever be shown small, resize it to the size it will be displayed at. You can do that with the Image Resizer before or after compressing.

Step 5: Download and check the result

Download the compressed image and open it at full size. If it looks clean, you are done. If you can see blocky patches or blurry detail, go back and try a higher quality setting, such as 85 percent, and compare again. The file will be a little bigger, but it will look better.

Common mistakes to avoid

  • Do not compress the same JPG again and again. Every time a JPG is saved, it loses a little more detail, so always start from the original file.
  • Do not use PNG for large photos. PNG is lossless, which sounds better, but for a photo the file can be several times bigger than a JPG at 80 percent quality.
  • Do not judge quality from a tiny thumbnail. Open the image at full size before you decide it looks good enough.
  • Keep the original file. If you later need a bigger or sharper version, you can compress the original again instead of working from the small copy.

Frequently asked questions

What quality setting should I use?

Start at 70 to 80 percent for photos. That is usually the best balance between file size and visible quality. Raise it to 85 or 90 percent if you can see blocky patches or blurry detail.

Is JPG or WebP better for compression?

WebP usually makes a smaller file than JPG at the same quality, and most modern browsers open it. Use JPG if the site or app you are sending the image to does not accept WebP.

Open the Image Compressor

← Back to blog

More guides

How to make a passport size photo online · How to create a QR code for your Wi-Fi · How to make an invoice online for free · How to convert HEIC to JPG · How to create a QR code with your logo · All guides