Image Compressor

Reduce JPG, PNG and WebP file sizes while keeping them sharp. Pick a quality level or enter an exact maximum size — everything runs in your browser.

No uploadFree, no sign-upNo watermark

Drop images to compress

Batch processing supported — add as many images as you like.

JPGPNGWebPGIFBMPAVIF
Processed on your device — never uploaded

How to use the Image Compressor

  1. Drop one or more images into the box above, or paste a screenshot with Ctrl/⌘ + V.
  2. Choose By quality for the best quality-to-size balance, or Target size to stay under a limit such as 100 KB.
  3. Compare the result with the before/after slider and check the size saved for each image.
  4. Download images one by one, or all at once as a ZIP file.

How the compression works

JPG and WebP are re-encoded with your chosen quality. Because image encoders discard detail the eye barely notices first, a quality of 70–80% usually looks identical to the original while being several times smaller.

PNG is lossless, so lowering “quality” doesn’t apply in the usual way. In Smart mode MediaShrink reduces the image to an optimised colour palette (up to 256 colours) with dithering — the same technique popular PNG optimisers use — which typically saves 50–80% on screenshots, icons and graphics while keeping transparency.

If a compressed version would be larger than your original (this happens with images that are already well optimised), MediaShrink keeps the original instead and tells you, so you never download a worse file.

Compressing to an exact size

In Target size mode MediaShrink runs a binary search over the quality setting to find the highest quality whose file still fits your limit. If even the lowest sensible quality is too large, it can reduce the image dimensions step by step (you can turn this off).

The result is checked against your target after encoding. If a file can’t reach the target, it is clearly marked “Target not reached” instead of being reported as a success.

Which format should I choose?

FormatBest forTransparency
JPGPhotos, when maximum compatibility mattersNo (filled with white)
WebPWebsites and apps — usually 25–35% smaller than JPGYes
PNGScreenshots, logos, graphics with sharp edgesYes

Frequently asked questions

Are my files uploaded to a server?

No. MediaShrink processes files with your browser’s own engine (Canvas for images, WebAssembly for video). Your files never leave your device, and nothing is stored after you close the page.

Will compressing reduce image quality?

JPG and WebP compression is lossy, but at 70–85% quality the difference is very hard to see. Use the before/after slider to check — zoom in on fine detail like hair or text. PNG in Lossless mode is pixel-perfect.

Is there a limit on file size or number of images?

There is no artificial limit. The practical limit is your device’s memory: very large images (over about 50 megapixels) may fail on phones. Batches of hundreds of images work fine on a computer.

Does it remove EXIF data?

Yes. Compressed images are re-encoded from pixels, so camera details and GPS location are not copied to the new file. The image is rotated according to its EXIF orientation first, so it still displays the right way up.

Why is “1 KB = 1,000 bytes” in target mode?

Upload limits are defined inconsistently — some sites count 1 KB as 1,000 bytes, others as 1,024. Using the smaller definition guarantees your file passes both.

Related tools

All image tools