Compress to Target Size

Shrink photos to a file size you choose, such as 100 KB, 200 KB or 1 MB. Quality is lowered first, and width and height only if needed. Fit many at once and download a ZIP. Your images are never uploaded.

How to get a photo under 200 KB or 1 MB (upload size limits)

Loading the guide…

Compress to Target Size: walk through with a sample

Your files never leave this device. Everything is processed inside your browser and nothing is uploaded to a server.

When to use Compress to Target Size

  • Meet a "200 KB or less" upload limit

    Online government forms, job applications and school submissions often accept photos only under 200 KB or 1 MB. Pick the target and the quality and size are adjusted so the file fits under it.

  • Fit many receipts or documents at once

    Fit a batch of photos of receipts or documents to a limit like 500 KB each and download one ZIP. Photos already under the limit go in as they are, without being saved again.

  • Keep exact pixel dimensions

    For photos with fixed dimensions, such as an ID photo, choose "Keep dimensions, lower quality only" to keep the width and height and lower only the quality to fit.

How to use the Compress to Target Size tool

  1. Click "Choose image files" or drag the photos onto the screen. You can add many at once.
  2. Choose the target size. If it is not listed, choose "Custom" and enter a number and unit (KB or MB).
  3. Choose how to shrink and the format to save as. If you are not sure, leave them as they are. If the width and height are fixed, choose "Keep dimensions, lower quality only".
  4. Click "Fit to size". The list shows the new size, the quality used, and the width and height of each image.
  5. For one image, click "Download". For several, click "Download all" to get one ZIP. You can also download each image with its ↓ button.

Frequently asked questions

How does it hit the target size?

It tries quality 92% first, and if the file is too big it searches lower qualities for the highest one that fits. With "Also resize if needed", quality only goes down to 60%; if it is still too big, the width and height are reduced and the search runs again. A slightly smaller image looks cleaner than a very low quality one.

When should I keep the dimensions?

When the width and height are fixed, such as a 413×531 ID photo. Quality can go down to 10%, so a small target may make the photo look rough, and if it still does not fit you are told so. Without a size requirement, "Also resize if needed" looks better.

Is 1 KB 1,000 or 1,024 bytes?

1 KB is counted as 1,000 bytes and 1 MB as 1,000,000 bytes. This is stricter than counting 1,024, so the file fits either way. That is why the list may show a result slightly below the target (for example, 195 KB or less for a 200 KB target).

What happens to photos already under the target?

They are kept as they are, because saving them again would only lower the quality. If you chose "Save as JPG" and the original is a PNG or WebP, it is converted to JPG.

What about PNGs and transparent images?

With "Save as JPG" they become JPG, which has no transparency, so transparent areas turn white (the list tells you). With "Same format", PNGs fit by using fewer colors (from 256 down) and keep their transparency. Photos are much smaller as JPG than PNG, so JPG suits small targets.

It says the image did not fit.

With "Keep dimensions, lower quality only", a large photo may stay above a small target even at the lowest quality. Choose "Also resize if needed" instead. If fitting would need the long side to be under 100 pixels, the target is reported as too small.

Is the photo location kept?

Photos that are saved again keep no EXIF data such as location, date or device. Photos kept as they are because they were already under the target keep the original data, so use the remove location tool if you need to strip it.

Are my files uploaded to a server?

No. Files are processed only inside your browser and are never sent to any server. Only the code and character mapping data needed for processing are downloaded from this site; your files themselves never leave your device. You can check this yourself in the Network tab of your browser's developer tools.

Are my files safe even with ads on the page?

Yes. Ads only run outside the tool area. The tool area, where you choose and process files, is an isolated space your browser keeps separate, so other scripts on the page, including ads, cannot read your file content or file names. The tool area is blocked from connecting anywhere other than this site. When you drag a file onto the page, the tool area expands to fill the screen so the isolated space receives the file.

Guides