Open ToolsGet the Android App

Files never leave your device.

Image Compressor: Compress JPG, PNG & WebP

A free image compressor that shrinks JPG, PNG, WebP and AVIF files without visible quality loss. Set a quality or an exact target size, optionally switch to WebP or AVIF, and check the result with a before/after slider. Batches of any size are compressed by your browser with MozJPEG, OxiPNG and other WebAssembly encoders; nothing is uploaded.

  • Runs on your device
  • WASM codecs
  • Canvas · GPU
  • Works offline

Updated

Drop your images here

JPGPNGWEBPHEICAVIFGIF
Processed on your device — never uploaded0 bytes uploaded

How to compress an image

  1. Step 1: Drop your images on the box above. There is no limit on how many.

  2. Step 2: Keep Compress by on Quality at 75%, or switch to Target size and type a KB limit.

  3. Step 3: Optional: change Output format to WebP or AVIF, or set a Max width, for bigger savings.

  4. Step 4: Press Compress, compare with the before/after slider and download the files or a ZIP.

Good to know

Settings explained

Quality
70–80% is visually lossless for most photos.
Target size
Finds the highest quality that fits. Photos with too much detail for the limit are scaled down just enough to stay sharp.
Output format
WebP and AVIF are typically 25–50% smaller than JPG at the same quality.
Keep metadata (EXIF)
Off removes camera details, dates and GPS location — safer when sharing. On keeps them.

Formats

Opens
JPGPNGWEBPAVIFHEICHEIFBMPTIFFICOSVGJXL
Saves as
JPG (MozJPEG)WebPAVIFPNG (OxiPNG)

Batch-friendly: add many files and they are processed one after another — if one fails, the rest still finish.

How it runs

WebAssembly codecs
Images are encoded with Squoosh-grade codecs (MozJPEG, WebP, AVIF, OxiPNG, JPEG XL). Each codec loads only when you use it.
GPU canvas
Pixels are drawn and composited with the GPU-accelerated canvas.

How much smaller will my images get?

A typical web or phone JPG shrinks by roughly half at the default 75% quality, and much more if you also reduce its pixel size. The table shows real results from this compressor. Note the second photo: it was already tightly compressed, so quality alone saved little, while capping the width at 1920 px saved 83%.

Real results from this image compressor
InputSettingResultSaved
1536 × 1024 photo, 337 KB JPGQuality 90%337 KB (original kept)0%
Same photoQuality 75% (default)185 KB45%
Same photoQuality 60%132 KB61%
Same photoQuality 40%92.1 KB73%
Same photoWebP at 75%165 KB51%
6000 × 4000 photo, 881 KB JPGQuality 75%809 KB8%
Same photoQuality 75%, max width 1920 px152 KB83%
Measured 14 October 2026 in Chrome. When a compressed copy would not be smaller, the original image data is kept and only its metadata removed.

How to reduce an image’s file size without losing quality

Use a quality between 70% and 80% for photos: the encoder removes detail the eye does not pick up, and side by side the result looks the same. Then check two cheaper wins. If the image is bigger than where it will be shown, lower Max width; pixels you do not need cost far more bytes than any quality setting. And leave Keep metadata (EXIF) off, which drops camera data and location.

For graphics that must stay pixel-perfect, compress them losslessly as PNG. The dedicated Compress PNG page offers a lossless setting and palette sizes for screenshots and logos.

The two ways to compress an image

Pick by what you know: a quality you are happy with, or a size you must not exceed.

By quality

One setting for the whole batch. 75% suits websites and sharing, 85–90% suits archiving, and below 60% fine texture starts to blur. PNG inputs use the same slider to choose between lossless (90% and up) and a reduced colour palette.

By target size

Type a limit in KB and each image gets the highest quality that fits, about 2% under the number. If even a low quality is too big, the photo is scaled down just enough to fit cleanly. For form uploads, the Compress Image to KB page adds exact pixel sizes.

JPG, WebP or AVIF: which gives the smallest images?

WebP and AVIF usually beat JPG at the same visual quality, so switching Output format is often the biggest saving after resizing. Be careful comparing percentages, though: 75% means something different to each encoder. In our test, WebP at 75% gave 165 KB against 185 KB for JPG, while AVIF at 75% gave 225 KB because that number is a high setting for AVIF; AVIF at 60% came to 166 KB.

Practical advice: use JPG when the file must open everywhere, WebP for websites and chat apps, and AVIF for websites whose visitors use current browsers. Compare with the slider and keep whichever looks right at the smallest size.

Output formats offered by the compressor
FormatEncoderGood forWatch out for
JPGMozJPEGPhotos that must open anywhereNo transparency
WebPlibwebp (WebAssembly)Websites, chat apps, transparencySome older apps refuse it
AVIFlibavif (WebAssembly)Smallest modern web imagesSlower to encode; limited app support
PNGOxiPNG + optional paletteScreenshots, logos, transparencyLarge for photos
Same as input—Keeping each file’s formatHEIC files are saved as JPG

What is the difference between lossy and lossless compression?

Lossy compression, used by JPG and lossy WebP or AVIF, permanently discards some image information to save a lot of space; the quality setting controls how much. Lossless compression, used by PNG and lossless WebP, stores exactly the same pixels in fewer bytes, which saves less. Re-saving a lossy file again and again adds up, so compress from the best original you have rather than from an already compressed copy.

Why compress images for your website?

Images are usually the heaviest part of a web page, and the largest one is often what visitors wait for before the page looks loaded. Smaller files arrive sooner, especially on mobile data, and cost less bandwidth for you and your visitors. A good routine: resize to the largest size the layout shows, compress to 70–80%, and serve WebP or AVIF where your site supports it.

Compress a photo on iPhone, Android or a computer

Everything runs in the browser, so the same page works on a phone and on a desktop.

iPhone and iPad

Open this page in Safari and tap the drop zone to pick photos from your library. HEIC photos are compressed to JPG, which every app and form accepts.

Android

In Chrome, tap the drop zone and select the photos. The compressed files are saved to Downloads.

Windows and Mac

Drag images from File Explorer or Finder onto the box. Very large batches are fine, since nothing has to be uploaded first.

Tips & troubleshooting

  • Uploading to a form that says “max 50 KB”? Use the compress image to 50KB page, which also sets exact pixel sizes.

  • Animated GIFs keep their animation here, but the GIF compressor gives you control over colours, frames and lossy settings.

  • Resizing is the strongest lever: a 24-megapixel photo for a blog post rarely needs more than 1920 px. The image resizer handles exact dimensions.

  • Compress once from the original. Running an already compressed JPG through again saves little and adds artefacts.

Image Compressor FAQ

How do I reduce an image’s file size without losing quality?

Compress at 70–80% quality, which looks identical to the original for most photos, and reduce the pixel size if the image is larger than it will be displayed. For pixel-perfect graphics, use lossless PNG compression.

How much smaller will my images get?

Typical photos shrink by around half at the default 75%. Our 337 KB test photo became 185 KB. Photos that are already heavily compressed save less, unless you also lower the maximum width.

Which format gives the smallest images: JPG, WebP or AVIF?

Usually AVIF, then WebP, then JPG at the same visual quality. The quality numbers are not comparable between formats, so compare the results with the before/after slider rather than by percentage.

How do I compress a photo on iPhone or Android?

Open this page in Safari or Chrome, tap the drop zone, choose the photos and press Compress. HEIC photos come out as JPG. Nothing is uploaded.

Is there a limit on the number or size of images?

No file count limit, no daily quota and no upload cap, because nothing is uploaded. Safari on iPhone and iPad lets a page edit images of up to about 16 megapixels, so bigger photos are compressed at that size there; computers handle about 100 megapixels.

Does the compressor remove EXIF data?

Yes, by default camera details and GPS location are removed. Turn on Keep metadata (EXIF) if you want to keep them.

Can I compress PNG files too?

Yes. PNGs are optimised with OxiPNG, losslessly at 90% and above or with a reduced colour palette below that. For PNG-only settings, use Compress PNG.

All image tools