Compress Image
Shrink a photo to JPG, WebP or PNG, with a size limit for form uploads and a before/after preview
Drop an image here
JPG, PNG or WebP, any size
Compression happens entirely in your browser, so the image is never uploaded anywhere. JPG is the smallest choice for photographs and the format every portal accepts; WebP is smaller still and keeps transparency but a few older systems reject it; PNG is lossless and best kept for graphics, signatures and screenshots.
About this tool
Reduces an image's file size for upload to an application portal with a size cap. Pick the output format (JPG for photos and the widest acceptance, WebP for the smallest files with transparency, PNG for lossless graphics and signatures), set a quality level or a longest-side size, and compare the original and the result side by side before downloading.
The size limit does the tuning for you: choose the cap from the notification, say 50 KB for a photo or 20 KB for a signature, and the tool searches for the highest quality that fits, shrinking the dimensions only if quality alone cannot get there. If the image has transparent areas it warns before you pick JPG, which would fill them white.
Everything happens in your browser using the Canvas API; the image is never sent to a server.
Frequently asked questions
›Which format should I choose?
JPG for photographs and for any government portal, since every system accepts it. WebP gives a smaller file at the same quality and keeps transparency, but a few older upload forms reject it. PNG is lossless and keeps transparency, so it suits signatures, screenshots and graphics, but it stays large for photographs.
›How does the size limit work?
It re-encodes the image at several quality levels and keeps the highest one that lands under the limit. If even the lowest quality is too big, it reduces the longest side step by step until it fits. The quality it settled on is shown next to the result.
›Why is the result sometimes not smaller?
Some images are already heavily compressed, so re-encoding at a similar quality changes little. Lower the quality, pick a smaller size, or switch a PNG photo to JPG, which is where the large savings are.