Guide · Photo files

Can you compress a photo without losing quality? What really works

Only a little, if you mean truly without loss. Dropping metadata and repacking a file losslessly keeps every pixel but usually trims a small share of the size. The big savings come from two moves that do lose information but rarely show: reducing the pixel count to what the screen will display, and saving once at a high but not maximum quality. The move to avoid is saving the same photo again and again, which adds a little damage each time.

Last checked

On this page

Two meanings of “without losing quality”

People mean one of two things:

  1. Lossless: every pixel in the copy is identical to the original. You can prove it by comparing the two.
  2. Visually lossless: some data is gone, but at normal viewing you can’t tell which file is which.

MDN’s format guide draws the line clearly: lossy compression discards data to get much smaller files, while lossless compression reproduces the original exactly. Photographs, it adds, can usually tolerate lossy compression because the missing detail is hard to see. Knowing which meaning you need tells you which tools to reach for.

Moves that cost nothing

These keep the picture identical:

  • Remove metadata. Camera details, location and a small preview are stored inside the file. Taking them out saves a little and also stops the file saying where you were. The photo metadata remover on this site does this for JPEG, PNG and WebP and leaves the picture data as it was: For a JPEG, PNG or WebP, the clean copy is made by leaving the metadata out and copying the rest of the file as it is, and a test decodes both files and finds every pixel the same.
  • Repack a PNG. PNG files can often be squeezed further by better lossless settings. Desktop tools made for this shrink them without changing a pixel.
  • Switch a PNG to lossless WebP for a website. Google says lossless WebP files are 26% smaller than PNGs.

The catch: for a photo that is already a JPEG or HEIC, these moves save only a small share of the size. There is no lossless trick that halves a camera photo.

Moves that cost a little and save a lot

  • Fewer pixels. A recent phone camera takes far more pixels than any screen shows. A photo that will be seen on a phone or in an email looks the same at a fraction of its pixels, and the file shrinks with it. The image resizer sets an exact width.
  • One save at a high quality. In a JPEG or WebP, the quality setting decides how much fine detail is rounded away. The top of the scale saves very little detail you could see and costs a lot of bytes. A step or two below it usually looks the same. The image compressor shows the same patch of the photo before and after, so you can judge with your own eyes.

Do both on a copy, from the best original you have.

Moves that quietly lose quality

  • Saving the same JPEG again and again. Each lossy save rounds away a little more. Edit from the original, save once.
  • Screenshots as a way to shrink a photo. You get the screen’s resolution and its compression, not a careful copy.
  • Chat apps and social sites, which often recompress what you send. The photo arrives smaller, but not because you chose the trade-off.
  • Converting a JPEG to PNG to “make it lossless.” The detail the JPEG already lost doesn’t come back; the file just gets bigger.

A quick way to check your result

  1. Open the original and the copy side by side at the same size.
  2. Zoom in to full size on a detailed area: hair, leaves, text, fabric.
  3. Look for blocky squares, smeared edges or color bands in a clear sky.
  4. If you see them, raise the quality or keep more pixels.

Our explainer on how photo compression works shows why those particular flaws appear. If you only need a photo small enough to email, the email guide has settings that work.

Keep the original somewhere

Whatever you do to a copy, keep the full original. A smaller file is fine for sharing; for printing, cropping or editing later you’ll want every pixel the camera captured.

Where Sealed helps, and where it doesn’t

It helps keep full-size originals while smaller copies go out. Sealed encrypts the photo data it receives as it is, without shrinking or recompressing it first. The photo editor saves its copy as a JPEG at the photo’s full resolution.

It doesn’t compress or resize photos for sending. Use the image compressor or the image resizer for that.

Questions and answers

Does zipping a photo make it smaller?

Barely. JPEG, HEIC and WebP photos are already compressed, so a zip file of them is about the same size. Zipping helps with sending many files as one, not with size.

What quality setting should I use for a JPEG?

Somewhere in the upper part of the scale for photos you care about. Compare the copy with the original at full size and step down until you can see a difference, then go back one step.

Sources

What this page says about Sealed was checked against the app on .

Last checked:

Get Sealed

Sealed is free to download, and Sealed Pro is an optional in-app purchase.