Compress image to any KB size

    Shrink JPG, PNG or WebP images to an exact size like 50 KB.

    or drop images here

    Files never leave your device

    About the Compress Image tool

    This compress image tool shrinks a JPG, PNG, WebP, GIF or BMP photo to under the file size you choose: 20, 50, 100, 200 or 500 KB, or any custom size from 5 KB. It first picks pixel dimensions that suit the limit, then the highest JPEG quality that fits, which looks sharper than lowering quality alone. You can also set exact pixels, such as 200 × 230 for an exam photo. It works as an image size reducer in KB for form uploads: results are saved as JPG, and many images can be done at once.

    At a glance

    Formats
    JPG, PNG, WebP, GIF and BMP in; JPG out
    Sizes
    20, 50, 100, 200 or 500 KB, or custom from 5 KB
    Method
    Pixel size picked first, then the best JPEG quality that fits (MozJPEG)
    Output
    One JPG named like photo-50kb.jpg, or a ZIP for several images
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    Files are processed on your device and never uploaded.

    How to compress an image to a specific size

    1. Select or drop your JPG, PNG or WebP images. They are compressed straight away to under 100 KB.
    2. Pick another size in KB, or exact pixel dimensions if the form requires them: it compresses again at once.
    3. Compare before and after with the slider (zoom in to check details), then download.

    Private

    Your files are processed in your browser and never uploaded.

    Fast

    No upload or queue. Results are ready in seconds.

    Free

    No sign-up, no limits and no watermark on your files.

    Compress Image: frequently asked questions

    How do you keep the photo clear at such a small size?

    Instead of only lowering quality, we first reduce the dimensions to a size that suits your KB limit, then use the best quality that fits. This looks much better than squeezing a large photo.

    The form asks for exact pixels, like 200 × 230. Can I do that?

    Yes. Choose "Exact pixels" and enter both numbers. The photo is centre-cropped to that shape and then compressed under your KB limit.

    What format is the result?

    JPG, which is accepted almost everywhere and gives the smallest files for photos. Transparent areas in PNGs become white.

    Can I compress many images at once?

    Yes. Select several images and you get them all in one ZIP file. The before and after view shows the first image.

    How do I see how much quality was lost?

    Drag the slider on the before and after view: the original is on the left and the compressed JPG on the right, with both file sizes and the percentage saved above. Zoom to 2× or 4× to look at faces or text closely; if it looks too soft, pick a bigger KB size and it compresses again.

    How close to the KB limit will my photo be?

    Just under it. The tool aims for 97% of the limit, so 50 KB means at most 49,664 bytes, which passes whether a form counts 1 KB as 1,000 or 1,024 bytes.

    Will a small image be enlarged to fill the limit?

    No. Images are never made bigger than they are. With a 200 KB limit, a 600 × 400 image keeps its 600 × 400 size and is saved at up to 92% quality; only larger photos are scaled down.

    What happens if I fill in only the width?

    The height follows the shape of the photo. A 3000 × 4000 photo with a width of 300 becomes 300 × 400 pixels, then it is compressed under your KB limit.

    Are my files uploaded to a server?

    No. This tool runs entirely inside your browser, so your files never leave your device. Nothing is stored or seen by us.

    Is it really free? Do I need to sign up?

    Yes, it is completely free with no sign-up, no watermark added to your files and no daily limits.