Compress Image to a Target Size

Shrink photos below the KB limit you need: 50KB, 100KB, 200KB, 500KB or 1MB. Quality and dimensions are tuned for you. Runs in your browser, no uploads.

ConvertersRuns on this device · no uploads
Target size

    Why compress to a specific size

    A phone photo is 2 to 5MB. Application portals, job sites, school submissions and many forms cap uploads at 100KB, 200KB or 500KB, and usually only say "file too large" without telling you how much smaller it needs to be. Instead of nudging a quality slider over and over, pick the limit you need. This tool finds the best quality that stays under it.

    How to use it

    Choose a target size, then drop your photos or tap to pick them. Each row shows the original size, the new size and the quality used. Change the target and every photo is recompressed from its original. With several files, use Download all as ZIP. If none of the presets fit, choose Custom and type a KB value.

    How quality is chosen

    The photo keeps its full resolution while a binary search tries JPG quality levels and keeps the highest one under your target. If even 40% quality is too big, it finds the largest dimensions that fit at 60% quality, then tunes quality again at that size. A slightly smaller image looks better than one crushed into blocky artifacts. JPG files that are already under the target are left untouched.

    What changes in the output

    Results are always JPG. Transparent areas in PNG or WEBP become white and camera metadata (EXIF) is dropped. Portrait rotation is applied before saving. If a form also demands exact pixel dimensions, crop to those first and then compress. At the same file size, a photo without wasted margins stays sharper.

    FAQ

    Are my photos uploaded?

    No. Compression runs in your browser with the canvas API and the result is saved straight to your device. Closing the tab clears everything.

    Does it hit the target size exactly?

    It finds the highest quality that stays under your target, so results usually land between 90% and 100% of it. If even low quality is too big, it scales the dimensions down step by step until it fits.

    Can I use it for 100KB upload limits on forms?

    Yes. Pick 100KB. If the form also requires exact pixel dimensions, crop to those first and then compress, which keeps more detail.

    Does it work with iPhone HEIC photos?

    Safari opens them directly. Chrome and Edge cannot read HEIC, so convert with the HEIC to JPG tool first and use 'Continue with' to bring the files over without picking them again.

    What happens to PNG files?

    They are saved as JPG so the size actually drops. Transparent areas become white. If you need transparency, use a PNG-specific compressor instead.