Skip to content

Image compress

Media and files

How small can your image get?

Make a photo's file smaller and see how much you saved. It stays on your device.

You can also paste an image. Files stay on your device.

Compress by

px

Also shrink the picture to this size. 0 keeps its size.

Saving

No image yet

You will see

  • How much smaller the file is
  • File size before and after compressing
  • The image before and after compressing

The image is compressed on your device and is never uploaded. One image at a time, up to 16,384 pixels a side.

Sponsored Links

Make a photo's file smaller and see how much you saved. It stays on your device.

How to use

  1. Choose an image from your device, or drop it on the box. It is not uploaded.
  2. Compress by quality and move the slider, or by file size and type the largest size you need, such as 100 kB. Pick a file type.
  3. Compare the two images and the file sizes, then download the compressed image.

Sponsored Links

How it works

Photos are stored with lossy compression: the file keeps what the eye notices and drops fine detail it hardly sees. The quality setting decides how much is dropped. Your browser re-saves the picture on your own device, so nothing is sent anywhere.

The saving is how much smaller the new file is: saving = (original size − new size) ÷ original size. A 1.4 MB photo that becomes 200 kB saved about 86 %. JPEG works everywhere; WebP and AVIF usually make the same picture smaller still, but only appear when your browser can write them. Shrinking the longest side saves even more, because there are fewer pixels to store.

With a target file size the tool tries qualities for you: a higher quality makes a bigger file, so it halves the gap between a quality that fits and one that does not until it finds the highest that fits, in about seven tries. Only when even a low quality is too big does it shrink the picture, by about the square root of how much too big it is, because the file grows roughly with the number of pixels. Sizes count 1 kB as 1000 bytes.

Compressing is a one-way step. Each lossy save costs a little quality, so keep your original, and expect almost no gain from a picture that is already small or compressed. Quality 70–85 is a good start for photos; sharp text and screenshots look better as PNG, which has no quality setting.

Frequently asked questions

Is my image uploaded?

No. The image is opened and compressed in your browser and never leaves your device.

What quality should I choose?

For photos 70 to 85 usually looks the same as the original at a fraction of the size. Check the preview, and go lower only if you can still not see a difference.

Why did my file get bigger?

A picture that is already small or heavily compressed can grow when saved again, especially at high quality or from a PNG with flat colours. Lower the quality or keep the original.

Why is WebP or AVIF missing?

Browsers differ in what they can write. Only the file types your browser can save are offered; JPEG always works.

How do I get a photo under 100 KB?

Choose Compress by: File size and type 100 kB. The tool finds the highest quality that fits and makes the picture smaller only if it has to; the result shows the file size and quality it reached.

Sponsored Links

Sponsored Links