Free Image Compressor Online
Compress JPG, PNG and WebP images online for free — right in your browser, with nothing uploaded anywhere. Pick a quality level, or set an exact target size like 100 KB and the compressor finds the best quality that fits under it. Batch up to 20 images, compare before and after side by side, resize by max width, and download everything individually or as one ZIP. Large images slow down websites, bloat emails and get rejected by forms with strict size caps — this image compressor fixes all three in seconds, while keeping your photos private on your own device.
Compression settings
80–85% is the sweet spot for photos. PNG is lossless, so the slider does not shrink PNGs — use Auto or WebP for those.
Auto tries JPG, WebP and keeps the smallest. Note: Auto may drop transparency — choose PNG to preserve it.
Resize oversized photos for the web (aspect ratio is always preserved).
Drop images here, click to browse, or paste (Ctrl/Cmd+V)
JPG, PNG, WebP, GIF (first frame), AVIF, BMP · Up to 20 images · 40 MB each · 100% private — nothing is uploaded
Your images never leave this device — compression runs entirely in your browser.
How to Use
- 1Add images — drag and drop, browse, or paste from your clipboard (Ctrl/Cmd+V). Up to 20 files, 40 MB each.
- 2Choose a mode: a quality slider for the size/quality balance, or an exact target size (20 KB, 50 KB, 100 KB, 200 KB, 500 KB, or your own value).
- 3Pick an output format: Auto (smallest) tries JPG, WebP and AVIF and keeps the smallest, or force JPG, PNG, WebP, or the original format. Optionally set a max width.
- 4Press Compress All. Compare original vs compressed with the slider, and fine-tune any single file with its own quality or target.
- 5Download files individually or grab the whole batch as one ZIP. EXIF and GPS metadata is stripped automatically.
Key Features
- ✓
Quality slider or exact target size
Slide quality from 10–100% for the classic size/quality balance, or set an exact target like 20 KB, 100 KB or 200 KB and the tool binary-searches the highest quality that fits under it.
- ✓
Batch up to 20 images + ZIP download
Drop a whole folder's worth of photos at once, watch total savings add up, and download everything as one ZIP — or grab files individually.
- ✓
Before/after compare slider
Drag the compare slider on any result to see the original and compressed image side by side, so you approve quality with your own eyes before downloading.
- ✓
Auto (smallest) format + per-file control
Auto mode encodes JPG, WebP and AVIF and keeps the smallest file for each image. Every file can also carry its own format, quality or target — plus a max-width resize.
- ✓
Clipboard paste + form-ready presets
Paste screenshots straight from your clipboard (Ctrl/Cmd+V). One-click presets for passport forms (20 KB), email (100 KB), web uploads (200 KB) and social posts (500 KB).
- ✓
100% private, EXIF stripped
Compression runs on your device with the Canvas API — images are never uploaded, nothing is stored, and EXIF/GPS metadata is stripped from every result automatically.
Frequently Asked Questions
Does compressing an image reduce its quality?
Why didn't my PNG get smaller?
How does 'compress to an exact size' work?
Are my images uploaded to a server?
What does 'Auto (smallest)' output do?
Can I compress an image to exactly 20 KB for a form?
Do animated GIFs stay animated?
What is image compression?
Image compression shrinks a photo's file size by removing data the eye barely notices — or, for lossless formats, by encoding the same pixels more efficiently. A 4 MB phone photo can usually become a 300–600 KB web image with no visible difference, which means pages load faster, emails send instantly, and uploads stop hitting size limits. This free image compressor online does the whole job in your browser: no uploads, no accounts, no watermarks.
Two kinds of compression matter here. Lossy compression (JPG, WebP, AVIF) discards fine detail in exchange for much smaller files — the quality slider controls how much. Lossless compression (PNG) keeps every pixel exactly but can only squeeze so far, which is why PNG photos barely shrink and should usually be converted to JPG or WebP for the web.
Which format should you choose?
| Format | Best for | Watch out for |
|---|---|---|
| JPG | Photos and screenshots — universal support everywhere. | No transparency; quality below ~70% shows artifacts. |
| PNG | Logos, icons and graphics needing transparency or crisp edges. | Photos stay large — it is lossless, so it cannot shrink like JPG. |
| WebP | Web images in general — typically 25–35% smaller than JPG at the same quality, with transparency support. | Very old software may not open it; JPG is still the safest fallback. |
| AVIF | Maximum compression for modern browsers — often smaller than WebP still. | Encoding support varies by browser; Auto mode only uses it when available. |
If you only need to change a file's format without compressing, the WebP to JPG converter handles that one job directly.
What quality setting should you use?
| Use case | Suggested setting | Why |
|---|---|---|
| Website hero / product photos | 80–85% WebP | Visually identical to the original, roughly half the bytes of JPG. |
| Blog and social images | 75–80% | Small files that still look crisp on phones and feeds. |
| Email attachments | Target 100 KB | Guaranteed to send without bouncing on mailbox limits. |
| Government / job forms | Target 20–200 KB | Forms reject oversized uploads — target mode lands just under the cap. |
| Archival / print | 95–100% or PNG | Keep maximum detail; accept the larger file. |
Why do some images barely shrink — or get bigger?
An already-optimized image (a photo exported from Lightroom at 80% quality, a screenshot saved by an app that already compressed it) has little redundancy left to remove — the compressor may only shave a few percent. And a re-encode can occasionally come out larger, for example when a small PNG is converted at high quality. This tool is honest about both cases: if the same-format result would be larger than the original, it keeps the original file and tells you, instead of handing you a worse file and calling it “compressed”.
Resizing is the other lever that always works: a 4000px-wide phone photo displayed at 1200px on a page carries four times the pixels it needs. Set a max width and the file size drops with the dimensions — combine it with WebP output and the savings compound. For precise crops before compressing, use the AI smart image cropper, and for stripping location data from photos you plan to share, the image metadata cleaner removes EXIF without touching pixels.
Compressing images for your website
Page speed is a ranking factor and a conversion factor: every extra megabyte of images delays first paint, hurts Core Web Vitals (especially Largest Contentful Paint), and costs mobile visitors data. The practical workflow is: resize to the display width, encode as WebP at 80–85%, and confirm with the compare slider that nothing visible was lost. For a full-page check afterwards, run the website health checker, and when a compressed image needs to go into a document, the image to PDF converter finishes the job. Browse the full image tools collection for the rest of the workflow.
Common mistakes to avoid
- Compressing PNG photos and expecting miracles. PNG is lossless — convert to JPG or WebP (or use Auto mode) for photos.
- Uploading 4000px images to a 1200px slot. Resize first; quality settings alone cannot fix oversized dimensions.
- Judging quality on a thumbnail. Use the compare slider at full size — artifacts hide in small previews and appear in print or zoom.
- Forgetting transparency. Auto mode may convert a transparent PNG to JPG (which has no transparency and fills it white). Choose PNG output when transparency matters.
- Sharing originals with EXIF intact. Phone photos carry GPS locations — this tool strips metadata on every encode, but check other tools you use do the same.
Related Tools You Might Like
Handy utilities in Image Tools
WebP to JPG Converter
Convert WebP images to high-quality JPG format online for free. Batch convert multiple files with custom quality controls. No uploads, 100% private.
Smart Image Cropper
Smart crop photos to any aspect ratio without cutting off the subject. Attention-based framing, face-aware in Chromium, batch mode & full-res exports. Free, in your browser.
AI Image Metadata Cleaner
Remove EXIF, GPS & camera metadata from photos free — inspect every tag first, then clean losslessly in your browser. No upload, 100% private.