Compress Image
Reduce the file size of a JPG, JPEG, PNG or WebP image in your browser, either protecting quality or searching for a target size. Every result is reported from a real encode.
- Pick Quality Protected, Maximum Quality, Balanced, Maximum Compression or Custom.
- Set a target file size in KB, useful for upload limits and smaller attachments.
- Keep the dimensions or reduce them at the same time.
- Remove metadata by writing a fresh encoding.
This page reduces the file size of a JPG or JPEG image without uploading it anywhere. Everything runs inside your browser, so a photo never leaves your device. Pick a quality mode, or set a target such as 50 KB or 100 KB when a form, email or website imposes a size limit. The tool searches quality levels, then reduces the picture's dimensions only if that is what it takes to reach the number you asked for. Be aware that a very small target can visibly reduce quality. The Result and Saved figures are measured from the actual encoded file.
Common questions
- Can I compress a JPG down to 50 KB or 100 KB?
- Usually, for JPG, JPEG and WebP. Enter the number in kilobytes under Target File Size and the tool searches for an encoding at or below it, lowering quality first and only reducing the picture's width and height if quality alone is not enough. Some images simply cannot reach a very small target without losing detail the picture depends on, and when that happens the tool tells you so and shows the size it reached instead.
- Why does the tool tell me a target was not reached?
- Because the tool will not drop quality past its floor just to hit a number. If no setting fits the target you asked for, it returns the smallest file it could produce without going below that floor, and reports that size instead of claiming the target was met. A target is a goal to aim at, not a guarantee, so a run either gets there or says that it did not.
- Why won't my PNG shrink to a target size?
- Because PNG is lossless: every pixel is stored exactly as it was, so a smaller file means discarding image data rather than adjusting quality. No target size is chased for a PNG, and the quality modes do not change that. Leave Remove Metadata off with nothing else changed and your file is written back untouched. Turn it on, or change the size or format, and the tool writes a fresh lossless copy with the colour profile and other extra data an editor left behind dropped. The saving on a PNG may be small or nothing, and a fresh copy can even come out larger than the original. If you need a much smaller file, convert the image to JPG or WebP, or reduce its width and height in the Resize tool.
- Does it reduce the picture's dimensions?
- Not by default. Width and height stay exactly as they are unless a target forces a reduction, or you turn off Preserve Dimensions and set a smaller size yourself. One thing happens before you start: an image beyond 8192 pixels on a side, or above 50 megapixels, is reduced automatically when the Compress tool loads it, so the browser can handle the picture. Anything beyond 100 megapixels or 100 MB is refused with a clear message rather than reduced.
All image processing happens in your browser. Your image is never uploaded, and there is no signup.