Compress Image

Shrink a JPG, PNG or WebP right in your browser — for email, web pages, WhatsApp, or stubborn upload limits. Pick a quality preset, optionally cap the dimensions, and download. Your image never leaves your device.

Compress Image

🖼️
Drop an image here or click to pick
JPG, PNG, WebP, AVIF, GIF, BMP · nothing gets uploaded
Pick an image to start.
✓ Compression done
Compressed image preview
Original—
→
Compressed—
—

How it works

  1. Drop or pick your image. It stays on your device — nothing is uploaded.
  2. Choose a preset: Light keeps near-original quality, Balanced is the sweet-spot for sharing, Smallest squeezes every last kilobyte.
  3. Optionally cap the dimensions. Most phone photos are 4000+ px wide — capping the longest edge at 1920 px is invisible on screen and is usually the single biggest saving.
  4. Click Compress. Your browser redraws the image on a canvas at the target size and re-encodes it at the preset’s quality. Check the before/after sizes, then download.

Which preset should I pick?

PresetQualityBest for
Light85%Portfolio shots, print-adjacent use, anything where quality is the point. Modest 30–50% savings.
Balanced (recommended)70%Email, web pages, listings, everyday sharing. 50–80% savings with no visible difference at normal zoom.
Smallest50%Fitting a hard upload limit, chat apps, quick previews. 80%+ savings possible — fine detail goes softer.

Presets set the lossy encoder quality for JPG and WebP output. PNG output is lossless, so the preset doesn’t apply — only downscaling shrinks a PNG here.

What savings to expect

  • Phone photos. The biggest winners. A 12 MP photo straight off the camera is often 3–6 MB; at Balanced with a 1920 px cap it typically lands around 200–500 KB — 85–95% smaller.
  • Screenshots. Usually saved as PNG, which is a poor fit for photographic content. Converting to JPG or WebP at Balanced commonly saves 40–70%.
  • PNG graphics (logos, charts, UI mockups). Flat-colour art is where PNG shines. Auto picks WebP when there’s transparency, which usually still beats PNG by 20–50%. Keeping PNG output only pays off after a downscale.
  • Already-compressed images. A JPG that went through WhatsApp or a web export was already squeezed hard. Savings can be small — and re-encoding may occasionally come out larger. The tool tells you when that happens.

Privacy & how your data is handled

  • Nothing is uploaded. The tool runs 100% inside your browser tab using the built-in canvas API.
  • Nothing is stored. When you close the tab or refresh, the image is gone from memory.
  • Nothing is logged. No network calls during processing — you can disconnect Wi-Fi after loading the page and the tool still works.
  • No libraries, no trackers. Pure browser-native JavaScript. There isn’t even a third-party library that could phone home.

Trade-offs to know

  • Metadata is stripped. Re-encoding drops EXIF data — GPS location, camera model, timestamps. For sharing online that’s usually a privacy feature, but keep the original if you need the metadata.
  • Lossy means lossy. JPG and WebP output discards fine detail you mostly can’t see. Don’t re-compress the same image repeatedly — always go back to the original for another pass.
  • Animated GIFs lose animation. Only the first frame is kept. Animated inputs come out as a single still image.
  • WebP output needs a modern browser. Nearly every browser since 2020 can write WebP. On the rare one that can’t (older Safari), the tool automatically falls back to JPG and tells you.

FAQ

Is my image uploaded anywhere?

No. The whole tool runs inside your browser tab. Your image is read from your device, re-encoded in JavaScript on a canvas, and returned as a download — nothing is transmitted to any server. You can disconnect Wi-Fi after the page loads and it still works.

How much smaller will my photo get?

Straight-off-the-phone photos typically shrink 60–90% at the Balanced preset, especially combined with a max-dimensions cap like 1920 px. Screenshots shrink 40–70%. Images that already went through heavy compression (WhatsApp forwards, web downloads) may only shrink a little — and the tool tells you if there’s no reduction.

Which output format should I pick?

Leave it on Auto. Auto picks WebP when the image has transparency and JPG otherwise — the best size-for-quality choice in nearly every case. Pick PNG only when you need a lossless, pixel-exact copy; note that PNG output often doesn’t shrink unless you also downscale.

Why didn’t my PNG get smaller?

If you chose PNG as the output, the re-encode is lossless — there’s nothing to throw away, so the file only shrinks if you downscale. Switch the output to Auto or WebP: for graphics with transparency, WebP is typically 20–50% smaller than PNG at visually identical quality.

Does compressing reduce quality?

Light and Balanced are designed to be visually indistinguishable at normal viewing size — the discarded detail is mostly noise your eye can’t resolve. Smallest is visibly softer on fine texture and text. If you’re unsure, start at Balanced and compare the preview against your original.

Can I compress multiple images at once?

This tool handles one image at a time, so you can check the result before downloading. For batches, run images through one after another — each takes a second or two. A batch mode may come later.

Does it work on iPhone HEIC photos?

If your browser can display the file, the tool can compress it — Safari on iPhone handles HEIC natively, and iOS usually converts to JPG when you pick from the photo library anyway. If the file can’t be decoded, you’ll see a clear error rather than a broken download.

Related tools