UBUseBrowserTools

Image Compressor

Compress JPG, PNG and WebP images in your browser. Adjust quality, optionally resize large images, quickly compare file sizes and download a smaller copy free.

100% private — runs in your browser, nothing is uploaded

Choose an image or drag it here

JPG, PNG or WebP up to 30 MB

Compression runs only in your browser. Your image is never uploaded to a server.

What does an image compressor do?

An image compressor creates a smaller image file that is easier to upload, email or publish online. It can reduce size by using a more efficient format, lowering image quality slightly or scaling down dimensions that are larger than you need. This tool compresses JPG, PNG and WebP files locally in your browser and gives you a separate file to download.

Upload an image, choose an output format and set a quality level. You can also add a maximum width to reduce very large photos proportionally before they are encoded. After compression, the tool shows the original and new file sizes so you can decide whether the result is suitable. The source image on your device is never changed.

How to compress an image

  • Upload a JPG, PNG or WebP file.
  • Leave output on Auto, or choose JPG, WebP or PNG yourself.
  • Adjust quality for JPG and WebP; lower percentages generally create smaller files.
  • Optionally set a maximum width for oversized photos.
  • Compress, compare the file sizes and download the copy you prefer.

For photographs, JPG or WebP at a quality around 75 to 85 often offers a useful balance of detail and file size. For screenshots, logos or graphics with text, WebP can be efficient while PNG preserves crisp edges and transparency. PNG output is lossless, so its quality slider is intentionally unavailable and savings may be limited.

Choosing a format

The Auto choice keeps JPG images as JPG and uses WebP for other supported uploads. This often avoids unnecessary format decisions while allowing a PNG or WebP to become smaller. Choose JPG for broadly compatible photo uploads. Choose WebP for a modern web format that can preserve transparency. Choose PNG when sharp, lossless graphics or transparent backgrounds matter more than file size.

Why compress in the browser?

Local compression is fast because the image does not need to be uploaded and downloaded from a remote service. It also keeps private photos, document scans and client assets on your device. Compression can sometimes produce a larger file, especially when the original is already optimized or you choose a lossless format. Always compare the displayed sizes, and keep your original file until you have confirmed that the compressed version looks right and meets the destination's requirements.

Frequently asked questions

Will image compression reduce quality?

JPG and WebP compression can discard some detail to reduce size. Moderate settings often look very similar to the original, but lower quality values create more visible changes.

Why is my compressed image larger?

An already optimized image or a lossless PNG may not shrink further. A format change can also add overhead, so compare the displayed sizes before downloading.

What quality should I use?

For most photos, start around 75–85%. Lower it when file size is more important, or raise it when fine detail needs to be preserved.

Are images uploaded during compression?

No. Canvas compression runs in your browser and the image stays on your device throughout the process.

Related guides

Related tools