Compress JPEG images

Shrink JPG photos for email, upload forms and websites. Set the quality yourself, or type the largest file size allowed, such as 100 KB, and each photo is saved at the best quality that fits. Your photos are compressed in your browser and never uploaded.

  • Free
  • No sign-up
  • Nothing uploaded
Loading the tool…
  • Compress to a target size in KB
  • Or set the JPEG quality yourself
  • Before and after comparison
  • Up to 30 photos, one ZIP download

How to compress a JPEG

Four steps, start to finish.

  1. 1

    Add your JPGs

    Choose, drop or paste up to 30 JPG photos. PNG and WebP files work too.

  2. 2

    Choose how to compress

    Quality, for a look you pick, or Target size, for a file no larger than the size you type.

  3. 3

    Compress and compare

    See each new size, and drag the handle on the preview to check the detail.

  4. 4

    Download

    Save each photo, or all of them in one ZIP.

Two ways to compress a JPEG

A JPEG gets smaller by keeping less fine detail, in ways the eye barely notices at first. How much is set by its quality, from 1 to 100. This tool offers two ways to choose it:

Compress byYou chooseBest when
QualityA quality from 10 to 100 (75 to start)You want a look, and the size can be whatever it comes to
Target sizeThe largest file allowed, in KBA form, a job portal or an inbox has a size limit

With Target size, you type the limit, say 100 KB, or pick 50, 100, 200, 500 or 1000 KB. Each photo is then saved at the highest quality that fits: the tool tries a high quality (92) and a middle one (50), then narrows down between them, one quality point at a time. If even quality 50 is too big, the photo is made smaller in pixels and searched again, because below 50 a photo starts to look blocky, and fewer pixels look better than worse ones. Only when it can't be made any smaller does the quality go lower, down to 10. The line under each photo says what it took, such as "Quality 62 to fit 100 KB".

How small can a photo get?

That depends on its size in pixels. A photo straight from a phone has millions of pixels, and squeezing all of them into 50 KB leaves visible blocks and smudges. Fewer pixels compress far better: a photo 1280 pixels wide looks sharp on a screen and fits in much less space. Two settings help:

  • Largest side: cap each photo at 3840, 2560, 1920 or 1280 pixels before it is compressed. For email and the web, 1920 is plenty; for a small upload limit, 1280.
  • Target size makes a photo smaller in pixels by itself when it has to, but capping the side first gives you the choice, and the photo keeps a higher quality.

If you need a photo at an exact size in pixels, such as 600 × 600 for an online application, make it that size with the image resizer first, then compress the result here.

Checking the result

After compressing, the preview shows the original on the left and the compressed photo on the right, with each one's file size. Drag the handle across faces, fine text and edges, where compression shows first. In a JPEG it shows as blocky squares in smooth areas like skies and skin, and as faint ripples around sharp edges. If you see them, raise the quality, or the target size, a little.

Some JPGs are already well compressed. When saving a photo again in the same format and size wouldn't make it any smaller, or when it is already under your target size, the tool keeps your original instead and says so. A compressed batch never grows.

JPEG, or another format?

JPEG suits photographs. For screenshots, logos and diagrams, which have flat colours and sharp edges, a JPEG blurs the edges and often isn't even smaller; keep those as PNG and use the image compressor, which reduces a PNG's colours instead. For websites, WebP usually makes smaller files than JPEG at a similar look; the image converter turns photos into WebP, PNG or JPG, and the Format setting here can save the compressed copies in another format too.

Private and unlimited

Photos are compressed by your browser on your device. Nothing is uploaded, there is no account and no daily limit, and you can compress as many batches as you like. The compressed copies leave out the camera's hidden data (EXIF), such as the time and the place a photo was taken; an original kept because it was already small enough keeps its own.

Updated

Compress JPEG: common questions

What people ask before they use it.

How do I compress a JPEG to 100 KB?

Add the photo, choose Compress by: Target size, type 100 (or pick 100 KB) and press Compress. The photo is saved at the highest quality that fits in 100 KB. If that would mean a quality under 50, it is made smaller in pixels instead, so it stays clean.

Will compressing a JPEG lower its quality?

A little, by design: JPEG compression keeps less fine detail. At higher qualities the difference is hard to see in most photos; compare them with the slider before you download.

Can I compress several JPGs at once?

Yes, up to 30 at a time, each up to 50 MB. Download them one by one or all together in a ZIP.

Are my photos uploaded?

No. Everything happens in your browser, on your device.

What if the target size is too small?

The photo is made smaller in pixels, step by step, until it fits at quality 50 or more. At the smallest size it tries, the quality may go lower, down to 10. If it still can't fit, the tool gives you the smallest file it could make and says so.