Skip to content
AnyResizer

Compress image — free, instant, in your browser

Drag a quality slider, see the new file size live, download. JPG, PNG, WebP, AVIF, HEIC. Free, no signup.

Drop images to compress

JPG, PNG, WebP, AVIF, GIF, BMP · up to 50 files · 100 MB each

  • Free
  • Instant
  • No signup

Original and compressed, side by side

Drag the divider across the photo. Both sides are the same 1:1 crop: one from the original file, one from the file this tool made from it.

Rocky shore and trees reflected in a clear mountain lake, compressed file
Rocky shore and trees reflected in a clear mountain lake, original file
Original · 5.3 MBCompressed · 4.6 MB (−13%)
1:1 crop of a 6192 × 4128 JPEG file. Sizes are for the whole files. Compressed here with quality 80.

How to compress an image in three steps

  1. Drop your images

    One file or fifty. JPG, PNG, WebP, AVIF, GIF, BMP — all handled in the browser by ImageMagick WASM.

  2. Pick a quality and format

    Default quality 80 is the safe choice for photos. Format defaults to source — switch to WebP or AVIF for smaller files at the same quality.

  3. Apply and download

    Single image saves directly with a before/after compare slider. A batch arrives as a ZIP with consistent naming.

Features

Quality slider with live size preview

Drag from 1 to 100. The stats bar updates with the new file size and savings percent. No apply button to click before you can see the result.

Modern formats — WebP, AVIF, plus the classics

Output to JPG, PNG, WebP, or AVIF. WebP saves 25–40% over JPG at the same quality. AVIF saves 40–60%. PNG stays lossless.

Batch compress — 50 files, one ZIP

Drop up to fifty images. One quality, one format, applies to all. Per-file progress visible, ZIP downloads when done.

Reasons people compress images

Email attachment under the 25 MB ceiling

Gmail, Outlook, and most corporate mail servers cap attachments at 25 MB. A camera-roll dump can blow past that fast. Compress to fit and send.

Speed up an image-heavy webpage

Page weight is the biggest single factor in load time. Compress a folder of hero images and watch your Lighthouse score climb.

Shrink iPhone HEIC for Slack or Discord

iPhone photos in HEIC can be 5 MB each. Compress to WebP and they drop to 500 KB without anyone noticing the difference.

Cloud backup of a camera folder

Free cloud tiers fill up fast on raw camera shots. Compress before backup to keep more photos in the same space.

WhatsApp without the quality drop

WhatsApp auto-compresses, often poorly. Pre-compress yourself to a smaller size at quality 90 and the recipient sees a much better photo.

Marketplace upload limit headache

Etsy, eBay, marketplaces have per-image and total upload limits. Compress your product folder once, upload all the listings.

A work laptop that blocks installers

Corporate machines often refuse anything you try to install, which rules out desktop compressors entirely. A web page asks for no such permission — open the tab, squeeze the image the deadline needs, and carry on without filing an IT ticket.

A school or managed Chromebook

Chromebooks handed out by a class or a district run web pages and little else, with no .exe and often a curated store. This tool is just a URL, so a student can shrink a project image for an assignment portal without any admin unlocking anything.

A borrowed, library, or public computer

On a machine that is not yours, installing software is off the table and probably against the rules. A browser tab leaves no program behind — compress what you came to compress, close the tab, and the computer is as you found it.

Built for fast pages and small attachments

  • Compression starts the moment you drop your files
  • Before/after compare slider so you confirm quality before download
  • Per-file savings percent in batch queue — see exactly what you got
  • Output format picker including WebP and AVIF — modern formats first-class

Smaller files, fewer headaches

Bigger image files cost slow pages, slow uploads, and bounced emails. Compression trades quality for bytes — a small amount of perceptual quality you almost never notice for a large amount of saved kilobytes. The trick is finding the sweet spot. Quality 80 on JPG is the default for a reason: it saves 40–70% of the bytes while looking visually identical to the original on most photos.

This compressor runs ImageMagick inside your browser via WebAssembly. The same engine used in professional pipelines, exposed through a single quality slider and a format picker. Drag the slider, watch the new file size update live in the stats bar. Drag the before/after divider to confirm the quality before downloading.

For batches — a folder of camera photos, a backlog of product shots, the output of a screenshot session — drop them all. The same quality and format apply to every file. Per-item progress shows in the queue. The result is a single ZIP. One bad file does not abort the queue; errors are isolated per item.

Tips for smarter compression

  1. Tip 1:

    Quality 80 on JPG is invisible to the eye on most photos and saves 40–70% bytes. Quality 70 is fine for thumbnails. Below 60 starts to show on close inspection.

  2. Tip 2:

    PNG with photos — switch to WebP or JPG. PNG is for graphics with sharp edges and limited color palettes. Photos compress 5–10× better as WebP.

  3. Tip 3:

    AVIF is the smallest output but the slowest to encode and not supported in older browsers. Use WebP for safer compatibility; use AVIF when bandwidth matters more than encode time.

  4. Tip 4:

    Quality 100 with a re-encode can produce a larger file than the original because of format overhead. Use the slider — quality 90–95 is the realistic max for most use cases.

  5. Tip 5:

    Compress the original, not a previously compressed file. Repeated compression compounds artifacts. Keep originals around and compress from them each time.

  6. Tip 6:

    Save this page to your home screen or bookmarks. Because it is only a web address, the same shortcut works on the next device you pick up, with no reinstall.

Compress image — frequently asked

How do I compress an image without losing quality?

Lossless compression is possible for PNG and WebP — pick those formats and the result is byte-for-byte identical to the source decoded. For JPG, all compression is technically lossy, but at quality 80–90 the loss is imperceptible to the eye on photos. For pure lossless, output to PNG.

Is image compression safe? Will I lose detail?

Compression at quality 80+ is visually safe on photos for general web and email use. Below quality 70 you start to see blocking and ringing artifacts in detailed areas like hair, foliage, or text. The compare slider lets you check before downloading.

What's the best image compressor for the web?

For maximum savings, AVIF beats WebP beats JPG beats PNG at equivalent visual quality. For broad browser support, WebP is the safer modern pick. For photos that need to share everywhere, JPG quality 80 remains the reliable default.

Can I compress a HEIC photo from iPhone?

Yes. HEIC is decoded in the browser by ImageMagick and re-encoded to whatever format you pick. The default source-format passthrough keeps it as HEIC if your browser supports HEIC output; pick JPG or WebP for universal compatibility.

Will my images be uploaded to a server?

No. The compression runs ImageMagick inside your browser via WebAssembly. Open DevTools and watch the Network tab — there is no outbound image request when you compress. The file never leaves your device.

How small can I compress an image?

Depends on input size, format, and chosen quality. A 5 MB JPG photo can drop to 500 KB at quality 80 with WebP output — a 90% reduction. A 100 KB icon-style PNG might only save 10–20%. The savings percent in the stats bar shows the actual result.

Why is my compressed file larger than the original?

Two common causes. First, quality 100 with a re-encode adds format overhead — drop to quality 90 or 95. Second, the source was already heavily compressed; the new encoder cannot reduce further without quality loss. Pick a different format or accept the source as-is.

Does this tool work on iPhone Safari and Android?

Yes. ImageMagick WASM ships in all modern mobile browsers. iPhone Safari and Android Chrome are tested and supported. Larger images on older mobile devices may take a few seconds to encode; the progress indicator surfaces the wait.

Do I need to install an app or create an account?

Neither. There is no software to download, no browser extension, and no sign-up or email step. You open the address, drop an image, and the tool is ready — that is the entire setup, on any device.

Which image formats can I compress?

Any common raster image — JPG and JPEG, PNG, WebP, AVIF, GIF, and BMP. There is no format gate before you begin; drop whatever you have and it is kept in its original format unless you choose a different one from the output menu.

Can I compress several images online at once?

Yes. Drop up to 50 files together, apply one quality to the whole set, and download them as a single ZIP. If your work is regularly larger batches, the Bulk image compressor is built specifically around that workflow.

Can I compress an image online to an exact size like 100 KB?

This page is quality-first — you choose the look and it reports the size that results. When a form insists on a hard ceiling such as 100 KB or 200 KB, use AnyResizer's Resize image to KB tool, which automatically tunes the settings until the file lands under your number.

Got an image to shrink?

Drop it now. Slide the quality. Download in seconds.