PDF On My Device Buy me a coffeeSupport

Guides / Compress image

How to compress an image without losing quality

By Tech is Easy · November 23, 2026

Compress imageMake JPG, PNG and WebP files smaller. Free, and your file never leaves your device.Open tool

Your 4.2 MB holiday photo needs to go in an email with a 10 MB limit, along with three others. Or your website loads slowly because every product photo is 3 MB. You want the files smaller without the pictures looking worse. That is very doable, but it helps to know what "without losing quality" can and can't mean.

Lossless vs. lossy: the honest version

LosslessLossy (smart)
What changesNothing in the picture; only how it's storedFine detail your eye can't see at normal size is removed
Typical saving10 to 40%60 to 80% or more
FormatsPNG (and WebP lossless)JPG, WebP
Best forScreenshots, logos, diagrams, textPhotos

When people say "compress without losing quality", they almost always mean no quality loss you can see. For photos, well-tuned lossy compression gives that. The trick is to use a good encoder at a sensible setting, not to push quality to 10.

Compress image on this site uses the same encoders as Google's Squoosh app: MozJPEG for JPG, libwebp for WebP and OxiPNG for PNG. MozJPEG produces noticeably smaller JPGs than a phone or a basic editor at the same visible quality.

Step by step: compress photos

  1. Open Compress image and choose one or many images (JPG, PNG, WebP, GIF or BMP).
  2. In Save as, leave Same as original, or pick JPG or WebP for photos that are currently PNG.
  3. In How, choose Choose the quality and leave it at 75. Or choose Aim for a file size and type a target in KB per image.
  4. If the photos are bigger than they need to be in pixels, set Longest side (for example 1920 px for screens).
  5. Click Compress images. You see the size before and after for every image. One image downloads directly; several come as a ZIP.

Everything runs in your browser, so the photos never leave your device. If compressing would make a particular file bigger, you get the original back unchanged.

The biggest saving is usually pixels, not quality

A modern phone photo is 4000 x 3000 pixels (12 megapixels) or more. A laptop screen shows about 1920 pixels across; a phone screen around 1080. If the photo is only going to be looked at on screens, most of those pixels are never seen.

UseLongest side that's plenty
Email, sharing, viewing on phones1920 px (Full HD)
Instagram post1080 px
Website product photo or blog image1280 to 1920 px
Printing at 15 x 10 cm (6 x 4 in)1800 px
Printing large or cropping laterKeep the original size

Halving the width and height leaves a quarter of the pixels, and the file shrinks roughly in proportion, before quality even comes into it. On a screen, a 1920-pixel photo looks the same as the 4000-pixel original. Use the Longest side option in Compress image, or Resize image for exact sizes.

Settings by type of image

Photos

Screenshots, logos and graphics

Photos saved as PNG by mistake

Very common with screenshots of photos and images saved from some apps. Convert them with PNG to JPG or choose JPG under Save as: they typically come out 5 to 10 times smaller.

How to check you haven't lost quality

  1. Open the original and the compressed photo side by side at the size people will see it, not zoomed to 400%.
  2. Look at three places where compression shows first: blue sky (blocky bands), hair and grass (smudging), and edges of text or signs (fuzzy halos).
  3. If you see a difference, compress again at a quality 10 points higher. If you don't, try 10 points lower and check again. Stop at the lowest setting you can't tell apart.

Mistakes that quietly ruin quality

A real example

Take a 12-megapixel phone photo of around 4 MB. With the longest side set to 1920 px and JPG quality 75, it usually comes out at a few hundred KB, roughly a tenth of the original, and on a laptop screen you can't tell them apart. Ten such photos then fit in one email under a 10 MB limit, where the originals would need four or five emails. Try it on your own photo: the tool shows the before and after size for each file.

The compressed copies usually don't carry the hidden GPS location from your phone either (a file that was kept as it was still does). To remove the location for certain, without compressing, see how to remove location data from photos.

Quick answers

Can you compress an image with zero quality loss?

Yes, but only a little. Lossless compression (for example optimising a PNG) keeps every pixel and typically saves 10 to 40%. Big savings of 60 to 80% come from lossy compression, which removes detail you can't see at normal viewing size.

What JPG quality is best?

75 is a good default for photos viewed on screens. Use 85 to 90 for photos you will print or crop later. Below about 60, edges and skies start to show blocky artefacts.

Why is my PNG photo so large?

PNG stores every pixel exactly, which suits screenshots and logos but makes photos huge. Saving a photo as JPG or WebP is usually 5 to 10 times smaller with no visible difference.

Does compressing an image remove the location data?

Usually. Compressed files are saved fresh without the hidden EXIF details such as GPS location. But if a photo is already so small that compressing would make it bigger, you get the original back unchanged, with its details. To be sure, use Remove photo location (EXIF).

Should I compress before uploading to WhatsApp or Instagram?

Not usually. Those apps compress photos again themselves. Compress before email, websites, forms and cloud storage, where the file is kept as you send it.

Tools used in this guide

Compress imageResize imagePNG to JPGJPG to WebP

More guides