Image Compressor

Shrink photos to an exact size limit in KB, right in your browser. Ideal for application forms, email attachments and websites.

How to compress an image

  1. Choose a photo (JPG, PNG, WebP, or HEIC in Safari).
  2. Pick JPG or WebP and set the target maximum size in KB (200 KB by default).
  3. Click Compress image, check the preview, and download.

How it works

The photo keeps its width and height; only the JPEG or WebP quality changes. The tool tries a quality level, checks the file size, and narrows in on the highest quality that still fits your target, about seven attempts between 5% and 95% quality. Here 1 KB means 1,024 bytes, so a 50 KB target means at most 51,200 bytes.

When the target is too small

If even the lowest quality is too big, the tool says so. The fix is fewer pixels: a 4000 ร— 3000 phone photo has 12 million pixels, while the same photo resized to 1280 ร— 960 has about 1.2 million, a tenth as many, so it can reach a much smaller file. Use the Image resizer first, then compress.

Tips

  • Upload forms usually want JPG. WebP is smaller and fine for websites.
  • Phone photos are turned upright using their rotation data, and the saved copy doesn't carry the original's hidden details such as the location where it was taken.
  • For a PDF rather than a photo, use Compress PDF to size.

Frequently asked questions

How do I compress a photo to under 50 KB?

Choose your image, set the target max size to 50 KB and click Compress. The tool tries quality levels until the file fits. If it can't get under the limit, reduce the dimensions with the Image Resizer first.

Are my photos uploaded to a server?

No. Compression happens inside your browser with the Canvas API. Your photo never leaves your device, which makes this safe for ID photos and documents.

JPG or WebP?

WebP is usually 25โ€“35% smaller than JPG at the same quality and works on modern websites. Most government and exam portals still require JPG, so use JPG for forms.

Why can't PNG be compressed to a target size?

PNG is lossless, so there is no quality setting to lower. Convert it to JPG or WebP for large size reductions.

Does compressing remove the photo's location data?

Yes. The compressed copy is drawn fresh from the pixels, so camera details and GPS location stored in the original file are not included.

More image tools

See all image tools โ†’