Compress image to 100 KB or any size

Upload form says “maximum 100 KB”? Drop your photo in and we find the highest quality that fits under the limit. Choose 20 KB, 50 KB, 200 KB or type your own size.

Drop images to compressor paste from clipboard · JPG, PNG, WebP, AVIF, HEIC, SVG, GIF · batches welcome Choose images

Private: your images are processed on your device and never uploaded.

    Original
    Result
    OriginalResult

    How to compress an image to a specific size

    1. Pick the limit. 100 KB is selected. Choose another size from Target file size, or “Custom” to type the exact number of KB.
    2. Add your photo. JPG, PNG, HEIC and WebP all work, and you can add several.
    3. Check and download. The final size is shown next to each file. It will always be under your limit.

    How it finds the right size

    Instead of guessing a quality setting and trying again, the tool encodes your photo several times, halving the range each time (a binary search), and keeps the highest quality that fits. Only if quality 5 is still too big does it reduce the pixel dimensions, in 20% steps, and search again.

    On our Hubble test photo (1000×872, 1.60 MB as PNG) the results were 93.6 KB for a 100 KB limit, 47.5 KB for 50 KB and 19.6 KB for 20 KB. All three kept the full 1000×872 resolution.

    Tips for strict upload forms

    Frequently asked questions

    Will the image be exactly 100 KB?

    It will be just under the limit, usually within a few kilobytes, so it is always accepted.

    What if my photo needs to be under 20 KB?

    Choose “Under 20 KB”. Large photos may also be scaled down in pixel size to get there, and the new dimensions are shown next to the file.

    Does 100 KB mean 100,000 bytes?

    We use 1 KB = 1,024 bytes, as Windows does, so a “100 KB” file here is at most 102,400 bytes. If a form counts 1 KB as 1,000 bytes, choose Custom and enter 97.

    Related tools