Compress Image
Reduce JPG, PNG and WebP file sizes directly in your browser.
Reduce JPG, PNG and WebP images to 2 MB or less directly in your browser.
Your files stay on your device.
Files are processed locally in your browser and are not uploaded to our servers.
Drop image here Drop to add
or
JPG, PNG and WebP · Up to 50 MB
Lower quality gives a smaller file. Around 70 to 85 is a good balance for photos.
PNG uses lossless compression, so it has no quality setting. Your PNG is saved again, which sometimes makes it smaller. For bigger savings, choose a maximum file size.
The result will be this size or smaller (1 KB = 1000 bytes).
2 MB is a generous limit. It usually appears where high-resolution photos are welcome but full camera files are too big, for example on classified ad sites, photo contests or upload forms.
For many images, reaching 2 MB only needs a lower quality setting, and the difference is very hard to see.
The tool first lowers the quality step by step and keeps the highest quality that fits. If even a reasonable quality is not enough, it reduces the dimensions proportionally, so nothing is stretched or cropped. The result is always 2 MB or less.
In most cases the dimensions stay exactly the same at 2 MB. Only very large, detailed originals may need a slight reduction.
For very small targets and very large images there is a limit: if the image would have to become too small to be useful, the tool tells you instead of producing an unusable file.
Visible quality loss at 2 MB is usually minimal. If your original is only slightly larger than 2 MB, the change is especially small. Smaller images may already be under the limit and need no compression at all.
JPG, PNG and WebP. The compressed file keeps the format of your original. PNG is lossless, so it can only get smaller by reducing its dimensions; JPG and WebP also have a quality setting.
Compression runs in your browser. Your image is not uploaded or stored anywhere. Very large images (over 40 megapixels) are not supported because they would exceed what a browser tab can safely handle.
Or use Compress Image to set any size or a quality level yourself.
Select your photo above; 2 MB is preselected. Click Compress Image and download the file. It will be 2 MB or less, usually with its original dimensions.
Most likely you will not see a difference on screen. Large photo files contain detail that compression can reduce without visible change. Compare both versions in the preview if you want to be sure.
Many images, such as screenshots or photos from messaging apps, are already smaller than 2 MB. In that case the tool keeps your original and lets you download it unchanged instead of compressing it for no reason.
No. The result is 2 MB or less, never more. It is usually close to the limit because the tool keeps as much quality as fits.
Yes, but PNG works differently: it has no quality setting, so it only gets smaller by reducing its dimensions. Large photos stored as PNG may need to shrink quite a bit; the tool shows you the new size.
JPG, PNG and WebP. The compressed file keeps the same format as your original.