PHOTOS & IMAGES

Compress a Photo to an Exact Size in KB Online

Loading tool…

A form or website accepts photos only up to 200 KB, but yours is several megabytes? Enter the size you need and the tool picks the highest quality that stays within the limit. Everything happens in your browser.

How to use it

  1. Choose a photo in JPG, PNG or WebP format.
  2. Enter the size in KB or pick a preset: 50, 100, 150, 200, 300, 500 KB or 1 MB.
  3. Click “Compress to this size”, check the preview and download the JPG.

Good to know

  • The result is always saved as JPG, the format best suited to a file-size limit. Transparent areas of a PNG become white.
  • Quality is lowered first, and only if that is not enough are the pixel dimensions reduced. For a tight limit (say 50 KB) the photo may end up smaller than the original.
  • The tool never makes a file bigger: if the original is already under the limit you will see a message.
  • EXIF rotation is respected, while metadata itself (location, camera model) is not copied into the new file.

When it helps

  • Uploading a photo or scan to a form that accepts files up to a certain size.
  • Sending several pictures in one email without exceeding the attachment limit.
  • Preparing an image for a listing or profile with a weight limit.

Frequently asked questions

Why is the result slightly smaller than the size I entered?

The tool always stays within the limit, so it picks the closest quality that does not exceed the size you entered; it never goes over.

Can I compress a PNG or WebP?

Yes. The file is opened and the result is saved as JPG, because that format lets the size be matched precisely.

What if it could not reach that size?

Enter a larger limit. Very small sizes, such as 5–10 KB, are out of reach for large photos without a noticeable loss of dimensions.

Is the photo uploaded to a server?

No. Compression runs in your browser and the file is never sent anywhere.