Image compressor

Drop in one or more JPEG, PNG or WebP images to make them smaller. Pick the output format and quality, and optionally a maximum width or height. You see the size before and after for each file, then download them one by one or all together. Your images never leave your device.

Free, no sign-up Runs in your browser

Images and settings

Results

No images yet. Everything stays on your device.

How to compress an image

  1. Add your images. Drag them onto the box, or click it to choose files. You can add many at once.
  2. Choose the format. "Keep original" re-encodes each file in its own format. WebP usually gives the smallest files.
  3. Set the quality. 80 is a good start for photos. Lower it until you can see a difference, then go back up a step.
  4. Resize if needed. A phone photo can be 4,000 px or more across, but most web pages and emails need 1,000 to 2,000 px. Resizing saves far more than lowering the quality.
  5. Download. Download each file, or click "Download all". Your browser may ask once to allow several downloads.

JPEG vs PNG vs WebP

FormatCompressionTransparencyBest for
JPEGLossyNoPhotos. Supported everywhere, including old software and printers.
PNGLosslessYesScreenshots, logos, text and flat graphics with sharp edges.
WebPLossy or losslessYesWebsites. Often smaller than JPEG at similar quality, and works in current browsers.

When you convert a transparent PNG to JPEG, the transparent areas become white, because JPEG has no transparency.

Which quality setting should I use?

QualityUse it for
90–100Archiving and print. Files stay large.
75–85Websites, email and documents. Most people can't see a difference from the original.
50–70Thumbnails and previews, or when a strict size limit applies.
Below 50Only when size matters most. Blocky patches and blurred edges become visible.

Need a file under a limit, such as 200 KB for an application form? Set a max width of about 1200 px and quality 75, then lower the quality step by step if it's still too big.

If a compressed file comes out larger than the original, the tool keeps the original and tells you. This happens with images that were already well compressed. When you ask for a different format, you get the converted file even if it's larger, and the tool flags it.

Private by design: nothing is uploaded

Most online compressors upload your photos to their servers. This one doesn't. Your browser decodes each image, draws it onto a canvas and encodes it again, all on your device. It works offline once the page has loaded.

Re-encoding also removes metadata such as EXIF. Phone photos often store the GPS location where they were taken, the camera model and the date. The compressed copy keeps none of it, which makes it safer to share online. Orientation is applied first, so photos stay the right way up.

One side effect: embedded colour profiles are not kept either. Most photos use the standard sRGB colours and look the same. Photos from some cameras with a wide colour profile may look slightly less vivid.

Tips

  • Resize first, then compress. Halving the width and height cuts the number of pixels by three quarters.
  • Use PNG or lossless formats for screenshots with text. JPEG blurs sharp text edges.
  • Keep your originals. Every lossy save loses a little more detail.
  • Adding a logo to an invoice? A small compressed PNG keeps the PDF light. Try it in the invoice generator.

Frequently asked questions

Are my images uploaded to a server?
No. Compression happens in your browser using the canvas built into it. The images never leave your device, and the tool works offline once the page has loaded.
Does compression remove EXIF and location data?
Yes. The image is re-encoded from its pixels, so EXIF data such as GPS location, camera model and date is not copied to the compressed file.
Why is my compressed PNG not much smaller?
PNG is lossless, so the browser can't throw away detail to save space. For photos, convert to JPEG or WebP. For graphics, reduce the dimensions.
Why did the tool keep my original file?
When the re-encoded file is bigger than the original in the same format, the original is kept, because it was already well compressed. Try a lower quality or a smaller max size.
Can I compress HEIC photos from an iPhone?
Not directly; most browsers can't decode HEIC. On the iPhone, sharing or exporting a photo usually offers JPEG. You can also set the camera to "Most Compatible" in Settings, then compress the JPEG here.

Last updated . How we check our tools.