Compress an image to a specific file size

Upload forms often say “max 100 KB” or “under 1 MB”. Set the limit and this tool finds the highest quality that fits, making the image smaller only if it has to.

Drop an image hereAdd an image

JPG, PNG, WebP, GIF or AVIF, up to 80 MB. You can also paste an image.

Result previewOriginal image

Processed on your device. Your image is never uploaded.

How it works

  1. Your browser saves the image at high quality and checks the size.
  2. If it’s too big, it searches for the highest quality that fits, trying a few settings in a fraction of a second.
  3. If even a low quality won’t fit, it shrinks the image just enough instead, so it stays sharp.

Supported formats

Opens
JPG, PNG, WebP, AVIF, BMP and GIF (the first frame of an animation)
Saves
JPG or WebP
Limits
Files up to 80 MB. The saved image can be up to 16.7 megapixels on iPhone and iPad, 36 on Android and 64 on computers, and 16,384 pixels on its longest side.
  • The tool picks the highest quality that fits. If even a low quality is too big, it makes the image smaller instead, at a good quality.
  • Sizes count 1 KB as 1,000 bytes, so a 100 KB target passes limits counted either way.
  • JPG has no transparency, so transparent areas become white. Choose WebP to keep them.
  • Metadata such as camera details and location is not copied to the new file.

Your image stays on your device

This tool runs entirely in your browser. The image is never uploaded, so there is nothing for us to store, see or delete.

To check, open your browser’s developer tools, switch to the Network tab and use the tool: you will not see your image being sent anywhere.

Questions

Are my images uploaded anywhere?

No. The image is read and processed by your own browser. Nothing is sent to our servers, so there is no copy of your image anywhere but your own device.

Is 100 KB 100,000 bytes or 102,400?

Websites differ. This tool aims under 100,000 bytes, which passes either way. Windows and this site show sizes in units of 1,024, so the result may read as about 97 KB.

Why did my image get smaller in pixels?

For a small target, lowering the quality alone would make the photo blotchy. Shrinking it a little keeps it looking clean. Untick “Make the image smaller” to keep the original dimensions.

How small can it go?

A typical photo fits in 50 KB at a size that looks fine on a phone or a form. Much below that, detail starts to disappear, however it is compressed.