Compress Image

Reduce JPG, PNG and WebP file sizes 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

or

JPG, PNG and WebP · Up to 50 MB

Compression method
80 %

Lower quality gives a smaller file. Around 70 to 85 is a good balance for photos.

How to compress an image

  1. Choose a JPG, PNG or WebP image, or drop it onto the box above.
  2. Pick a method: Quality lets you set how much detail to keep, Maximum file size makes sure the file fits a limit like 500 KB.
  3. Click Compress Image and compare the original with the result.
  4. Download the compressed file. Your original stays untouched.

Popular target sizes

Need to meet a specific upload limit? Open the tool with the size already selected:

Why compress images?

  • Upload limits: many forms and portals reject images above a certain size.
  • Websites: smaller images load faster, especially on mobile connections.
  • Email: attachments stay under the size your provider allows.
  • Storage: smaller files take up less space on your phone, computer or cloud drive.

Quality vs. file size

JPG and WebP are lossy formats: they save space by simplifying details that are hard to see. The quality setting controls how much. Going from 100 to 80 usually saves a lot of space with no visible difference; below about 50, artefacts become easier to spot.

When you set a maximum file size, the tool first tries to reach it by lowering the quality step by step. If that would make the image look noticeably worse, it reduces the dimensions instead, because a slightly smaller image at good quality usually looks better than a full-size one full of artefacts.

Supported formats

  • JPG / JPEG: the usual format for photos. Compresses very well.
  • PNG: lossless, supports transparency. Transparency is kept; the size mainly shrinks by reducing dimensions.
  • WebP: a modern web format, usually smaller than JPG, supports transparency.

Your images stay on your device

Compression runs entirely in your browser. Your image is not uploaded, not stored on a server and not seen by anyone else. That also means large images are limited by your device's memory: very large photos (over 40 megapixels) are not supported.

Frequently asked questions

Does compressing an image reduce its quality?

JPG and WebP compression removes detail your eyes are least likely to notice. At a quality around 70 to 85, most photos look practically the same while the file gets much smaller. At very low settings you will start to see blocky areas and smeared edges, so check the preview before you download.

PNG is lossless: saving it again never changes a single pixel. Sometimes that alone makes the file a little smaller; bigger savings need smaller dimensions.

Can I compress an image to a specific file size?

Yes. Choose "Maximum file size" and pick a preset or enter your own value. The tool looks for the highest quality that stays at or below that size. If quality alone is not enough, it also scales the image down and tells you the new dimensions. The result is never larger than the size you chose.

Are my images uploaded?

No. The image is read and compressed by your browser on your own device. It is not sent to our server, and we never see it. You can check this in your browser's developer tools: while you use the tool, no upload request appears.

Which image formats are supported?

JPG (also called JPEG), PNG and WebP. The result keeps the format of your original: a JPG stays a JPG. HEIC photos from iPhones are not supported yet.

Why is PNG harder to compress?

PNG stores every pixel exactly, which is great for screenshots, logos and graphics with transparency, but it has no quality setting to trade detail for size. For photos, PNG files are often much larger than a JPG or WebP of the same picture. To make a PNG noticeably smaller, the only option without changing the format is to reduce its dimensions.

What does 1 KB mean here?

We use decimal units: 1 KB is 1000 bytes and 1 MB is 1000 KB. Some upload forms count 1 KB as 1024 bytes. A file that fits our limit also fits that stricter reading, so you are on the safe side either way.

Does compressing keep the photo metadata?

Not in the new image: your browser saves it without camera details, the date taken or GPS location. Photos are turned upright first, so they still display correctly. To see what a photo contains, use View Image Metadata before compressing. If the tool offers your original unchanged, its metadata stays as it was.