MyToolsBay
Image tool

Compress Image Online

Reduce JPG, PNG, or WebP image size with adjustable quality and optional format conversion — without uploading the image.

IMG

Drop an image here

JPG, PNG, or WebP up to 25 MB. Processing stays in your browser.

What this image compressor does

This tool decodes your image, redraws it on a canvas, and re-encodes it at the quality level you choose. You can keep the original format or switch between JPG, PNG, and WebP output. The whole process happens in your browser, so the image is never uploaded.

Because the image is re-encoded, the result is a new file. EXIF data such as camera settings and location is not carried over, which also removes personal metadata from photos you plan to share.

When compressing an image helps

  • A marketplace, job portal, or form rejects your file for exceeding a size limit.
  • You want faster page loads for a website, blog, or online store.
  • You are attaching photos to email and want the message to send quickly.
  • You need to fit several images into a shared drive or chat upload limit.
  • You are preparing images for social posts where a slightly smaller file is invisible to viewers.

Quality settings in practice

QualityTypical resultGood for
90–95%Barely visible difference from the originalPhotos you may still print or zoom into
75–85%Small, subtle softening in fine detailMost web images, blogs, and listings
50–70%Noticeable softening and some artifactsThumbnails, previews, and strict size limits

Why some images barely shrink

How much you save depends more on the source file than on the slider. A photo exported straight from a camera usually drops dramatically. A file that was already compressed by another tool has very little left to remove.

  • PNG is lossless, so re-encoding it as PNG often changes little. Converting a photo to JPG or WebP usually saves far more.
  • Small images and logos with flat colors may compress poorly or even grow.
  • Screenshots compress well as PNG but can lose crisp text edges as JPG.

Transparency and format changes

The tool paints a white background before drawing the image, so transparent areas become solid white — except when the input is a PNG and the output stays in the original PNG format, where transparency is kept. If you need transparency in the result, keep PNG to PNG and check the preview.

Limitations to know before you start

  • Compression does not change the image dimensions. Use the Image Resizer if you need a specific width or height.
  • Output quality cannot exceed the input; an already blurry photo stays blurry.
  • Very large images are limited by your device's memory.
  • There is one file per run, so you can check the quality of each result.

How to use it

  1. 1Choose an image or drag it into the upload area.
  2. 2Adjust quality to trade file size for image detail.
  3. 3Select an output format when you want to convert the image.
  4. 4Compress the image and download the result.

Features

  • ✓ Supports JPG, PNG, and WebP input.
  • ✓ Adjustable quality from 20% to 100%.
  • ✓ Optional JPG or WebP output.
  • ✓ Shows before and after sizes plus the percentage reduction.

Privacy

Files and text you enter are processed in your browser and are not uploaded to our servers. Our server records only an anonymous count that the tool was used — never your file or input. Read our Privacy Policy.

Frequently asked questions

Is my image uploaded?

No. The image is read from your device, redrawn on a canvas, and re-encoded inside your browser. No copy is sent to our servers.

What quality setting should I choose?

75–85% works for most web images and listings. Use 90–95% when you may print or zoom in, and 50–70% for thumbnails or strict upload limits.

Why did my PNG barely get smaller?

PNG is lossless, so re-encoding it as PNG removes very little. A photo saved as PNG can drop dramatically when you convert it to JPG or WebP.

Will a transparent image stay transparent?

Only when the input is a PNG and you keep the output in the original PNG format. Choosing JPG or WebP fills transparent areas with white.

Does compressing change the image dimensions?

No. The pixel dimensions stay the same — only the amount of data used per pixel changes. Use the Image Resizer if you need a specific width or height.

Does it remove photo metadata?

Yes. The image is re-encoded, so EXIF data such as camera settings and location coordinates is not carried into the result.

Is there a file size limit?

There is no server-side limit because nothing is uploaded. The practical limit is your device's available memory.

Can I compress several images at once?

The tool handles one image per run so you can check each result. Repeat the process for more images.

Related guides