Skip to content
PrivBay

Compress JPG, PNG and WebP images

Make JPG, PNG and WebP files smaller without visible loss when you need to shrink a photo or optimize JPEG files. Your images are compressed on this device, so nothing is uploaded.

Drop images here

JPG, PNG, WebP, GIF, BMP or AVIF. Pasting from the clipboard works too.

Ready. Your files stay on this device.

80

Lower quality gives smaller files. 70–85 looks the same as the original for most photos.

PNG files are reduced to at most 256 colors; transparency is kept.

What to do next

  • Resize image Change image dimensions in pixels or by percentage.
  • JPG to PDF Combine JPG, PNG and WebP images into one PDF, with one image per page.

How to compress an image

  1. Drop your images onto the box above, choose them with the button, or paste an image from the clipboard.
  2. Compression starts right away. Each file shows its new size and how much space was saved.
  3. Want smaller files or higher quality? Move the Quality slider, then select Apply new settings to all.
  4. Download each image, or download them all at once as a ZIP file.

How image compression shrinks JPG, PNG and WebP files

Image compression makes files smaller so pages load faster, emails stay under attachment limits and storage lasts longer. This tool handles the three most common formats:

  • JPG files are re-encoded at the quality you choose. Quality 80 is a good default for photos.
  • PNG files are converted to an optimized palette (up to 256 colors) with transparency preserved. Images that already use few colors, such as logos and diagrams, are stored without any loss.
  • WebP files are re-encoded with your browser’s WebP encoder.

By default each image keeps its format. Choose Save as to convert while compressing, for example to turn large PNG photos into much smaller JPG or WebP files, or use the image converter when you want to change formats without compressing. If a form requires a strict limit such as 50 KB or 100 KB, use reduce image size in KB.

Choosing a quality setting

Between 70 and 85, most photos look the same as the original. Go lower for thumbnails and previews, higher for images that will be edited again. Compare the sizes shown next to each file, change the slider, and select Apply new settings to all to try again.

Private by design

Most online compressors upload your images to their servers. Here, every step happens inside your browser tab, so private photos, scans and screenshots never leave your computer or phone. To inspect or remove camera and GPS metadata without re-encoding the image, use the EXIF viewer. You can check this yourself: disconnect from the internet after the page loads, and the tool still works.

Frequently asked questions

Are my images uploaded to a server?

No. Compression runs in your browser with its built-in image encoders. Your files never leave your device, and the page keeps working offline once it has loaded.

How much smaller will my images get?

Photos straight from a phone or camera often shrink by half or more at quality 80, with no difference you can see. Images that were already compressed shrink less. If a file would get bigger, the tool keeps your original.

Is transparency kept in PNG files?

Yes. PNG files are reduced to a palette of up to 256 colors, which is how most PNG compressors work. Logos, icons and screenshots usually look identical. Photos saved as PNG may show slight banding; JPG or WebP suits them better.

Is location data removed from photos?

Yes, for every image the tool re-encodes. Re-encoding drops EXIF metadata such as GPS location, camera model and capture date, and rotation is applied to the pixels first, so photos stay upright. When a file is already so well optimized that the tool keeps your original, that file is returned unchanged, metadata included.

What happens to GIF, BMP and AVIF files?

With Same format, GIF files are returned unchanged, because re-encoding them would keep only the first frame. BMP and AVIF files are saved as JPG, or PNG if they have transparency, and the original is kept if the new file isn't smaller.

Is there a limit on how many images I can compress?

No. There is no daily limit or set number of images. The work happens on your device, so very large files or batches depend on its memory and speed.

Which browsers work?

Current versions of Chrome, Edge, Firefox and Safari. If your browser can't save WebP files, the tool saves JPG or PNG instead and tells you.

Last updated November 6, 2026