Image Tools

Image Compressor

Add up to 50 photos, move one slider to choose how hard to squeeze, and see exactly how many kilobytes each file saved. You can also shrink the width or aim for a target size in KB. Every image is compressed on your own device, so nothing is uploaded.

Free · No sign-up · Files stay on your device

By Aditya Kr Sharma

  • Free
  • Instant
  • No sign-up

Image Compressor

Or import from
Supports: JPGJPEGPNGWEBP

Higher means a smaller file and more visible loss. Ignored when a target size is set.

Images are not uploaded - everything happens in your browser.

How to use the Image Compressor tool

  1. Add your JPG, PNG or WebP images, up to 50 at a time.
  2. Move the slider or pick a preset: Recommended (50%) suits most photos.
  3. Optionally choose an output format, a maximum width in pixels, or a target size in KB.
  4. Press Compress, check what each file saved, and download them one by one or as a ZIP.

Why images need compressing

A photo from a modern phone is typically 3 to 8 megabytes and around 12 megapixels, far more than a screen, an email or a web form needs. Upload forms reject it, email attachments bounce, websites load slowly and cloud storage fills up. Compression trims the file to a sensible size while keeping the picture looking the same at normal viewing sizes.

This compressor works entirely in your browser. Each image is decoded on your device, re-encoded at the quality you choose, and offered back for download. There is no upload, no queue and no account, and it works the same on a phone as on a computer.

The slider: how hard to squeeze

The percentage is the compression level, not the quality. Higher means a smaller file and more visible loss; lower means a larger file that is closer to the original. The four preset buttons set common levels: Low (20%) for a gentle trim when quality matters most, Recommended (50%) for everyday photos, High (75%) when the file has to be small, and Extreme (90%) when size is all that matters and some blur is acceptable.

For most photos 50% cuts the size by well over half with no difference you can see at normal size. Detailed images such as landscapes with foliage, or photos with fine text, show loss sooner, so try the result before sending it. Each result row shows a small preview, the original size, the new size and the saving, so you can judge quickly and compress again at a different level if needed.

Why a PNG comes back as WebP

With the format left at "Same as original", JPG files stay JPG and WebP files stay WebP. PNG files are the exception: they come back as WebP, and the page tells you when that has happened. The reason is that PNG is a lossless format. It stores every pixel exactly, so there is no quality dial to turn down, and saving a PNG again as PNG saves almost nothing. A compressor that kept PNGs as PNG would hand you back nearly the same file and call it compressed.

WebP, on the other hand, supports both transparency and lossy compression. A PNG screenshot, logo or photo saved as WebP keeps its transparent areas and is usually several times smaller. WebP opens in every current browser, on Android and iPhone, in Windows and macOS, and is accepted by most websites. If the place you are uploading to insists on another format, choose it explicitly: JPG gives the widest compatibility but turns transparent areas into a solid background, and PNG keeps the file lossless, which means it will barely shrink unless you also reduce the width.

Reducing the width

Quality is only half of file size; the other half is the number of pixels. A 4000-pixel-wide photo has four times as many pixels as a 2000-pixel one. Type a maximum width, such as 1920 for full-screen viewing, 1200 for a website or 800 for an email, and larger images are scaled down to that width with their proportions kept. Images already narrower than the number are left at their size. Reducing the width often saves more than lowering the quality, and the picture stays sharp at the size it is shown.

Aiming for a size in KB

Many forms state a limit in kilobytes rather than a quality. Type that number in the target size box and the compressor searches for the highest quality that still fits, rather than using the slider. If even the lowest quality is too big, it reduces the pixel size step by step until the file fits. If the target still cannot be reached after that, the page says so clearly rather than pretending. For common limits there are dedicated pages for 20 KB, 50 KB, 100 KB and 200 KB, each with advice for the forms that use that limit.

When a file is already optimised

Some images are already compressed very efficiently, for example a JPG that has been through a website or a messaging app. Re-encoding such a file can produce something larger than the original. A bigger "compressed" file is no use to anyone, so in that case the original is kept unchanged and the row says "Already optimised". This only applies when you have kept the same format and not asked for a smaller width or a target size, since in those cases the new file is the point.

What is removed

Re-encoding is lossy and starts from the pixels, so the metadata stored in the original file is not copied. That includes EXIF details such as the camera model and settings, the date taken, and GPS location if your phone recorded it. For photos you are sharing publicly this is usually a benefit: the location of your home is not hidden inside the picture. The rotation recorded by the camera is applied to the pixels first, so portrait photos stay the right way up.

Limits

You can add up to 50 images at once, each up to 30 MB and 50 megapixels, which covers phone photos and most camera files. JPG, PNG and WebP are accepted. HEIC photos from an iPhone, TIFF scans and RAW files need converting first; HEIC to JPG and TIFF to JPG on this site do that. Animated images are compressed as a single still frame.

Privacy

Photos are personal. Every step of the compression happens in this browser tab, the images are never uploaded, and they are cleared when you close the page.

Frequently asked questions

What does the percentage mean?

How hard to squeeze. Higher means a smaller file and more visible loss; 50% suits most photos.

Why did my PNG come back as WebP?

Because PNG is lossless: saving it again as PNG barely helps. WebP keeps the transparency and is far smaller. Pick PNG or JPG in the format list if you need those.

Why does a file say "Already optimised"?

Re-encoding it would have made it bigger, so the original was kept unchanged.

Does compression remove location data?

Yes. EXIF details, including GPS location, are not copied into the compressed file.

How do I get under an exact KB limit?

Type the limit in the target size box. The highest quality that fits is found for you, and the width is reduced only if needed.

Can I compress many photos at once?

Yes, up to 50 at a time, and download them all as one ZIP.

Are my photos uploaded?

No. Everything happens in your browser.

More in Image Tools All tools