MinifyPic

Compress to Size

Compress images to hit a specific file size target (like 100KB) perfectly — great for web portals.

FreeTarget KBPrivate

Drag and drop images

or click to browse files

JPG, PNG, WebP, GIFMax 50MB per fileUp to 20 files

How it works

A compact workflow from input to download.

1

Upload Image

Select the image that needs to meet a strict file size requirement.

2

Set Target Size

Enter your maximum allowed file size in KB or MB (e.g., 100KB for a passport portal).

3

Auto-Compress

The tool automatically finds the perfect balance of quality and dimensions to hit your exact target size. Download the result.

Frequently asked questions

How does it hit the exact size?
The tool runs an iterative algorithm. It tries different compression qualities, and if the file is still too big at low quality, it slightly reduces the image dimensions until it hits the target exactly.
Will the image become blurry?
If you try to compress a massive 10MB photo down to 50KB, it will lose significant quality and size. Be realistic with targets for best results.
What formats are supported?
This tool works best with JPG and WebP formats, as they support variable lossy compression. PNGs will often be converted to JPG to hit small targets.
Is this good for government/visa portals?
Yes! This tool was specifically designed because many official web portals enforce strict file size limits (like 'must be under 200KB').
Is my photo uploaded?
No. All the heavy lifting and iterative compression happens directly in your browser. Your photo is never uploaded.

Why Target Exact File Sizes?

Many online portals enforce strict, arbitrary file size limits for image uploads. Government websites for visa applications often restrict photos to exactly 240KB or 100KB. University admission portals, job application sites, and forum avatars have similar hard limits. Standard compressors are unpredictable—you might compress an image and find it's still 10KB over the limit, forcing you to guess and try again repeatedly.

Algorithmic Target Compression

Our target size compressor takes the guesswork out of this process. You input your desired maximum file size (e.g., 200KB), and our algorithm uses a binary search approach. It rapidly tests different compression levels in the background, analyzing the resulting byte size of each attempt, until it finds the exact highest-quality setting that perfectly hits your target limit without going over.