Compress image

Make photos and pictures smaller for upload limits, with a quality level or a size in KB or MB to fit under.

Runs on your device. Your files never leave it.

Loading the tool…
How it works & limits

Your browser decodes each image and saves it again with the encoders from the Image converter (MozJPEG, libwebp and OxiPNG), in a background thread on your device. HEIC photos are decoded with libheif and libde265 (LGPL), downloaded the first time you add one, and saved as JPEG, or WebP if they have transparency. With Fit to size, it tries quality levels until it finds the highest one under your limit, and if even a low quality is too large, it reduces the width and height as little as it can. If your original is already smaller, you keep the original. Nothing is uploaded.

Limits

  • JPEG and WebP compression loses some detail. Fit to size keeps as much as your limit allows.
  • PNG is lossless, so a PNG only gets smaller by reducing its width and height. Choose JPEG or WebP for photos.
  • JPEG has no transparency, so transparent areas become white.
  • Animated GIF, WebP and PNG files become a single still image (the first frame).
  • HEIC is already very efficient, so a HEIC photo saved as JPEG or WebP at High quality can come out larger. Use Balanced, Smallest or Fit to size.
  • Sizes use 1 KB = 1,000 bytes and 1 MB = 1,000,000 bytes, so the result passes limits that count either way.
  • Photo details (EXIF), such as location, are removed unless you choose to keep them. Kept details count towards the size.
  • Images over 100 megapixels are refused, and phones may run out of memory before that.

Extra downloads

  • HEIC decoder, 1.5 MB (only if you add a HEIC photo)

Found in