Image Compressor & Resizer

Shrink JPG, PNG and WebP images with a quality slider. Up to 10 at once.

Images are processed by your browser with the Canvas API; this page has no upload code. Re-encoding can slightly change colours, and metadata such as camera details is dropped.

About this tool

Large photos are slow to upload, hard to email and often rejected by forms that limit file size. This tool makes them smaller without installing anything. Choose up to ten images, pick an output format, move the quality slider and optionally set a maximum width or height. The tool re-encodes each image in your browser with the Canvas API and shows the size before and after, with the percentage saved, so you can see what each setting costs. JPG and WebP are lossy: a lower quality gives a smaller file with some loss of detail. PNG is lossless, so the quality slider does not apply, and shrinking the pixel dimensions is the way to make PNG files smaller. Transparent areas become white when you save as JPG. Each result has its own download button. The page has no upload code, so choosing a file does not send it anywhere.

How to use it

  1. Choose up to ten images with the file picker.
  2. Pick the output format: JPG, PNG or WebP.
  3. Move the quality slider. Around 70 to 80 percent is a common balance for photos.
  4. Optionally set a maximum width or height in pixels to shrink the image dimensions.
  5. Press Compress, check the sizes and download each result.

How it works

Each image is decoded, drawn onto a canvas at the new size (the original size scaled down to fit your maximums, never scaled up), then encoded again with canvas.toBlob using the chosen format and quality. File size mostly depends on the pixel count and, for JPG and WebP, the quality value.

Example: A 4000 x 3000 pixel phone photo of about 4 MB, saved as JPG at 70 percent quality with a maximum width of 1600 pixels, typically becomes a file of a few hundred kilobytes. Exact numbers depend on the picture, and the tool shows the real sizes.

Common uses

  • Reducing a photo to fit a government or college form that limits uploads to 200 KB or 1 MB.
  • Making images small enough to send on WhatsApp or email without heavy quality loss.
  • Preparing lighter images for a website or a blog post.

Frequently asked questions

Are my images uploaded?
No. The page has no code that sends your images anywhere. They are decoded and re-encoded by your browser.
Why did my PNG not get smaller?
PNG is lossless, so the quality slider is not used. Set a smaller maximum width or height, or save as JPG or WebP if the image has no transparency.
What happens to transparent PNGs saved as JPG?
JPG has no transparency, so transparent areas are filled with white.
Is metadata kept?
No. Re-encoding drops details such as camera model and location, which also helps privacy.
Is there a ZIP download?
Not in this version. Each compressed image has its own download button.

Last reviewed 2026-11-01. Browse all tools