ExifLens
← Back to Tools

Image Compressor – Reduce Photo Size to a Target KB

Shrink JPG, PNG and WebP photos to the file size you need. Processed in your browser with no upload, with options to remove location data or keep EXIF.

Your images are not sent to any server. They are processed only inside this browser, and disappear when you close the tab.

Drag and drop images here

You can process up to 20 images at a time.

Options

How to shrink
Photo info (EXIF)

Keeping info or removing only location works when saving a JPG as a JPG. For PNG, WebP or a changed format, photo info is removed.

How to use the image compressor

Reports, blog posts and online application forms often limit the size of the photos you can attach. Choose your photos and this tool re-saves them inside your browser at a smaller file size. Adjust the quality slider yourself, or simply enter a target such as 500 KB and the tool finds the best quality that fits. Your photos are never uploaded to a server.

How to use it

  • Drag images in or press Choose images to add up to 20 at once.
  • Pick either Set quality or Fit a target size. If a site gives a size limit, the target option is easier.
  • If needed, set a maximum width and an output format.
  • Press Process to see the saved size for every image, then download them one by one or all together as a ZIP.

Why file size drops

JPG and WebP save an image by discarding detail the human eye struggles to notice. The lower the quality value, the more is discarded and the smaller the file becomes. Go too low and blocky patches appear. A value between 70 and 85 usually cuts the size a lot with almost no visible difference.

Reducing the number of pixels is the most reliable method. Phone photos are often more than 4000 pixels wide, but 1600 to 1920 pixels is plenty for a blog or on-screen use.

Photo info (EXIF) and location

Because this tool re-saves your photo, camera details and GPS location are removed by default. That default is the safe choice for photos you post on social media or forums.

When saving a JPG as a JPG you can choose to keep everything or remove only the location. The photo is saved already rotated to its visible orientation, so the orientation tag is reset and the embedded preview thumbnail is dropped. Colors are saved in the web standard sRGB.

Saving as JPG or WebP causes a small loss of quality that is hard to notice. Keep your important originals before compressing.

Frequently asked questions

Are my photos uploaded to a server?+

No. Everything is processed inside your browser and your photos are not sent anywhere. Processed images disappear when you close the tab, so download the results you need.

Will compressing ruin the quality?+

At a JPG or WebP quality of about 70 to 85, the difference is hard to see on screen. If you need a smaller file than that, reducing the maximum width usually harms quality less than lowering quality further.

Why doesn't my PNG get much smaller?+

PNG is a lossless format, so a quality value cannot shrink it. For photos, switch the output format to JPG or WebP, or reduce the maximum width. A transparent PNG saved as JPG gets a white background where it was transparent.

I set a target size but the result is larger.+

Depending on the photo, even the lowest quality may not reach the target, and a notice appears. Reduce the maximum width or raise the target a little and try again.

What happens to location data when I compress?+

By default EXIF and GPS are removed. Only when saving a JPG as a JPG can you keep everything or remove only the location. If hiding location is all you need, the EXIF Remover tool also works.