Compress an image to a target size

Make a photo fit a size limit, like 50 KB, 100 KB or 1 MB, at the best quality that fits. Works on several images at once, and nothing is uploaded.

Each image will be at most 100,000 bytes.

Save as

or drop them here. JPEG, PNG, WebP and most other images, up to 50 MB each. Nothing is uploaded.

    How it works

    Many forms only accept a photo under a set size, like 50 KB or 1 MB. Pick the size, then choose your images. Each one is saved again as a JPEG (or WebP) at the highest quality that fits. If even fairly low quality is still too big, the image is made smaller in pixels too, because a smaller sharp picture looks better than a blurry full-size one. The page shows the new size in bytes and pixels before you download.

    Here 1 KB means 1,000 bytes and 1 MB means 1,000,000 bytes. Some sites count 1 KB as 1,024 bytes; a file under the limit our way is under theirs too.

    If an image is already under the size and in the format you chose, you get the original back unchanged, since saving it again could only lose quality.

    Limits

    Opens images up to 50 MB and 100 megapixels, 20 at a time. JPEG, PNG, WebP, GIF and AVIF work in current browsers; HEIC photos open only in Safari. Images over about 16 megapixels are scaled to that first, the largest size phones can draw. Animated GIFs keep only their first frame.

    Saving an image again removes its hidden details, such as the camera and location, and its colour profile, so colours from wide-gamut cameras can look slightly duller. Transparent areas turn white in a JPEG; choose WebP to keep them.

    Very small targets for large photos mean a small picture: a phone photo under 20 KB ends up only a few hundred pixels wide.

    Privacy

    This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.

    Related tools