Image Compressor

Shrink photos to a size limit in KB, or by quality, right in your browser: one photo or up to 30 at once, for application forms, email and websites.

Runs in your browser: your images aren't uploaded. Up to 30 at a time, 30.00 MB each. Saved copies don't keep the original's hidden details (camera, GPS location).

How to compress an image

  1. Choose one or more photos: JPG, PNG, WebP, HEIC (iPhone), AVIF, GIF, BMP or TIFF.
  2. Pick a size such as 50 KB or 200 KB, or switch to Quality and use the slider.
  3. Leave the output format on Same as original, or choose JPG, WebP or PNG.
  4. Click Compress, compare the result with the original using the slider, and download it, or download all as a ZIP.

How it works

For JPG and WebP, the tool tries a quality level, checks the file size, and narrows in on the highest quality, up to 95%, that still fits your target. If the picture doesn't fit even at 30% quality, it is made smaller in pixels until it fits at a better quality (40% or more). Turn that option off to keep the pixel size; the quality can then go down to 5%. For PNG the tool reduces the number of colours, from 256 down to as few as 8, and mixes neighbouring colours (dithering) so gradients don't turn into bands. A 50 KB target means at most 50,000 bytes, so the file passes whether a site counts 1 KB as 1,000 or 1,024 bytes.

A photo that is already under your target is saved at the best quality that is still smaller than the original. If it can't get smaller without visible loss, the tool tells you and keeps your original.

Example: a 12-megapixel photo and a 100 KB limit

A 4032 × 3024 phone photo has 12.2 million pixels, while 100 KB is about 100,000 bytes: less than one byte for every hundred pixels. A JPG can't get that small at a readable quality, so the tool keeps the quality at 40% or more and reduces the pixel size until the file fits, then shows the new size in pixels and KB. Fewer pixels is the real fix for very small targets. For exact dimensions instead, use the Image resizer first.

Tips

  • Upload forms usually want JPG. WebP is smaller and fine for websites and email.
  • Phone photos are turned upright using their rotation data. Animated GIFs and WebPs keep only their first frame.
  • Need a minimum size too, like 20–50 KB? Use Increase image size in KB. For a PDF, use Compress PDF to size.
Image compressor with a target of 100 KB set for a 2400 × 1600 JPG, showing the new size, the pixel size kept and the percentage saved
A large JPG compressed to under 100 KB at the same pixel size, with the saving shown.

Frequently asked questions

How do I compress a photo to under 50 KB?

Choose your photo, pick 50 KB and click Compress image. The tool lowers the quality step by step until the file fits. If a big phone photo still doesn't fit at a sensible quality, it is also made smaller in pixels, and the result says by how much. Untick that option to keep the exact pixel size.

Can I compress a PNG and keep the transparent background?

Yes. With Output format on Same as original (or PNG), a PNG is saved with fewer colours, at most 256, which keeps transparency and usually makes the file much smaller. WebP also keeps transparency. Only JPG turns transparent areas white.

JPG, WebP or PNG?

Google's tests found WebP photos 25–34% smaller than JPG at the same visual quality, and every current browser shows WebP. Many application portals still accept only JPG, so use JPG for forms. PNG suits logos, screenshots and graphics with sharp edges or transparency.

Can I compress several images at once?

Yes, up to 30 images of up to 30 MB each. They are compressed one after another with the same settings; download each one, or all of them in one ZIP file.

Are my photos uploaded to a server?

No. Compression happens inside your browser, so your photos never leave your device. The compressed copy is drawn fresh from the pixels, so the camera details and GPS location stored in the original file are not included.

Guides that use Image Compressor

More image tools

See all image tools →

Can't find the tool you need? Tell us.